Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_3.0.0_Buildings.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/Buildings 12.0.0-master/package.mo", uses=false) Using package Buildings with version 12.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-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(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_3.0.0_Buildings.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.0008569/0.000857, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.005921/0.005922, allocations: 170.8 kB / 16.26 MB, free: 6.613 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.401/1.401, allocations: 223.3 MB / 240.3 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.0.0-master/package.mo): time 2.83/2.83, allocations: 473.4 MB / 0.7469 GB, free: 6.09 MB / 0.5919 GB Notification: Performance of FrontEnd - loaded program: time 0.0003697/0.0003698, allocations: 12.12 kB / 0.9158 GB, free: 33.18 MB / 0.7169 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3562/0.3565, allocations: 162.2 MB / 1.074 GB, free: 7.523 MB / 0.8262 GB Notification: Performance of NFInst.instantiate(Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.008133/0.3647, allocations: 6.539 MB / 1.081 GB, free: 0.957 MB / 0.8262 GB Notification: Performance of NFInst.instExpressions: time 0.1858/0.5506, allocations: 147.2 MB / 1.224 GB, free: 13.16 MB / 0.9825 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001762/0.5524, allocations: 23.88 kB / 1.224 GB, free: 13.14 MB / 0.9825 GB Notification: Performance of NFTyping.typeComponents: time 0.0008462/0.5533, allocations: 198.4 kB / 1.225 GB, free: 12.94 MB / 0.9825 GB Notification: Performance of NFTyping.typeBindings: time 0.002628/0.5559, allocations: 0.6637 MB / 1.225 GB, free: 12.28 MB / 0.9825 GB Notification: Performance of NFTyping.typeClassSections: time 0.002365/0.5583, allocations: 0.8867 MB / 1.226 GB, free: 11.4 MB / 0.9825 GB Notification: Performance of NFFlatten.flatten: time 0.002165/0.5604, allocations: 1.944 MB / 1.228 GB, free: 9.441 MB / 0.9825 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001402/0.5619, allocations: 1.04 MB / 1.229 GB, free: 8.352 MB / 0.9825 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009152/0.5628, allocations: 0.5519 MB / 1.229 GB, free: 7.797 MB / 0.9825 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009629/0.5638, allocations: 0.606 MB / 1.23 GB, free: 7.188 MB / 0.9825 GB Notification: Performance of NFPackage.collectConstants: time 0.0001266/0.5639, allocations: 36 kB / 1.23 GB, free: 7.152 MB / 0.9825 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001167/0.5651, allocations: 387.6 kB / 1.23 GB, free: 6.773 MB / 0.9825 GB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.5654, allocations: 266.6 kB / 1.231 GB, free: 6.512 MB / 0.9825 GB Notification: Performance of NFVerifyModel.verify: time 0.000782/0.5662, allocations: 0.7472 MB / 1.231 GB, free: 5.754 MB / 0.9825 GB Notification: Performance of NFConvertDAE.convert: time 0.002684/0.5689, allocations: 2.417 MB / 1.234 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of FrontEnd - DAE generated: time 7.554e-06/0.5689, allocations: 0 / 1.234 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of FrontEnd: time 2.084e-06/0.5689, allocations: 0 / 1.234 GB, free: 3.328 MB / 0.9825 GB Notification: Performance of Transformations before backend: time 2.892e-05/0.569, allocations: 0 / 1.234 GB, free: 3.328 MB / 0.9825 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.00376/0.5727, allocations: 1.699 MB / 1.235 GB, free: 1.57 MB / 0.9825 GB Notification: Performance of prepare preOptimizeDAE: time 4.926e-05/0.5728, allocations: 8.031 kB / 1.235 GB, free: 1.562 MB / 0.9825 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001024/0.5738, allocations: 274.5 kB / 1.236 GB, free: 1.293 MB / 0.9825 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00132/0.5751, allocations: 0.9656 MB / 1.237 GB, free: 292 kB / 0.9825 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001481/0.5753, allocations: 148.8 kB / 1.237 GB, free: 136 kB / 0.9825 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002044/0.5755, allocations: 148.1 kB / 1.237 GB, free: 15.98 MB / 0.9981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002705/0.5782, allocations: 1.6 MB / 1.239 GB, free: 14.33 MB / 0.9981 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.699e-05/0.5783, allocations: 7.938 kB / 1.239 GB, free: 14.32 MB / 0.9981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001339/0.5784, allocations: 67.97 kB / 1.239 GB, free: 14.25 MB / 0.9981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.041e-05/0.5785, allocations: 40 kB / 1.239 GB, free: 14.21 MB / 0.9981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002504/0.581, allocations: 1.596 MB / 1.24 GB, free: 12.61 MB / 0.9981 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.006844/0.5878, allocations: 4.775 MB / 1.245 GB, free: 7.652 MB / 0.9981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001923/0.5898, allocations: 1.104 MB / 1.246 GB, free: 6.539 MB / 0.9981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007381/0.5905, allocations: 431.7 kB / 1.246 GB, free: 6.113 MB / 0.9981 GB Notification: Performance of preOpt evalFunc (simulation): time 9.203e-05/0.5906, allocations: 49.06 kB / 1.246 GB, free: 6.066 MB / 0.9981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001123/0.5917, allocations: 0.7061 MB / 1.247 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of pre-optimization done (n=111): time 2.475e-06/0.5918, allocations: 0 / 1.247 GB, free: 5.344 MB / 0.9981 GB Notification: Performance of matching and sorting (n=111): time 0.00384/0.5956, allocations: 1.668 MB / 1.249 GB, free: 3.648 MB / 0.9981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001106/0.5957, allocations: 196.9 kB / 1.249 GB, free: 3.414 MB / 0.9981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001055/0.5968, allocations: 0.8453 MB / 1.25 GB, free: 2.559 MB / 0.9981 GB Notification: Performance of collectPreVariables (initialization): time 8.77e-05/0.5969, allocations: 45.7 kB / 1.25 GB, free: 2.508 MB / 0.9981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004429/0.5973, allocations: 0.6206 MB / 1.25 GB, free: 1.879 MB / 0.9981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002686/0.5976, allocations: 366.8 kB / 1.251 GB, free: 1.516 MB / 0.9981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000131/0.5978, allocations: 89.66 kB / 1.251 GB, free: 1.422 MB / 0.9981 GB Notification: Performance of setup shared object (initialization): time 0.0001523/0.5979, allocations: 345.9 kB / 1.251 GB, free: 1.078 MB / 0.9981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007202/0.5986, allocations: 406.4 kB / 1.252 GB, free: 0.6836 MB / 0.9981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008254/0.5995, allocations: 0.5188 MB / 1.252 GB, free: 148 kB / 0.9981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.7715/1.371, allocations: 0.8855 MB / 1.253 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.685e-06/1.371, allocations: 1.406 kB / 1.253 GB, free: 179.7 MB / 0.9981 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.003417/1.374, allocations: 1.218 MB / 1.254 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of prepare postOptimizeDAE: time 2.961e-05/1.375, allocations: 5.609 kB / 1.254 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.172e-05/1.375, allocations: 4.281 kB / 1.254 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006649/1.375, allocations: 85.91 kB / 1.254 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001036/1.376, allocations: 232.9 kB / 1.254 GB, free: 179.6 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002289/1.379, allocations: 1.546 MB / 1.256 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/1.38, allocations: 160.3 kB / 1.256 GB, free: 178.3 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001419/1.38, allocations: 49.7 kB / 1.256 GB, free: 178.3 MB / 0.9981 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 (weaDat.conTim.canRepeatWeatherFile,weaDat.conTimMin.canRepeatWeatherFile,HDirWal.incAng.decAng.tNext,$PRE.HDirWal.incAng.decAng.tNext,HDirFlo.incAng.decAng.tNext,$PRE.HDirFlo.incAng.decAng.tNext,HDirRoo.incAng.decAng.tNext,$PRE.HDirRoo.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 (135): * Single equations (assignments): 134 * 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.0008838/1.381, allocations: 354.2 kB / 1.256 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002329/1.381, allocations: 114.6 kB / 1.257 GB, free: 178.2 MB / 0.9981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00372/1.385, allocations: 1.54 MB / 1.258 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.198e-05/1.385, allocations: 13.91 kB / 1.258 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.51e-06/1.385, allocations: 4.453 kB / 1.258 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.886e-05/1.385, allocations: 10.59 kB / 1.258 GB, free: 178.1 MB / 0.9981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002099/1.387, allocations: 1.374 MB / 1.259 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.523e-06/1.387, allocations: 0 / 1.259 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008326/1.388, allocations: 194.1 kB / 1.26 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005241/1.389, allocations: 90.14 kB / 1.26 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.076e-05/1.389, allocations: 34.78 kB / 1.26 GB, free: 177.8 MB / 0.9981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/1.391, allocations: 1.57 MB / 1.261 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.016e-06/1.391, allocations: 6.625 kB / 1.261 GB, free: 176.5 MB / 0.9981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002425/1.393, allocations: 1.289 MB / 1.263 GB, free: 176.2 MB / 0.9981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000537/1.394, allocations: 385.1 kB / 1.263 GB, free: 176 MB / 0.9981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/1.394, allocations: 31.7 kB / 1.263 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009407/1.395, allocations: 115.8 kB / 1.263 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001981/1.395, allocations: 99.77 kB / 1.263 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.209e-05/1.395, allocations: 51.31 kB / 1.263 GB, free: 175.9 MB / 0.9981 GB Notification: Performance of sorting global known variables: time 0.0008065/1.396, allocations: 0.6142 MB / 1.264 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of sort global known variables: time 1.4e-07/1.396, allocations: 0 / 1.264 GB, free: 175.6 MB / 0.9981 GB Notification: Performance of remove unused functions: time 0.001216/1.397, allocations: 482 kB / 1.264 GB, free: 175.5 MB / 0.9981 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 (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.001396/1.398, allocations: 0.6106 MB / 1.265 GB, free: 175.3 MB / 0.9981 GB Notification: Performance of simCode: created initialization part: time 0.002249/1.401, allocations: 1.16 MB / 1.266 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: created event and clocks part: time 3.757e-06/1.401, allocations: 0 / 1.266 GB, free: 174.8 MB / 0.9981 GB Notification: Performance of simCode: created simulation system equations: time 0.001223/1.402, allocations: 0.6893 MB / 1.267 GB, free: 174.5 MB / 0.9981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001597/1.404, allocations: 326.7 kB / 1.267 GB, free: 174.4 MB / 0.9981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005064/1.409, allocations: 3.204 MB / 1.27 GB, free: 172.4 MB / 0.9981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00101/1.41, allocations: 1.223 MB / 1.271 GB, free: 171.7 MB / 0.9981 GB Notification: Performance of simCode: alias equations: time 0.001394/1.411, allocations: 316.3 kB / 1.272 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004498/1.411, allocations: 140.2 kB / 1.272 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of SimCode: time 7.31e-07/1.411, allocations: 5.031 kB / 1.272 GB, free: 171.6 MB / 0.9981 GB Notification: Performance of Templates: time 0.04716/1.459, allocations: 19.57 MB / 1.291 GB, free: 165.8 MB / 0.9981 GB make -j1 -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_3.0.0_Buildings.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)