Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008962/0.0008962, allocations: 73.97 kB / 20.66 MB, free: 3.844 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009438/0.0009438, allocations: 169.4 kB / 24.06 MB, free: 456 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.006/1.006, allocations: 177.1 MB / 204.5 MB, free: 5.508 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002688/0.002688, allocations: 245.4 kB / 261.3 MB, free: 12.66 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.7012/0.7012, allocations: 138.4 MB / 456.3 MB, free: 1.418 MB / 362.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.132e-06/1.132e-06, allocations: 3.938 kB / 0.5563 GB, free: 268 kB / 474.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.248e-05/1.362e-05, allocations: 6.25 kB / 0.5563 GB, free: 260 kB / 474.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez): time 0.006522/0.006536, allocations: 7.837 MB / 0.564 GB, free: 8.375 MB / 490.7 MB Notification: Performance of NFInst.instExpressions: time 0.3259/0.3325, allocations: 145 MB / 0.7057 GB, free: 3.094 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0016/0.3341, allocations: 31.75 kB / 0.7057 GB, free: 3.062 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 0.0007941/0.3349, allocations: 331.4 kB / 0.706 GB, free: 2.738 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.00248/0.3374, allocations: 0.9179 MB / 0.7069 GB, free: 1.832 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 0.00262/0.34, allocations: 1.394 MB / 0.7083 GB, free: 472 kB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 0.003358/0.3433, allocations: 3.089 MB / 0.7113 GB, free: 13.36 MB / 0.5261 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001702/0.345, allocations: 0.975 MB / 0.7122 GB, free: 12.34 MB / 0.5261 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002612/0.3476, allocations: 1.879 MB / 0.7141 GB, free: 10.46 MB / 0.5261 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001314/0.349, allocations: 1.005 MB / 0.715 GB, free: 9.449 MB / 0.5261 GB Notification: Performance of NFPackage.collectConstants: time 0.0004447/0.3494, allocations: 308 kB / 0.7153 GB, free: 9.148 MB / 0.5261 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001168/0.3506, allocations: 0.6907 MB / 0.716 GB, free: 8.457 MB / 0.5261 GB Notification: Performance of NFScalarize.scalarize: time 0.0006059/0.3512, allocations: 0.6814 MB / 0.7167 GB, free: 7.773 MB / 0.5261 GB Notification: Performance of NFVerifyModel.verify: time 0.0008916/0.3521, allocations: 0.908 MB / 0.7176 GB, free: 6.863 MB / 0.5261 GB Notification: Performance of NFConvertDAE.convert: time 0.002958/0.355, allocations: 2.476 MB / 0.72 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 4.799e-06/0.355, allocations: 0 / 0.72 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of FrontEnd: time 1.433e-06/0.355, allocations: 0 / 0.72 GB, free: 4.379 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 2.895e-05/0.3551, allocations: 3.938 kB / 0.72 GB, free: 4.375 MB / 0.5261 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 578 * Number of variables: 578 Notification: Performance of Generate backend data structure: time 0.004995/0.3601, allocations: 2.935 MB / 0.7228 GB, free: 1.367 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 3.953e-05/0.3601, allocations: 8.75 kB / 0.7229 GB, free: 1.359 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.008122/0.3682, allocations: 2.159 MB / 0.725 GB, free: 15.19 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001957/0.3702, allocations: 1.221 MB / 0.7262 GB, free: 13.94 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001015/0.3703, allocations: 169.1 kB / 0.7263 GB, free: 13.77 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003356/0.3706, allocations: 227.9 kB / 0.7265 GB, free: 13.55 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003566/0.3742, allocations: 2.468 MB / 0.7289 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.345e-05/0.3742, allocations: 0 / 0.7289 GB, free: 10.93 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001864/0.3744, allocations: 92 kB / 0.729 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.268e-05/0.3744, allocations: 56 kB / 0.7291 GB, free: 10.79 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002149/0.3766, allocations: 1.696 MB / 0.7307 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.008051/0.3846, allocations: 5.428 MB / 0.736 GB, free: 3.582 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002277/0.3869, allocations: 1.44 MB / 0.7375 GB, free: 2.137 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007272/0.3876, allocations: 0.6113 MB / 0.738 GB, free: 1.52 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002875/0.3879, allocations: 122.1 kB / 0.7382 GB, free: 1.398 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001172/0.3891, allocations: 1.146 MB / 0.7393 GB, free: 212 kB / 0.5417 GB Notification: Performance of pre-optimization done (n=213): time 3.917e-06/0.3891, allocations: 0 / 0.7393 GB, free: 212 kB / 0.5417 GB Notification: Performance of matching and sorting (n=213): time 0.003537/0.3926, allocations: 2.107 MB / 0.7413 GB, free: 14.09 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.61e-05/0.3927, allocations: 201.9 kB / 0.7415 GB, free: 13.85 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006104/0.3933, allocations: 0.7253 MB / 0.7422 GB, free: 13.11 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001635/0.3935, allocations: 73.69 kB / 0.7423 GB, free: 13.04 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005879/0.3941, allocations: 0.8211 MB / 0.7431 GB, free: 12.2 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005354/0.3946, allocations: 0.7086 MB / 0.7438 GB, free: 11.49 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005789/0.3952, allocations: 408.8 kB / 0.7442 GB, free: 11.08 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.0001364/0.3953, allocations: 484.7 kB / 0.7447 GB, free: 10.61 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008266/0.3961, allocations: 427.6 kB / 0.7451 GB, free: 10.19 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009902/0.3971, allocations: 0.7572 MB / 0.7458 GB, free: 9.367 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001562/0.3987, allocations: 1.064 MB / 0.7468 GB, free: 8.277 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.756e-06/0.3987, allocations: 4 kB / 0.7468 GB, free: 8.273 MB / 0.5573 GB Notification: Performance of matching and sorting (n=241) (initialization): time 0.002647/0.4014, allocations: 1.59 MB / 0.7484 GB, free: 6.672 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 2.308e-05/0.4014, allocations: 10.34 kB / 0.7484 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.989e-06/0.4014, allocations: 0 / 0.7484 GB, free: 6.664 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004713/0.4019, allocations: 127.6 kB / 0.7485 GB, free: 6.535 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00166/0.4035, allocations: 0.5187 MB / 0.749 GB, free: 6.016 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.4049, allocations: 1.879 MB / 0.7509 GB, free: 4.02 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.4062, allocations: 244.8 kB / 0.7511 GB, free: 3.781 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001466/0.4064, allocations: 87.89 kB / 0.7512 GB, free: 3.695 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 26 (weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile,HDifWal.incAng.decAng.tNext,$PRE.HDifWal.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,$PRE.HDifFlo.incAng.decAng.tNext,HDifRoo.incAng.decAng.tNext,$PRE.HDifRoo.incAng.decAng.tNext,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,$whenCondition6,$whenCondition7,$whenCondition8) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (239): * Single equations (assignments): 238 * 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.0007201/0.4071, allocations: 268 kB / 0.7514 GB, free: 3.426 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004555/0.4076, allocations: 227 kB / 0.7517 GB, free: 3.203 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003244/0.4108, allocations: 2.156 MB / 0.7538 GB, free: 1.039 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.327e-05/0.4108, allocations: 24 kB / 0.7538 GB, free: 1.016 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.577e-06/0.4108, allocations: 0 / 0.7538 GB, free: 1.016 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.504e-05/0.4108, allocations: 11.95 kB / 0.7538 GB, free: 1.004 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001598/0.4124, allocations: 1.323 MB / 0.7551 GB, free: 15.66 MB / 0.573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.413e-05/0.4124, allocations: 0 / 0.7551 GB, free: 15.66 MB / 0.573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001408/0.4139, allocations: 491.3 kB / 0.7556 GB, free: 15.18 MB / 0.573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003787/0.4142, allocations: 115.6 kB / 0.7557 GB, free: 15.06 MB / 0.573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001478/0.4144, allocations: 75.91 kB / 0.7557 GB, free: 14.99 MB / 0.573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001128/0.4155, allocations: 1.895 MB / 0.7576 GB, free: 12.97 MB / 0.573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.4155, allocations: 2.938 kB / 0.7576 GB, free: 12.97 MB / 0.573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002549/0.4181, allocations: 1.746 MB / 0.7593 GB, free: 11.19 MB / 0.573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000623/0.4187, allocations: 456.1 kB / 0.7597 GB, free: 10.74 MB / 0.573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002297/0.4189, allocations: 59.81 kB / 0.7598 GB, free: 10.68 MB / 0.573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009592/0.4199, allocations: 147.9 kB / 0.7599 GB, free: 10.54 MB / 0.573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001905/0.4201, allocations: 153.7 kB / 0.7601 GB, free: 10.39 MB / 0.573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001344/0.4202, allocations: 79.91 kB / 0.7602 GB, free: 10.31 MB / 0.573 GB Notification: Performance of sorting global known variables: time 0.0003828/0.4206, allocations: 488.5 kB / 0.7606 GB, free: 9.824 MB / 0.573 GB Notification: Performance of sort global known variables: time 6e-08/0.4206, allocations: 0 / 0.7606 GB, free: 9.824 MB / 0.573 GB Notification: Performance of remove unused functions: time 0.001409/0.422, allocations: 0.7012 MB / 0.7613 GB, free: 9.121 MB / 0.573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 16 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDifRoo.incAng.decAng.tNext,HDifFlo.incAng.decAng.tNext,HDifWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (231): * Single equations (assignments): 222 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * 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.001374/0.4234, allocations: 0.6817 MB / 0.762 GB, free: 8.684 MB / 0.573 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.4256, allocations: 1.571 MB / 0.7635 GB, free: 7.094 MB / 0.573 GB Notification: Performance of simCode: created event and clocks part: time 3.567e-06/0.4256, allocations: 0 / 0.7635 GB, free: 7.094 MB / 0.573 GB Notification: Performance of simCode: created simulation system equations: time 0.001119/0.4267, allocations: 1.004 MB / 0.7645 GB, free: 6.07 MB / 0.573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001036/0.4277, allocations: 460.3 kB / 0.7649 GB, free: 5.656 MB / 0.573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004419/0.4321, allocations: 3.297 MB / 0.7681 GB, free: 2.309 MB / 0.573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002615/0.4324, allocations: 363 kB / 0.7685 GB, free: 1.926 MB / 0.573 GB Notification: Performance of simCode: alias equations: time 0.00177/0.4342, allocations: 0.4941 MB / 0.769 GB, free: 1.426 MB / 0.573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001333/0.4355, allocations: 0.5291 MB / 0.7695 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of SimCode: time 1.814e-06/0.4355, allocations: 0 / 0.7695 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of Templates: time 0.03947/0.475, allocations: 32.93 MB / 0.8017 GB, free: 308 kB / 0.6042 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez -abortSlowSimulation -alarm=240 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DiffusePerez.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.706845840904862]