Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_Examples_IncidenceAngle",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_SolarGeometry_BaseClasses_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.001273/0.001273, allocations: 105.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.001195/0.001195, 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.313/1.313, allocations: 222.9 MB / 241 MB, free: 15.09 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.776/0.776, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001876/0.001876, allocations: 68.88 kB / 0.5735 GB, free: 26.95 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1352/0.137, allocations: 78.87 MB / 0.6505 GB, free: 3.629 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.006659/0.1437, allocations: 4.962 MB / 0.6554 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.484/0.6277, allocations: 150.8 MB / 0.8027 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008406/0.6286, allocations: 15.59 kB / 0.8027 GB, free: 12.3 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.0005292/0.6292, allocations: 193.4 kB / 0.8029 GB, free: 12.2 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.001533/0.6307, allocations: 0.5725 MB / 0.8034 GB, free: 12.03 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.001629/0.6324, allocations: 0.8484 MB / 0.8043 GB, free: 11.96 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.001243/0.6336, allocations: 1.454 MB / 0.8057 GB, free: 11.71 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007508/0.6344, allocations: 0.5929 MB / 0.8062 GB, free: 11.56 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005282/0.6349, allocations: 0.5044 MB / 0.8067 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005032/0.6354, allocations: 0.5334 MB / 0.8073 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001326/0.6356, allocations: 120.6 kB / 0.8074 GB, free: 11.35 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007487/0.6363, allocations: 490.2 kB / 0.8078 GB, free: 11.33 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0002302/0.6366, allocations: 309.3 kB / 0.8081 GB, free: 11.28 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0004157/0.637, allocations: 0.5844 MB / 0.8087 GB, free: 11.1 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001529/0.6385, allocations: 1.692 MB / 0.8104 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.667e-06/0.6386, allocations: 0 / 0.8104 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6386, allocations: 2.156 kB / 0.8104 GB, free: 10.83 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.158e-05/0.6386, allocations: 0 / 0.8104 GB, free: 10.83 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002464/0.6411, allocations: 1.524 MB / 0.8119 GB, free: 9.82 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.753e-05/0.6411, allocations: 14.23 kB / 0.8119 GB, free: 9.816 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001446/0.6413, allocations: 143.7 kB / 0.812 GB, free: 9.754 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008709/0.6421, allocations: 196 kB / 0.8122 GB, free: 9.66 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001056/0.6432, allocations: 0.789 MB / 0.813 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.391e-05/0.6432, allocations: 64.75 kB / 0.813 GB, free: 9.172 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-05/0.6434, allocations: 89.22 kB / 0.8131 GB, free: 9.168 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001424/0.6448, allocations: 0.9652 MB / 0.8141 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.08e-05/0.6448, allocations: 1.812 kB / 0.8141 GB, free: 8.828 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.725e-05/0.6449, allocations: 39.27 kB / 0.8141 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.562e-05/0.6449, allocations: 22.62 kB / 0.8141 GB, free: 8.824 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001629/0.6466, allocations: 1.155 MB / 0.8152 GB, free: 8.531 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003845/0.6504, allocations: 2.918 MB / 0.8181 GB, free: 6.535 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001449/0.6519, allocations: 0.8572 MB / 0.8189 GB, free: 6.105 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005386/0.6524, allocations: 330.2 kB / 0.8192 GB, free: 5.941 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 8.287e-05/0.6525, allocations: 35.41 kB / 0.8193 GB, free: 5.93 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008693/0.6534, allocations: 0.5275 MB / 0.8198 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=88): time 2.325e-06/0.6534, allocations: 0 / 0.8198 GB, free: 5.598 MB / 0.5919 GB Notification: Performance of matching and sorting (n=88): time 0.003198/0.6566, allocations: 1.298 MB / 0.8211 GB, free: 4.898 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001149/0.6567, allocations: 199 kB / 0.8212 GB, free: 4.672 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007387/0.6575, allocations: 0.6574 MB / 0.8219 GB, free: 4.293 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.104e-05/0.6576, allocations: 44.52 kB / 0.8219 GB, free: 4.246 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003139/0.6579, allocations: 411.5 kB / 0.8223 GB, free: 3.887 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002281/0.6581, allocations: 296.1 kB / 0.8226 GB, free: 3.637 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002436/0.6584, allocations: 166.3 kB / 0.8228 GB, free: 3.535 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001825/0.6586, allocations: 386.6 kB / 0.8231 GB, free: 3.168 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005098/0.6591, allocations: 273.7 kB / 0.8234 GB, free: 3.035 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006206/0.6597, allocations: 389.9 kB / 0.8238 GB, free: 2.789 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001113/0.6608, allocations: 0.6351 MB / 0.8244 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.256e-06/0.6608, allocations: 0 / 0.8244 GB, free: 2.449 MB / 0.5919 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001906/0.6627, allocations: 0.8705 MB / 0.8252 GB, free: 2.004 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.866e-05/0.6628, allocations: 11.5 kB / 0.8252 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.6628, allocations: 2.094 kB / 0.8252 GB, free: 2 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005682/0.6634, allocations: 80.09 kB / 0.8253 GB, free: 1.961 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006391/0.664, allocations: 173.1 kB / 0.8255 GB, free: 1.914 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002158/0.6662, allocations: 1.627 MB / 0.8271 GB, free: 324 kB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007306/0.6669, allocations: 104.1 kB / 0.8272 GB, free: 252 kB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.687e-05/0.667, allocations: 38.69 kB / 0.8272 GB, free: 236 kB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 18 (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,decAng.tNext,$PRE.decAng.tNext,$whenCondition1,$whenCondition2,$whenCondition3,$whenCondition4,$whenCondition5,$whenCondition6) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (97): * Single equations (assignments): 96 * 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.0004549/0.6675, allocations: 276.1 kB / 0.8275 GB, free: 12 kB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001748/0.6676, allocations: 90.59 kB / 0.8276 GB, free: 15.96 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00245/0.6701, allocations: 1.166 MB / 0.8287 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.875e-06/0.6701, allocations: 9.812 kB / 0.8287 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.6701, allocations: 4 kB / 0.8287 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.188e-05/0.6701, allocations: 3.984 kB / 0.8287 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001056/0.6712, allocations: 0.9375 MB / 0.8296 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.586e-06/0.6712, allocations: 0 / 0.8296 GB, free: 14.61 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005689/0.6718, allocations: 154.2 kB / 0.8298 GB, free: 14.58 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004312/0.6722, allocations: 73.84 kB / 0.8299 GB, free: 14.54 MB / 0.6075 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.256e-05/0.6723, allocations: 34.38 kB / 0.8299 GB, free: 14.52 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001873/0.6742, allocations: 1.657 MB / 0.8315 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.222e-06/0.6742, allocations: 0 / 0.8315 GB, free: 12.9 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00198/0.6762, allocations: 1.001 MB / 0.8325 GB, free: 12.37 MB / 0.6075 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004064/0.6766, allocations: 297.9 kB / 0.8328 GB, free: 12.11 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001258/0.6767, allocations: 16.5 kB / 0.8328 GB, free: 12.1 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006369/0.6774, allocations: 79.56 kB / 0.8329 GB, free: 12.06 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/0.6776, allocations: 76.17 kB / 0.8329 GB, free: 12.02 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.359e-05/0.6776, allocations: 41.88 kB / 0.833 GB, free: 12 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.0005786/0.6782, allocations: 477.6 kB / 0.8334 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6782, allocations: 0 / 0.8334 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of remove unused functions: time 0.0008428/0.6791, allocations: 337.6 kB / 0.8337 GB, free: 11.64 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: 12 ($whenCondition6,$whenCondition5,$whenCondition4,$whenCondition3,$whenCondition2,$whenCondition1,decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of discrete states: 6 (decAng.tNext,weaDat.locTim.tNext,weaDat.conTimMin.tNext,weaDat.conTim.tNext,weaDat.eqnTim.tNext,weaDat.decAng.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (100): * Single equations (assignments): 93 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 6 * 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.003958/0.6831, allocations: 2.054 MB / 0.8358 GB, free: 10.39 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001664/0.6847, allocations: 0.8587 MB / 0.8366 GB, free: 9.949 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.6847, allocations: 4.188 kB / 0.8366 GB, free: 9.945 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.000904/0.6857, allocations: 0.5492 MB / 0.8371 GB, free: 9.637 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001176/0.6868, allocations: 305.6 kB / 0.8374 GB, free: 9.48 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01029/0.6971, allocations: 6.532 MB / 0.8438 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000642/0.6978, allocations: 1.04 MB / 0.8448 GB, free: 2.477 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0008373/0.6987, allocations: 275.1 kB / 0.8451 GB, free: 2.203 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005851/0.6993, allocations: 407.3 kB / 0.8455 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of SimCode: time 1.052e-06/0.6993, allocations: 0 / 0.8455 GB, free: 1.805 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05502/0.7543, allocations: 22.71 MB / 0.8677 GB, free: 11.41 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.31/13.06, allocations: 14.55 kB / 0.8677 GB, free: 11.4 MB / 0.6387 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.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_BaseClasses_Examples_IncidenceAngle.fmu > IBPSA_latest_IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle.pipe 2>&1)