Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.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.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle",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.001447/0.001447, allocations: 105.8 kB / 16.4 MB, free: 6.512 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.001583/0.001583, allocations: 193.2 kB / 17.34 MB, free: 5.738 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.23/1.23, 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.7197/0.7197, allocations: 122.9 MB / 414.1 MB, free: 15.85 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001105/0.001105, allocations: 64.06 kB / 0.5679 GB, free: 28.93 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1226/0.1237, allocations: 77.93 MB / 0.644 GB, free: 9.562 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.007653/0.1314, allocations: 6.903 MB / 0.6508 GB, free: 2.629 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.4391/0.5705, allocations: 151.3 MB / 0.7985 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008957/0.5715, allocations: 22.19 kB / 0.7985 GB, free: 12.85 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0006331/0.5721, allocations: 261.7 kB / 0.7988 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001736/0.5739, allocations: 0.8149 MB / 0.7996 GB, free: 12.44 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001657/0.5755, allocations: 0.989 MB / 0.8005 GB, free: 12.37 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001498/0.5771, allocations: 2.149 MB / 0.8026 GB, free: 11.93 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0011/0.5782, allocations: 1.021 MB / 0.8036 GB, free: 11.64 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0007968/0.579, allocations: 0.8513 MB / 0.8044 GB, free: 11.48 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007261/0.5797, allocations: 0.8998 MB / 0.8053 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001977/0.5799, allocations: 210.6 kB / 0.8055 GB, free: 11.29 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007517/0.5807, allocations: 0.5657 MB / 0.8061 GB, free: 11.27 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003117/0.581, allocations: 488.1 kB / 0.8065 GB, free: 11.2 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0006471/0.5817, allocations: 0.953 MB / 0.8075 GB, free: 10.92 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.002062/0.5837, allocations: 2.587 MB / 0.81 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.069e-05/0.5837, allocations: 0 / 0.81 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5838, allocations: 0 / 0.81 GB, free: 10.14 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.015e-05/0.5838, allocations: 0 / 0.81 GB, free: 10.14 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003484/0.5873, allocations: 2.124 MB / 0.8121 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.477e-05/0.5873, allocations: 8.562 kB / 0.8121 GB, free: 8.793 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002105/0.5875, allocations: 223 kB / 0.8123 GB, free: 8.711 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009644/0.5885, allocations: 269 kB / 0.8126 GB, free: 8.578 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001293/0.5898, allocations: 0.9998 MB / 0.8135 GB, free: 8 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.881e-05/0.5899, allocations: 119.7 kB / 0.8136 GB, free: 7.996 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001632/0.59, allocations: 149.9 kB / 0.8138 GB, free: 7.992 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002333/0.5924, allocations: 1.579 MB / 0.8153 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.941e-05/0.5924, allocations: 0 / 0.8153 GB, free: 7.102 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001349/0.5926, allocations: 67.19 kB / 0.8154 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.274e-05/0.5926, allocations: 38.06 kB / 0.8154 GB, free: 7.051 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002366/0.595, allocations: 1.642 MB / 0.817 GB, free: 6.25 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.005985/0.601, allocations: 4.544 MB / 0.8215 GB, free: 2.691 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001892/0.6029, allocations: 1.196 MB / 0.8226 GB, free: 2.082 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007367/0.6036, allocations: 482 kB / 0.8231 GB, free: 1.84 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 9.021e-05/0.6037, allocations: 45.73 kB / 0.8231 GB, free: 1.828 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001191/0.6049, allocations: 0.784 MB / 0.8239 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=128): time 2.315e-06/0.6049, allocations: 0 / 0.8239 GB, free: 1.332 MB / 0.5919 GB Notification: Performance of matching and sorting (n=128): time 0.003943/0.6089, allocations: 1.847 MB / 0.8257 GB, free: 368 kB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.815e-05/0.609, allocations: 201.6 kB / 0.8259 GB, free: 136 kB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000992/0.61, allocations: 0.8727 MB / 0.8268 GB, free: 15.62 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 8.52e-05/0.6101, allocations: 53.39 kB / 0.8268 GB, free: 15.57 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004067/0.6105, allocations: 0.6186 MB / 0.8274 GB, free: 15.02 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002999/0.6108, allocations: 421.7 kB / 0.8278 GB, free: 14.67 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003339/0.6111, allocations: 245.4 kB / 0.828 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001234/0.6113, allocations: 346.5 kB / 0.8284 GB, free: 14.18 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007455/0.612, allocations: 436.1 kB / 0.8288 GB, free: 13.96 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008677/0.6129, allocations: 0.5559 MB / 0.8293 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00158/0.6145, allocations: 0.9647 MB / 0.8303 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.556e-06/0.6145, allocations: 0 / 0.8303 GB, free: 13.11 MB / 0.6075 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.002469/0.617, allocations: 1.304 MB / 0.8316 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 1.785e-05/0.617, allocations: 7.406 kB / 0.8316 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.593e-06/0.617, allocations: 0 / 0.8316 GB, free: 12.44 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005457/0.6176, allocations: 86.05 kB / 0.8316 GB, free: 12.4 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009955/0.6186, allocations: 257.4 kB / 0.8319 GB, free: 12.33 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001924/0.6205, allocations: 1.66 MB / 0.8335 GB, free: 10.71 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009722/0.6215, allocations: 151.2 kB / 0.8337 GB, free: 10.61 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.916e-05/0.6216, allocations: 58.17 kB / 0.8337 GB, free: 10.58 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 30 (incAngEas.decAng.tNext,$PRE.incAngEas.decAng.tNext,incAngSou.decAng.tNext,$PRE.incAngSou.decAng.tNext,incAngWes.decAng.tNext,$PRE.incAngWes.decAng.tNext,incAngNor.decAng.tNext,$PRE.incAngNor.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,incAngHor.decAng.tNext,$PRE.incAngHor.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6,$whenCondition7,$whenCondition8,$whenCondition9,$whenCondition10) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (149): * Single equations (assignments): 148 * 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.0004889/0.6221, allocations: 342.5 kB / 0.834 GB, free: 10.32 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000203/0.6223, allocations: 124.7 kB / 0.8342 GB, free: 10.26 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003267/0.6256, allocations: 1.712 MB / 0.8358 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.488e-06/0.6256, allocations: 12.84 kB / 0.8358 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.6256, allocations: 0 / 0.8358 GB, free: 9.309 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.496e-05/0.6256, allocations: 11.95 kB / 0.8358 GB, free: 9.297 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001401/0.627, allocations: 1.412 MB / 0.8372 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.078e-06/0.627, allocations: 0 / 0.8372 GB, free: 8.215 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008924/0.6279, allocations: 223.7 kB / 0.8374 GB, free: 7.996 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000413/0.6284, allocations: 68.8 kB / 0.8375 GB, free: 7.926 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.477e-05/0.6284, allocations: 39.95 kB / 0.8375 GB, free: 7.887 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001764/0.6302, allocations: 1.674 MB / 0.8392 GB, free: 6.07 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.454e-06/0.6302, allocations: 3.938 kB / 0.8392 GB, free: 6.066 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002585/0.6328, allocations: 1.415 MB / 0.8406 GB, free: 4.629 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005081/0.6333, allocations: 379.7 kB / 0.8409 GB, free: 4.238 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001823/0.6335, allocations: 39.89 kB / 0.841 GB, free: 4.199 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009/0.6344, allocations: 87.91 kB / 0.841 GB, free: 4.113 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001842/0.6346, allocations: 109.2 kB / 0.8412 GB, free: 4.004 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.445e-05/0.6347, allocations: 59.89 kB / 0.8412 GB, free: 3.945 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0007757/0.6355, allocations: 0.6464 MB / 0.8418 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.61e-07/0.6355, allocations: 0 / 0.8418 GB, free: 3.289 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.001034/0.6366, allocations: 490.8 kB / 0.8423 GB, free: 2.809 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: 20 ($whenCondition10,$whenCondition9,$whenCondition8,$whenCondition7,$whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of discrete states: 10 (incAngHor.decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext,incAngNor.decAng.tNext,incAngWes.decAng.tNext,incAngSou.decAng.tNext,incAngEas.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (144): * Single equations (assignments): 133 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 10 * 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.004024/0.6406, allocations: 2.496 MB / 0.8447 GB, free: 500 kB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.00224/0.6428, allocations: 1.24 MB / 0.846 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.086e-06/0.6429, allocations: 0 / 0.846 GB, free: 15.23 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.001212/0.6441, allocations: 0.7439 MB / 0.8467 GB, free: 14.48 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00128/0.6454, allocations: 349.4 kB / 0.847 GB, free: 14.16 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0136/0.659, allocations: 9.337 MB / 0.8561 GB, free: 4.672 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007671/0.6598, allocations: 1.236 MB / 0.8573 GB, free: 3.402 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009809/0.6608, allocations: 338.1 kB / 0.8577 GB, free: 3.07 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008611/0.6616, allocations: 0.632 MB / 0.8583 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of SimCode: time 6.11e-07/0.6616, allocations: 0 / 0.8583 GB, free: 2.438 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05418/0.7158, allocations: 31.12 MB / 0.8887 GB, free: 3.645 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.58/13.29, allocations: 19.86 kB / 0.8887 GB, free: 3.625 MB / 0.6544 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle.pipe 2>&1)