Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.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.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009729/0.0009729, allocations: 91.12 kB / 15.06 MB, free: 1.078 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.001002/0.001002, allocations: 172.7 kB / 15.95 MB, free: 192 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.392/1.392, allocations: 223.3 MB / 240 MB, free: 5.375 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001743/0.001743, allocations: 258.6 kB / 291.3 MB, free: 1.938 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9423/0.9423, allocations: 169.5 MB / 0.5 GB, free: 14.22 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0006259/0.000626, allocations: 12.16 kB / 0.598 GB, free: 28.29 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1842/0.1849, allocations: 88.55 MB / 0.6845 GB, free: 15.5 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.005725/0.1906, allocations: 4.6 MB / 0.689 GB, free: 10.89 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4807/0.6713, allocations: 137.2 MB / 0.8229 GB, free: 228 kB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001043/0.6724, allocations: 21.81 kB / 0.8229 GB, free: 220 kB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0005429/0.673, allocations: 149.1 kB / 0.8231 GB, free: 144 kB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.001814/0.6748, allocations: 0.5203 MB / 0.8236 GB, free: 15.9 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002141/0.6769, allocations: 0.7522 MB / 0.8243 GB, free: 15.73 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001883/0.6788, allocations: 1.546 MB / 0.8258 GB, free: 15.45 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001227/0.6801, allocations: 0.9338 MB / 0.8267 GB, free: 15.25 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001008/0.6811, allocations: 492.1 kB / 0.8272 GB, free: 15.05 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007697/0.6819, allocations: 0.5365 MB / 0.8277 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.682, allocations: 36.94 kB / 0.8278 GB, free: 14.77 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009316/0.6829, allocations: 354.5 kB / 0.8281 GB, free: 14.68 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002692/0.6832, allocations: 258 kB / 0.8284 GB, free: 14.55 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0003236/0.6836, allocations: 296.5 kB / 0.8286 GB, free: 14.46 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001834/0.6854, allocations: 1.882 MB / 0.8305 GB, free: 13.32 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.224e-06/0.6854, allocations: 3.984 kB / 0.8305 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6854, allocations: 3.938 kB / 0.8305 GB, free: 13.31 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.999e-05/0.6855, allocations: 1.125 kB / 0.8305 GB, free: 13.31 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.003192/0.6887, allocations: 1.664 MB / 0.8321 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.207e-05/0.6887, allocations: 11.84 kB / 0.8321 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009631/0.6897, allocations: 268.2 kB / 0.8324 GB, free: 12.02 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00136/0.6911, allocations: 0.9378 MB / 0.8333 GB, free: 11.48 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001372/0.6912, allocations: 151.6 kB / 0.8334 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001732/0.6914, allocations: 150.4 kB / 0.8336 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002463/0.6939, allocations: 1.581 MB / 0.8351 GB, free: 10.96 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.838e-05/0.6939, allocations: 7.953 kB / 0.8351 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001185/0.694, allocations: 64.22 kB / 0.8352 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.667e-05/0.6941, allocations: 36.94 kB / 0.8352 GB, free: 10.95 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002339/0.6964, allocations: 1.592 MB / 0.8368 GB, free: 10.59 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006608/0.703, allocations: 4.296 MB / 0.841 GB, free: 8.082 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001787/0.7048, allocations: 1.089 MB / 0.842 GB, free: 7.527 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006842/0.7056, allocations: 432.9 kB / 0.8425 GB, free: 7.305 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001032/0.7057, allocations: 48.52 kB / 0.8425 GB, free: 7.277 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00118/0.7069, allocations: 0.6967 MB / 0.8432 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=111): time 3.116e-06/0.7069, allocations: 0 / 0.8432 GB, free: 6.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=111): time 0.003668/0.7106, allocations: 1.653 MB / 0.8448 GB, free: 5.961 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.000112/0.7107, allocations: 195.7 kB / 0.845 GB, free: 5.738 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001192/0.7119, allocations: 0.8358 MB / 0.8458 GB, free: 5.262 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001105/0.712, allocations: 54.09 kB / 0.8458 GB, free: 5.211 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004927/0.7125, allocations: 0.6129 MB / 0.8464 GB, free: 4.668 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002852/0.7128, allocations: 358.8 kB / 0.8468 GB, free: 4.355 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.977e-05/0.7129, allocations: 21.41 kB / 0.8468 GB, free: 4.34 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001262/0.713, allocations: 353.1 kB / 0.8471 GB, free: 4 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000672/0.7137, allocations: 393.8 kB / 0.8475 GB, free: 3.801 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007748/0.7145, allocations: 0.508 MB / 0.848 GB, free: 3.504 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007701/0.7152, allocations: 450.2 kB / 0.8484 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.98e-06/0.7153, allocations: 0 / 0.8484 GB, free: 3.277 MB / 0.5606 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002361/0.7176, allocations: 1.204 MB / 0.8496 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.092e-05/0.7177, allocations: 5.188 kB / 0.8496 GB, free: 2.66 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.955e-06/0.7177, allocations: 3.938 kB / 0.8496 GB, free: 2.656 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005134/0.7182, allocations: 91.62 kB / 0.8497 GB, free: 2.609 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008832/0.7191, allocations: 236.6 kB / 0.8499 GB, free: 2.547 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002009/0.7211, allocations: 1.546 MB / 0.8515 GB, free: 1.027 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/0.7222, allocations: 151.5 kB / 0.8516 GB, free: 0.9336 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.184e-05/0.7224, allocations: 50.42 kB / 0.8516 GB, free: 0.9141 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 26 ($whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,$PRE.weaDat.locTim.tNext,weaDat.locTim.tNext,$PRE.weaDat.conTimMin.tNext,weaDat.conTimMin.tNext,$PRE.weaDat.conTim.tNext,weaDat.conTim.tNext,$PRE.weaDat.eqnTim.tNext,weaDat.eqnTim.tNext,$PRE.weaDat.decAng.tNext,weaDat.decAng.tNext,$PRE.HDirRoo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext,weaDat.conTimMin.canRepeatWeatherFile,weaDat.conTim.canRepeatWeatherFile) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (135): * Single equations (assignments): 134 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 2} Notification: Performance of prepare postOptimizeDAE: time 0.0006698/0.723, allocations: 349.3 kB / 0.852 GB, free: 0.6562 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001653/0.7232, allocations: 109.5 kB / 0.8521 GB, free: 0.6016 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00305/0.7263, allocations: 1.553 MB / 0.8536 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.318e-05/0.7263, allocations: 13.81 kB / 0.8536 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.7263, allocations: 0 / 0.8536 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.415e-05/0.7263, allocations: 3.984 kB / 0.8536 GB, free: 15.71 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001631/0.728, allocations: 1.371 MB / 0.855 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.23e-06/0.728, allocations: 0 / 0.855 GB, free: 14.71 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007768/0.7288, allocations: 203.9 kB / 0.8552 GB, free: 14.66 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004587/0.7292, allocations: 87.2 kB / 0.8552 GB, free: 14.62 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.718e-05/0.7293, allocations: 31.97 kB / 0.8553 GB, free: 14.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001741/0.7311, allocations: 1.562 MB / 0.8568 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.413e-06/0.7311, allocations: 0 / 0.8568 GB, free: 13.07 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00243/0.7335, allocations: 1.285 MB / 0.858 GB, free: 12.39 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007015/0.7342, allocations: 386.8 kB / 0.8584 GB, free: 12.06 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001687/0.7344, allocations: 26.19 kB / 0.8584 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007783/0.7352, allocations: 104 kB / 0.8585 GB, free: 12 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002011/0.7354, allocations: 95.52 kB / 0.8586 GB, free: 11.95 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.517e-05/0.7355, allocations: 50.45 kB / 0.8587 GB, free: 11.93 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0008503/0.7364, allocations: 0.6122 MB / 0.8593 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.763e-06/0.7364, allocations: 0 / 0.8593 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.00114/0.7375, allocations: 457 kB / 0.8597 GB, free: 11.42 MB / 0.5762 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,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of discrete states: 8 (weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,HDirRoo.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,HDirWal.incAng.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (128): * Single equations (assignments): 119 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 8 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 3} Notification: Performance of Backend phase and start with SimCode phase: time 0.001297/0.7388, allocations: 0.6178 MB / 0.8603 GB, free: 11.11 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002116/0.741, allocations: 1.146 MB / 0.8614 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.2e-06/0.741, allocations: 0 / 0.8614 GB, free: 10.39 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001126/0.7421, allocations: 0.6818 MB / 0.8621 GB, free: 9.695 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00134/0.7435, allocations: 284 kB / 0.8624 GB, free: 9.418 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005248/0.7487, allocations: 3.231 MB / 0.8655 GB, free: 6.16 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007106/0.7494, allocations: 1.231 MB / 0.8667 GB, free: 4.898 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.00108/0.7505, allocations: 313.1 kB / 0.867 GB, free: 4.59 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003644/0.7509, allocations: 139.4 kB / 0.8672 GB, free: 4.457 MB / 0.5762 GB Notification: Performance of SimCode: time 8.11e-07/0.7509, allocations: 4 kB / 0.8672 GB, free: 4.453 MB / 0.5762 GB Notification: Performance of Templates: time 0.02991/0.7808, allocations: 17.98 MB / 0.8847 GB, free: 2.691 MB / 0.5919 GB make -j1 -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)