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: "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001199/0.001199, allocations: 101.2 kB / 15.98 MB, free: 6.34 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.001115/0.001115, allocations: 199.3 kB / 16.91 MB, free: 6.188 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.154/1.154, allocations: 222.9 MB / 240.6 MB, free: 15.45 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6234/0.6234, allocations: 115.3 MB / 406.1 MB, free: 6.328 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001197/0.001198, allocations: 67.89 kB / 493.2 MB, free: 0.6094 MB / 398.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2651/0.2663, allocations: 76.17 MB / 0.556 GB, free: 36.35 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.006577/0.2729, allocations: 6.986 MB / 0.5628 GB, free: 31.34 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1287/0.4016, allocations: 148.9 MB / 0.7083 GB, free: 8.211 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001226/0.4029, allocations: 23.88 kB / 0.7083 GB, free: 8.188 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0009124/0.4038, allocations: 206.4 kB / 0.7085 GB, free: 7.984 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.4063, allocations: 0.6833 MB / 0.7092 GB, free: 7.305 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.00225/0.4086, allocations: 0.9143 MB / 0.7101 GB, free: 6.402 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.002273/0.4109, allocations: 2.077 MB / 0.7121 GB, free: 4.312 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001412/0.4123, allocations: 1.111 MB / 0.7132 GB, free: 3.152 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009888/0.4133, allocations: 0.8253 MB / 0.714 GB, free: 2.324 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001041/0.4143, allocations: 0.8908 MB / 0.7148 GB, free: 1.43 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003002/0.4146, allocations: 216 kB / 0.715 GB, free: 1.219 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008536/0.4155, allocations: 0.5465 MB / 0.7156 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 0.0003274/0.4158, allocations: 494.5 kB / 0.7161 GB, free: 192 kB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 0.0006955/0.4165, allocations: 0.98 MB / 0.717 GB, free: 15.2 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.4186, allocations: 2.617 MB / 0.7196 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.447e-06/0.4186, allocations: 0 / 0.7196 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of FrontEnd: time 9.82e-07/0.4186, allocations: 0 / 0.7196 GB, free: 12.58 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.599e-05/0.4186, allocations: 0 / 0.7196 GB, free: 12.58 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.00313/0.4217, allocations: 2.056 MB / 0.7216 GB, free: 10.46 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.25e-05/0.4218, allocations: 12.03 kB / 0.7216 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002244/0.422, allocations: 224.2 kB / 0.7218 GB, free: 10.22 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009101/0.4229, allocations: 254.6 kB / 0.722 GB, free: 9.969 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001134/0.4241, allocations: 0.9694 MB / 0.723 GB, free: 8.957 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001171/0.4242, allocations: 148.8 kB / 0.7231 GB, free: 8.805 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001642/0.4244, allocations: 148 kB / 0.7233 GB, free: 8.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002338/0.4267, allocations: 1.589 MB / 0.7248 GB, free: 7.016 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.807e-05/0.4268, allocations: 7.938 kB / 0.7248 GB, free: 7.008 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001269/0.4269, allocations: 60 kB / 0.7249 GB, free: 6.949 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.578e-05/0.4269, allocations: 43.94 kB / 0.7249 GB, free: 6.906 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002283/0.4292, allocations: 1.592 MB / 0.7265 GB, free: 5.309 MB / 0.5606 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.005703/0.4349, allocations: 4.74 MB / 0.7311 GB, free: 388 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001701/0.4366, allocations: 1.095 MB / 0.7322 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006458/0.4373, allocations: 427.7 kB / 0.7326 GB, free: 14.86 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.276e-05/0.4374, allocations: 45 kB / 0.7326 GB, free: 14.81 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001102/0.4385, allocations: 0.7006 MB / 0.7333 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=111): time 2.214e-06/0.4385, allocations: 0 / 0.7333 GB, free: 14.09 MB / 0.5762 GB Notification: Performance of matching and sorting (n=111): time 0.003553/0.4421, allocations: 1.657 MB / 0.7349 GB, free: 12.41 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 8.922e-05/0.4422, allocations: 196.9 kB / 0.7351 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008807/0.443, allocations: 0.8379 MB / 0.7359 GB, free: 11.31 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 8.471e-05/0.4431, allocations: 49.7 kB / 0.736 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003686/0.4435, allocations: 0.6205 MB / 0.7366 GB, free: 10.63 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002372/0.4438, allocations: 358.9 kB / 0.7369 GB, free: 10.27 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002826/0.444, allocations: 214.7 kB / 0.7371 GB, free: 10.06 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001077/0.4442, allocations: 341.9 kB / 0.7375 GB, free: 9.719 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006407/0.4448, allocations: 386.4 kB / 0.7378 GB, free: 9.34 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007484/0.4456, allocations: 0.5063 MB / 0.7383 GB, free: 8.801 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001358/0.4469, allocations: 0.8555 MB / 0.7392 GB, free: 7.934 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.4469, allocations: 12.06 kB / 0.7392 GB, free: 7.922 MB / 0.5762 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002212/0.4492, allocations: 1.149 MB / 0.7403 GB, free: 6.758 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.463e-05/0.4492, allocations: 4 kB / 0.7403 GB, free: 6.754 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.424e-06/0.4492, allocations: 4 kB / 0.7403 GB, free: 6.75 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005579/0.4498, allocations: 84.83 kB / 0.7404 GB, free: 6.664 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008561/0.4506, allocations: 215.7 kB / 0.7406 GB, free: 6.453 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001847/0.4525, allocations: 1.665 MB / 0.7422 GB, free: 4.648 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008312/0.4533, allocations: 141.3 kB / 0.7424 GB, free: 4.512 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.725e-05/0.4534, allocations: 43.97 kB / 0.7424 GB, free: 4.469 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: 24 (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 (127): * Single equations (assignments): 126 * 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.0004526/0.4539, allocations: 347.8 kB / 0.7427 GB, free: 4.121 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001802/0.4541, allocations: 114.6 kB / 0.7428 GB, free: 4.008 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00299/0.4571, allocations: 1.536 MB / 0.7443 GB, free: 2.457 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.258e-06/0.4571, allocations: 12 kB / 0.7443 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.4571, allocations: 0 / 0.7443 GB, free: 2.445 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.508e-05/0.4571, allocations: 15.97 kB / 0.7444 GB, free: 2.43 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001347/0.4585, allocations: 1.372 MB / 0.7457 GB, free: 1.004 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.039e-06/0.4585, allocations: 4 kB / 0.7457 GB, free: 1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007622/0.4592, allocations: 199.7 kB / 0.7459 GB, free: 0.8047 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004223/0.4597, allocations: 72.78 kB / 0.746 GB, free: 0.7305 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.434e-05/0.4598, allocations: 31.97 kB / 0.746 GB, free: 0.6992 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.1891/0.6489, allocations: 1.668 MB / 0.7476 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.104e-06/0.6489, allocations: 1.156 kB / 0.7476 GB, free: 172 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002562/0.6515, allocations: 1.284 MB / 0.7489 GB, free: 171.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004301/0.6519, allocations: 358.8 kB / 0.7492 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001532/0.6521, allocations: 34.02 kB / 0.7493 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008355/0.6529, allocations: 90 kB / 0.7493 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001825/0.6531, allocations: 97.88 kB / 0.7494 GB, free: 171.6 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.236e-05/0.6532, allocations: 52.75 kB / 0.7495 GB, free: 171.5 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007378/0.654, allocations: 0.6151 MB / 0.7501 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.41e-07/0.654, allocations: 3.906 kB / 0.7501 GB, free: 171.3 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009373/0.6549, allocations: 474.6 kB / 0.7505 GB, free: 171.2 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.003445/0.6584, allocations: 2.356 MB / 0.7528 GB, free: 170.1 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002887/0.6613, allocations: 1.398 MB / 0.7542 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.835e-06/0.6613, allocations: 1.938 kB / 0.7542 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0009786/0.6623, allocations: 0.6886 MB / 0.7549 GB, free: 169.3 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001135/0.6634, allocations: 345.8 kB / 0.7552 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01277/0.6762, allocations: 9.814 MB / 0.7648 GB, free: 163.7 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006337/0.6768, allocations: 1.225 MB / 0.766 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009052/0.6777, allocations: 321.2 kB / 0.7663 GB, free: 162.9 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006536/0.6784, allocations: 0.6084 MB / 0.7669 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of SimCode: time 4.71e-07/0.6784, allocations: 9 kB / 0.7669 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 7.723/8.401, allocations: 28.8 MB / 0.795 GB, free: 145.6 MB / 0.5762 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001817/8.402, allocations: 310.5 kB / 0.7953 GB, free: 145.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.144/12.55, allocations: 0 / 0.7953 GB, free: 145.2 MB / 0.5762 GB (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface_fmu --startTime=1.82304e+07 --stopTime=1.83168e+07 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)