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.001625/0.001625, allocations: 104.7 kB / 16.4 MB, free: 6.465 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.001948/0.001948, allocations: 193.2 kB / 17.34 MB, free: 5.715 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.311/1.311, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7771/0.7771, allocations: 126.1 MB / 417.3 MB, free: 12.82 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001201/0.001201, allocations: 65.38 kB / 0.5726 GB, free: 27.57 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1176/0.1188, allocations: 78.69 MB / 0.6494 GB, free: 4.621 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface): time 0.00821/0.127, allocations: 7.039 MB / 0.6563 GB, free: 13.55 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.4305/0.5576, allocations: 151.2 MB / 0.8039 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007631/0.5584, allocations: 18.75 kB / 0.8039 GB, free: 12.66 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006015/0.559, allocations: 262.6 kB / 0.8042 GB, free: 12.51 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001725/0.5608, allocations: 0.7851 MB / 0.8049 GB, free: 12.25 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00192/0.5627, allocations: 1.019 MB / 0.8059 GB, free: 12.17 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001604/0.5643, allocations: 2.096 MB / 0.808 GB, free: 11.73 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001168/0.5655, allocations: 1.113 MB / 0.8091 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007636/0.5663, allocations: 0.8248 MB / 0.8099 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007476/0.567, allocations: 0.8812 MB / 0.8107 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0002065/0.5672, allocations: 220.8 kB / 0.8109 GB, free: 11.09 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007875/0.568, allocations: 0.5764 MB / 0.8115 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003058/0.5683, allocations: 490.3 kB / 0.812 GB, free: 11 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006577/0.569, allocations: 0.9759 MB / 0.8129 GB, free: 10.73 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002229/0.5712, allocations: 2.678 MB / 0.8155 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.687e-06/0.5713, allocations: 0.6562 kB / 0.8155 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.222e-06/0.5713, allocations: 0 / 0.8155 GB, free: 9.207 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.138e-05/0.5713, allocations: 0 / 0.8155 GB, free: 9.207 MB / 0.5919 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.003328/0.5746, allocations: 2.108 MB / 0.8176 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.512e-05/0.5747, allocations: 9.344 kB / 0.8176 GB, free: 7.594 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002336/0.5749, allocations: 225.6 kB / 0.8178 GB, free: 7.414 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009747/0.5759, allocations: 271 kB / 0.8181 GB, free: 7.277 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001342/0.5772, allocations: 1.006 MB / 0.8191 GB, free: 6.48 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001203/0.5774, allocations: 146.2 kB / 0.8192 GB, free: 6.395 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001585/0.5775, allocations: 154.9 kB / 0.8193 GB, free: 6.344 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002366/0.5799, allocations: 1.584 MB / 0.8209 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.697e-05/0.58, allocations: 0 / 0.8209 GB, free: 5.363 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000128/0.5801, allocations: 67.75 kB / 0.821 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.315e-05/0.5801, allocations: 37.5 kB / 0.821 GB, free: 5.312 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00247/0.5826, allocations: 1.599 MB / 0.8226 GB, free: 4.531 MB / 0.5919 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.006119/0.5887, allocations: 4.686 MB / 0.8271 GB, free: 0.8203 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001832/0.5906, allocations: 1.096 MB / 0.8282 GB, free: 272 kB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006866/0.5913, allocations: 437.5 kB / 0.8286 GB, free: 40 kB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.849e-05/0.5914, allocations: 43.11 kB / 0.8287 GB, free: 28 kB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001133/0.5925, allocations: 0.7083 MB / 0.8294 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=111): time 2.695e-06/0.5925, allocations: 0 / 0.8294 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of matching and sorting (n=111): time 0.003824/0.5964, allocations: 1.665 MB / 0.831 GB, free: 14.7 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.044e-05/0.5965, allocations: 199 kB / 0.8312 GB, free: 14.46 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009614/0.5974, allocations: 0.8391 MB / 0.832 GB, free: 13.98 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.102e-05/0.5975, allocations: 46.98 kB / 0.832 GB, free: 13.93 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004065/0.5979, allocations: 0.6362 MB / 0.8327 GB, free: 13.37 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.000253/0.5982, allocations: 371.4 kB / 0.833 GB, free: 13.06 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003082/0.5985, allocations: 212.1 kB / 0.8332 GB, free: 12.93 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.5986, allocations: 341.8 kB / 0.8335 GB, free: 12.6 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007003/0.5993, allocations: 382 kB / 0.8339 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008126/0.6002, allocations: 0.504 MB / 0.8344 GB, free: 12.09 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001499/0.6017, allocations: 0.8612 MB / 0.8352 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.196e-06/0.6017, allocations: 0 / 0.8352 GB, free: 11.62 MB / 0.6075 GB Notification: Performance of matching and sorting (n=129) (initialization): time 0.002398/0.6041, allocations: 1.159 MB / 0.8364 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.566e-05/0.6041, allocations: 5.344 kB / 0.8364 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.743e-06/0.6041, allocations: 0 / 0.8364 GB, free: 11.02 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005871/0.6047, allocations: 85.91 kB / 0.8365 GB, free: 10.98 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009304/0.6057, allocations: 224 kB / 0.8367 GB, free: 10.92 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001987/0.6077, allocations: 1.647 MB / 0.8383 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00091/0.6086, allocations: 137 kB / 0.8384 GB, free: 9.215 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.597e-05/0.6087, allocations: 43.81 kB / 0.8384 GB, free: 9.199 MB / 0.6075 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.0005413/0.6092, allocations: 366.1 kB / 0.8388 GB, free: 8.93 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.6094, allocations: 116.5 kB / 0.8389 GB, free: 8.867 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003182/0.6126, allocations: 1.525 MB / 0.8404 GB, free: 7.93 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.021e-05/0.6126, allocations: 12 kB / 0.8404 GB, free: 7.918 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.448e-06/0.6127, allocations: 7.984 kB / 0.8404 GB, free: 7.91 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.432e-05/0.6127, allocations: 7.969 kB / 0.8404 GB, free: 7.902 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.6142, allocations: 1.381 MB / 0.8418 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-06/0.6142, allocations: 0 / 0.8418 GB, free: 6.5 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008421/0.615, allocations: 199.6 kB / 0.842 GB, free: 6.305 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004492/0.6155, allocations: 76.8 kB / 0.842 GB, free: 6.227 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.615e-05/0.6156, allocations: 31.97 kB / 0.8421 GB, free: 6.195 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001807/0.6174, allocations: 1.683 MB / 0.8437 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.6174, allocations: 0 / 0.8437 GB, free: 4.367 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002516/0.6199, allocations: 1.289 MB / 0.845 GB, free: 3.062 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004763/0.6204, allocations: 367.8 kB / 0.8453 GB, free: 2.684 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001789/0.6206, allocations: 31.95 kB / 0.8454 GB, free: 2.652 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009044/0.6215, allocations: 83.91 kB / 0.8454 GB, free: 2.57 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001884/0.6217, allocations: 93.17 kB / 0.8455 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.814e-05/0.6218, allocations: 51.97 kB / 0.8456 GB, free: 2.426 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007969/0.6226, allocations: 0.6176 MB / 0.8462 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of sort global known variables: time 2.7e-07/0.6226, allocations: 0 / 0.8462 GB, free: 1.797 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001042/0.6237, allocations: 482.6 kB / 0.8466 GB, free: 1.324 MB / 0.6075 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.004114/0.6278, allocations: 2.358 MB / 0.8489 GB, free: 15.14 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.002172/0.63, allocations: 1.121 MB / 0.85 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 2.936e-06/0.63, allocations: 4.062 kB / 0.85 GB, free: 14.01 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001186/0.6312, allocations: 0.6776 MB / 0.8507 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.6325, allocations: 349.7 kB / 0.851 GB, free: 12.99 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01379/0.6463, allocations: 8.731 MB / 0.8596 GB, free: 4.098 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000863/0.6472, allocations: 1.228 MB / 0.8608 GB, free: 2.836 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.001015/0.6483, allocations: 313.3 kB / 0.8611 GB, free: 2.527 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008612/0.6491, allocations: 0.6086 MB / 0.8616 GB, free: 1.918 MB / 0.6231 GB Notification: Performance of SimCode: time 1.122e-06/0.6491, allocations: 3.938 kB / 0.8617 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05677/0.7059, allocations: 29.35 MB / 0.8903 GB, free: 4.934 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.66/13.37, allocations: 23.28 kB / 0.8903 GB, free: 4.914 MB / 0.6544 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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface_res.csv --start-time 1.82304e+07 --stop-time 1.83168e+07 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarIrradiation_Examples_DirectTiltedSurface.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarIrradiation.Examples.DirectTiltedSurface.pipe 2>&1)