Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001314/0.001315, allocations: 106.7 kB / 16.41 MB, free: 5.98 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001424/0.001424, allocations: 193.6 kB / 17.35 MB, free: 5.574 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.515/1.515, allocations: 222.9 MB / 241 MB, free: 15.06 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002391/0.00239, allocations: 288 kB / 291.5 MB, free: 14.43 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.022/1.022, allocations: 169.3 MB / 0.499 GB, free: 4.43 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002242/0.002243, allocations: 99.84 kB / 0.6821 GB, free: 6.938 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6572/0.6595, allocations: 86.98 MB / 0.767 GB, free: 3.883 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic): time 0.007181/0.6667, allocations: 4.348 MB / 0.7713 GB, free: 15.52 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.1844/0.8511, allocations: 150.6 MB / 0.9183 GB, free: 8.371 MB / 0.6856 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001132/0.8523, allocations: 15.94 kB / 0.9183 GB, free: 8.355 MB / 0.6856 GB Notification: Performance of NFTyping.typeComponents: time 0.0008937/0.8532, allocations: 174.3 kB / 0.9185 GB, free: 8.184 MB / 0.6856 GB Notification: Performance of NFTyping.typeBindings: time 0.002625/0.8559, allocations: 0.4991 MB / 0.919 GB, free: 7.684 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.002851/0.8587, allocations: 0.8141 MB / 0.9198 GB, free: 6.875 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.002408/0.8612, allocations: 1.293 MB / 0.921 GB, free: 5.574 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00149/0.8627, allocations: 0.614 MB / 0.9216 GB, free: 4.938 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001036/0.8637, allocations: 474.3 kB / 0.9221 GB, free: 4.473 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009849/0.8647, allocations: 493.8 kB / 0.9226 GB, free: 3.988 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004236/0.8651, allocations: 120 kB / 0.9227 GB, free: 3.871 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001452/0.8666, allocations: 483.6 kB / 0.9231 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005723/0.8672, allocations: 295.1 kB / 0.9234 GB, free: 3.109 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001032/0.8682, allocations: 0.5401 MB / 0.9239 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003189/0.8714, allocations: 1.595 MB / 0.9255 GB, free: 0.9688 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.8715, allocations: 3.938 kB / 0.9255 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.033e-06/0.8715, allocations: 0 / 0.9255 GB, free: 0.9648 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 7.72e-05/0.8715, allocations: 0 / 0.9255 GB, free: 0.9648 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 211 * Number of variables: 211 Notification: Performance of Generate backend data structure: time 0.004278/0.8758, allocations: 1.414 MB / 0.9269 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 5.245e-05/0.8759, allocations: 8.031 kB / 0.9269 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001283/0.8772, allocations: 183.4 kB / 0.9271 GB, free: 15.32 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.8789, allocations: 0.7462 MB / 0.9278 GB, free: 14.53 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.189e-05/0.879, allocations: 73.92 kB / 0.9279 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000186/0.8792, allocations: 76 kB / 0.9279 GB, free: 14.38 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001974/0.8812, allocations: 0.9106 MB / 0.9288 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.167e-05/0.8812, allocations: 4 kB / 0.9288 GB, free: 13.43 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.713e-05/0.8813, allocations: 35.98 kB / 0.9289 GB, free: 13.39 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.801e-05/0.8814, allocations: 24 kB / 0.9289 GB, free: 13.37 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00189/0.8833, allocations: 1.104 MB / 0.93 GB, free: 12.26 MB / 0.7012 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.004162/0.8874, allocations: 2.46 MB / 0.9324 GB, free: 9.73 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00151/0.889, allocations: 0.798 MB / 0.9331 GB, free: 8.93 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005207/0.8895, allocations: 306.6 kB / 0.9334 GB, free: 8.629 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 8.401e-05/0.8896, allocations: 28.69 kB / 0.9335 GB, free: 8.602 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008658/0.8905, allocations: 0.4912 MB / 0.9339 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=80): time 2.435e-06/0.8905, allocations: 0 / 0.9339 GB, free: 8.09 MB / 0.7012 GB Notification: Performance of matching and sorting (n=80): time 0.003245/0.8937, allocations: 1.182 MB / 0.9351 GB, free: 6.879 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001346/0.8939, allocations: 192.5 kB / 0.9353 GB, free: 6.648 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009387/0.8948, allocations: 0.6292 MB / 0.9359 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.718e-05/0.8949, allocations: 41.7 kB / 0.9359 GB, free: 5.969 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003498/0.8953, allocations: 400.3 kB / 0.9363 GB, free: 5.57 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002359/0.8955, allocations: 256.3 kB / 0.9366 GB, free: 5.316 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000303/0.8958, allocations: 166.5 kB / 0.9367 GB, free: 5.145 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001835/0.896, allocations: 386.7 kB / 0.9371 GB, free: 4.758 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005425/0.8966, allocations: 265.8 kB / 0.9373 GB, free: 4.5 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000658/0.8972, allocations: 363.1 kB / 0.9377 GB, free: 4.133 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001184/0.8984, allocations: 0.6033 MB / 0.9383 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.579e-06/0.8984, allocations: 0 / 0.9383 GB, free: 3.516 MB / 0.7012 GB Notification: Performance of matching and sorting (n=97) (initialization): time 0.002036/0.9005, allocations: 0.8526 MB / 0.9391 GB, free: 2.656 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.773e-05/0.9005, allocations: 4 kB / 0.9391 GB, free: 2.652 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.112e-05/0.9005, allocations: 7.938 kB / 0.9391 GB, free: 2.645 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006239/0.9012, allocations: 84.8 kB / 0.9392 GB, free: 2.559 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00067/0.9018, allocations: 163.7 kB / 0.9394 GB, free: 2.398 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002297/0.9042, allocations: 1.623 MB / 0.9409 GB, free: 0.6289 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007475/0.9049, allocations: 91.27 kB / 0.941 GB, free: 0.5391 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001027/0.905, allocations: 35.97 kB / 0.9411 GB, free: 0.5039 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 17 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,weaDat.decAng.tNext,$PRE.weaDat.decAng.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.locTim.tNext,$PRE.weaDat.locTim.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (95): * Single equations (assignments): 94 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.0004905/0.9055, allocations: 268.4 kB / 0.9413 GB, free: 240 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002114/0.9058, allocations: 87.11 kB / 0.9414 GB, free: 152 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00252/0.9083, allocations: 1.058 MB / 0.9424 GB, free: 15.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.978e-06/0.9083, allocations: 8 kB / 0.9425 GB, free: 15.06 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.793e-06/0.9083, allocations: 3.938 kB / 0.9425 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.093e-05/0.9083, allocations: 3.984 kB / 0.9425 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001195/0.9095, allocations: 0.8917 MB / 0.9433 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.906e-06/0.9095, allocations: 0 / 0.9433 GB, free: 14.11 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005982/0.9102, allocations: 143.8 kB / 0.9435 GB, free: 13.97 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004512/0.9106, allocations: 72.78 kB / 0.9435 GB, free: 13.89 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.392e-05/0.9107, allocations: 23.98 kB / 0.9436 GB, free: 13.87 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002055/0.9128, allocations: 1.666 MB / 0.9452 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.814e-06/0.9128, allocations: 0 / 0.9452 GB, free: 12.06 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002102/0.9149, allocations: 0.924 MB / 0.9461 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004773/0.9154, allocations: 263.7 kB / 0.9463 GB, free: 10.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001569/0.9156, allocations: 23.98 kB / 0.9464 GB, free: 10.81 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00067/0.9162, allocations: 63.88 kB / 0.9464 GB, free: 10.75 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001768/0.9164, allocations: 72.89 kB / 0.9465 GB, free: 10.68 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.553e-05/0.9165, allocations: 35.92 kB / 0.9465 GB, free: 10.64 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007441/0.9173, allocations: 459 kB / 0.947 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.8e-07/0.9173, allocations: 0 / 0.947 GB, free: 10.2 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001036/0.9183, allocations: 315.1 kB / 0.9473 GB, free: 9.895 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 5 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 5 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,3)} Notification: Performance of Backend phase and start with SimCode phase: time 0.001717/0.92, allocations: 0.6005 MB / 0.9479 GB, free: 9.473 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00195/0.922, allocations: 0.8234 MB / 0.9487 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.779e-06/0.922, allocations: 4.188 kB / 0.9487 GB, free: 8.633 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001029/0.9231, allocations: 0.5081 MB / 0.9492 GB, free: 8.109 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001349/0.9244, allocations: 289.7 kB / 0.9494 GB, free: 7.848 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004492/0.9289, allocations: 1.77 MB / 0.9512 GB, free: 6.043 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008383/0.9298, allocations: 1.023 MB / 0.9522 GB, free: 4.992 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003364/0.9301, allocations: 115.3 kB / 0.9523 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of SimCode: time 5.01e-07/0.9301, allocations: 0 / 0.9523 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of Templates: time 0.5003/1.43, allocations: 18.49 MB / 0.9703 GB, free: 182.5 MB / 0.7169 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.BaseClasses.Examples.DiffuseIsotropic.pipe 2>&1)