Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.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/IBPSA 4.0.0-master/package.mo", uses=false) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface") translateModel(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.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.00108/0.00108, allocations: 102.2 kB / 16.27 MB, free: 6.355 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.001055/0.001055, allocations: 189 kB / 17.2 MB, free: 5.957 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.431/1.431, allocations: 222.9 MB / 240.9 MB, free: 15.28 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7972/0.7972, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00246/0.00246, allocations: 67.88 kB / 0.4911 GB, free: 7.449 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4935/0.496, allocations: 77.92 MB / 0.5672 GB, free: 32.66 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.01361/0.5096, allocations: 7.016 MB / 0.574 GB, free: 27.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1991/0.7088, allocations: 151.2 MB / 0.7217 GB, free: 12.09 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002527/0.7113, allocations: 19.88 kB / 0.7217 GB, free: 12.07 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.001398/0.7128, allocations: 257.4 kB / 0.7219 GB, free: 11.82 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.003947/0.7168, allocations: 0.7863 MB / 0.7227 GB, free: 11.04 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.003354/0.7201, allocations: 1.008 MB / 0.7237 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.003419/0.7236, allocations: 2.077 MB / 0.7257 GB, free: 7.945 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0022/0.7258, allocations: 1.111 MB / 0.7268 GB, free: 6.785 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001732/0.7275, allocations: 0.8137 MB / 0.7276 GB, free: 5.969 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001688/0.7292, allocations: 0.8831 MB / 0.7284 GB, free: 5.082 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0007376/0.73, allocations: 216 kB / 0.7286 GB, free: 4.871 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001685/0.7317, allocations: 0.5543 MB / 0.7292 GB, free: 4.316 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0007321/0.7324, allocations: 494.5 kB / 0.7297 GB, free: 3.832 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001852/0.7343, allocations: 0.9681 MB / 0.7306 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004253/0.7386, allocations: 2.617 MB / 0.7332 GB, free: 240 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 7.033e-06/0.7386, allocations: 4 kB / 0.7332 GB, free: 236 kB / 0.5606 GB Notification: Performance of FrontEnd: time 2.394e-06/0.7386, allocations: 0 / 0.7332 GB, free: 236 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.000127/0.7387, allocations: 0 / 0.7332 GB, free: 236 kB / 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.005276/0.744, allocations: 2.033 MB / 0.7352 GB, free: 14.14 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 5.24e-05/0.7441, allocations: 16.62 kB / 0.7352 GB, free: 14.12 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001085/0.7452, allocations: 254.6 kB / 0.7354 GB, free: 13.87 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001412/0.7466, allocations: 0.9656 MB / 0.7364 GB, free: 12.86 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000156/0.7468, allocations: 156.8 kB / 0.7365 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001693/0.7469, allocations: 148 kB / 0.7366 GB, free: 12.56 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002739/0.7497, allocations: 1.589 MB / 0.7382 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.105e-05/0.7497, allocations: 3.938 kB / 0.7382 GB, free: 10.91 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000145/0.7499, allocations: 68 kB / 0.7383 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.948e-05/0.7499, allocations: 36 kB / 0.7383 GB, free: 10.81 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002551/0.7525, allocations: 1.596 MB / 0.7399 GB, free: 9.207 MB / 0.5762 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.007248/0.7597, allocations: 4.74 MB / 0.7445 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00193/0.7617, allocations: 1.098 MB / 0.7456 GB, free: 3.172 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007039/0.7624, allocations: 427.7 kB / 0.746 GB, free: 2.75 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.698e-05/0.7625, allocations: 48.86 kB / 0.746 GB, free: 2.703 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001359/0.7639, allocations: 0.7032 MB / 0.7467 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=111): time 2.455e-06/0.7639, allocations: 0 / 0.7467 GB, free: 1.98 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111): time 0.00412/0.768, allocations: 1.664 MB / 0.7483 GB, free: 300 kB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001343/0.7682, allocations: 192.9 kB / 0.7485 GB, free: 64 kB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.3685/1.137, allocations: 0.8378 MB / 0.7493 GB, free: 171 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0003358/1.137, allocations: 48.59 kB / 0.7494 GB, free: 170.9 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.000559/1.138, allocations: 0.6181 MB / 0.75 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002933/1.138, allocations: 355.3 kB / 0.7503 GB, free: 170.3 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004095/1.138, allocations: 230.2 kB / 0.7505 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 8.773e-05/1.138, allocations: 347.2 kB / 0.7509 GB, free: 169.9 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008614/1.139, allocations: 399.7 kB / 0.7512 GB, free: 169.7 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000929/1.14, allocations: 0.511 MB / 0.7517 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001602/1.142, allocations: 0.8884 MB / 0.7526 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.779e-06/1.142, allocations: 0.75 kB / 0.7526 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of matching and sorting (n=137) (initialization): time 0.002812/1.145, allocations: 1.21 MB / 0.7538 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/1.145, allocations: 4.844 kB / 0.7538 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.008e-05/1.145, allocations: 2.938 kB / 0.7538 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006211/1.145, allocations: 88.83 kB / 0.7539 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001103/1.146, allocations: 230.3 kB / 0.7541 GB, free: 168.6 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00244/1.149, allocations: 1.636 MB / 0.7557 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001458/1.15, allocations: 140.4 kB / 0.7558 GB, free: 167 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001647/1.151, allocations: 50.89 kB / 0.7559 GB, free: 167 MB / 0.5762 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.00113/1.152, allocations: 359.2 kB / 0.7562 GB, free: 166.7 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003923/1.152, allocations: 113.8 kB / 0.7563 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003837/1.156, allocations: 1.542 MB / 0.7578 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.041e-05/1.156, allocations: 14.14 kB / 0.7579 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.446e-06/1.156, allocations: 0 / 0.7579 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.256e-05/1.156, allocations: 6.422 kB / 0.7579 GB, free: 166.1 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002472/1.158, allocations: 1.368 MB / 0.7592 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.889e-06/1.158, allocations: 1.5 kB / 0.7592 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008816/1.159, allocations: 197.8 kB / 0.7594 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00047/1.16, allocations: 77.77 kB / 0.7595 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.337e-05/1.16, allocations: 35.27 kB / 0.7595 GB, free: 165.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001736/1.162, allocations: 1.67 MB / 0.7611 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/1.162, allocations: 1.062 kB / 0.7611 GB, free: 163.8 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002805/1.165, allocations: 1.281 MB / 0.7624 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005664/1.165, allocations: 360.7 kB / 0.7627 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001785/1.165, allocations: 35.58 kB / 0.7628 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008336/1.166, allocations: 79.62 kB / 0.7628 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002232/1.166, allocations: 95.84 kB / 0.7629 GB, free: 163 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001107/1.166, allocations: 52.91 kB / 0.763 GB, free: 163 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0009495/1.167, allocations: 0.6157 MB / 0.7636 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of sort global known variables: time 3.7e-07/1.167, allocations: 0 / 0.7636 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001763/1.169, allocations: 481.1 kB / 0.764 GB, free: 162.6 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 (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.001668/1.171, allocations: 0.6174 MB / 0.7646 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.004033/1.175, allocations: 1.433 MB / 0.766 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.612e-06/1.175, allocations: 6 kB / 0.766 GB, free: 161.9 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001273/1.176, allocations: 0.6895 MB / 0.7667 GB, free: 161.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001468/1.178, allocations: 354 kB / 0.7671 GB, free: 161.5 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004273/1.182, allocations: 2.501 MB / 0.7695 GB, free: 160.2 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007329/1.183, allocations: 1.226 MB / 0.7707 GB, free: 159.5 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001083/1.184, allocations: 318.8 kB / 0.771 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003613/1.184, allocations: 143.7 kB / 0.7711 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of SimCode: time 3.81e-07/1.184, allocations: 0 / 0.7711 GB, free: 159.4 MB / 0.5762 GB Notification: Performance of Templates: time 0.03149/1.216, allocations: 20.61 MB / 0.7913 GB, free: 142.8 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.makefile (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.sim & ./IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)