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.001179/0.001179, allocations: 102.9 kB / 16.27 MB, free: 5.93 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.000964/0.0009639, allocations: 186.2 kB / 17.2 MB, free: 5.574 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.181/1.181, allocations: 222.9 MB / 240.9 MB, free: 15.26 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6852/0.6852, allocations: 122.9 MB / 413.9 MB, free: 15.84 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001249/0.00125, allocations: 67.89 kB / 0.4912 GB, free: 7.344 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2733/0.2746, allocations: 77.93 MB / 0.5673 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.Examples.IncidenceAngle): time 0.006196/0.2808, allocations: 6.896 MB / 0.574 GB, free: 27.86 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1323/0.4132, allocations: 151.3 MB / 0.7217 GB, free: 12.06 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001277/0.4145, allocations: 15.94 kB / 0.7218 GB, free: 12.05 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0008559/0.4154, allocations: 269.3 kB / 0.722 GB, free: 11.78 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.002564/0.4179, allocations: 0.798 MB / 0.7228 GB, free: 10.98 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.002224/0.4202, allocations: 0.9844 MB / 0.7238 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.002177/0.4224, allocations: 2.133 MB / 0.7258 GB, free: 7.863 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001246/0.4236, allocations: 1.022 MB / 0.7268 GB, free: 6.789 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0009406/0.4246, allocations: 0.8292 MB / 0.7276 GB, free: 5.957 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007845/0.4254, allocations: 0.9103 MB / 0.7285 GB, free: 5.043 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.0002283/0.4256, allocations: 211.9 kB / 0.7287 GB, free: 4.836 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0008332/0.4264, allocations: 0.5426 MB / 0.7293 GB, free: 4.293 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0003401/0.4268, allocations: 490.4 kB / 0.7297 GB, free: 3.812 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0006781/0.4275, allocations: 0.9486 MB / 0.7307 GB, free: 2.859 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.00201/0.4295, allocations: 2.516 MB / 0.7331 GB, free: 344 kB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.4295, allocations: 3.938 kB / 0.7331 GB, free: 340 kB / 0.5606 GB Notification: Performance of FrontEnd: time 1.162e-06/0.4295, allocations: 0 / 0.7331 GB, free: 340 kB / 0.5606 GB Notification: Performance of Transformations before backend: time 2.104e-05/0.4295, allocations: 0 / 0.7331 GB, free: 340 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: 392 * Number of variables: 392 Notification: Performance of Generate backend data structure: time 0.003474/0.433, allocations: 2.058 MB / 0.7351 GB, free: 14.21 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.312e-05/0.4331, allocations: 12.56 kB / 0.7351 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002149/0.4333, allocations: 232 kB / 0.7354 GB, free: 13.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000956/0.4342, allocations: 250.6 kB / 0.7356 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001136/0.4354, allocations: 0.9769 MB / 0.7366 GB, free: 12.7 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.605e-05/0.4355, allocations: 111.1 kB / 0.7367 GB, free: 12.59 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001781/0.4357, allocations: 148 kB / 0.7368 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002181/0.4379, allocations: 1.58 MB / 0.7383 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.366e-05/0.4379, allocations: 4 kB / 0.7384 GB, free: 10.8 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001235/0.438, allocations: 67.98 kB / 0.7384 GB, free: 10.73 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.774e-05/0.4381, allocations: 36 kB / 0.7385 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002355/0.4404, allocations: 1.639 MB / 0.7401 GB, free: 9.055 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.005721/0.4461, allocations: 4.579 MB / 0.7445 GB, free: 4.297 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001913/0.4481, allocations: 1.186 MB / 0.7457 GB, free: 3.102 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007213/0.4488, allocations: 479.7 kB / 0.7461 GB, free: 2.629 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.212e-05/0.4489, allocations: 48.98 kB / 0.7462 GB, free: 2.582 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001171/0.4501, allocations: 0.775 MB / 0.7469 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=128): time 2.434e-06/0.4501, allocations: 0 / 0.7469 GB, free: 1.789 MB / 0.5762 GB Notification: Performance of matching and sorting (n=128): time 0.2122/0.6623, allocations: 1.842 MB / 0.7487 GB, free: 171 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 7.36e-05/0.6624, allocations: 197.9 kB / 0.7489 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001298/0.6637, allocations: 0.8651 MB / 0.7498 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0002224/0.664, allocations: 53.56 kB / 0.7498 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004011/0.6644, allocations: 0.6142 MB / 0.7504 GB, free: 170.2 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002545/0.6646, allocations: 404.8 kB / 0.7508 GB, free: 170 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003454/0.665, allocations: 242.3 kB / 0.751 GB, free: 169.8 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 7.062e-05/0.6651, allocations: 347.4 kB / 0.7514 GB, free: 169.5 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008083/0.6659, allocations: 431.9 kB / 0.7518 GB, free: 169.4 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009117/0.6668, allocations: 0.5645 MB / 0.7523 GB, free: 169.1 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001655/0.6685, allocations: 0.9654 MB / 0.7533 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.416e-06/0.6685, allocations: 0 / 0.7533 GB, free: 168.7 MB / 0.5762 GB Notification: Performance of matching and sorting (n=151) (initialization): time 0.00265/0.6711, allocations: 1.3 MB / 0.7546 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.1e-05/0.6712, allocations: 7.078 kB / 0.7546 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.905e-06/0.6712, allocations: 3.578 kB / 0.7546 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006235/0.6718, allocations: 86.45 kB / 0.7546 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.673, allocations: 255.6 kB / 0.7549 GB, free: 168.1 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001828/0.6748, allocations: 1.647 MB / 0.7565 GB, free: 166.6 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001006/0.6758, allocations: 147.7 kB / 0.7566 GB, free: 166.5 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.533e-05/0.6759, allocations: 56.2 kB / 0.7567 GB, free: 166.5 MB / 0.5762 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.0004426/0.6764, allocations: 344.4 kB / 0.757 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.6766, allocations: 120.5 kB / 0.7571 GB, free: 166.2 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00333/0.6799, allocations: 1.713 MB / 0.7588 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.174e-05/0.6799, allocations: 15.09 kB / 0.7588 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.6799, allocations: 0.875 kB / 0.7588 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.642e-05/0.68, allocations: 8.219 kB / 0.7588 GB, free: 165.5 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001397/0.6814, allocations: 1.416 MB / 0.7602 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.779e-06/0.6814, allocations: 5.641 kB / 0.7602 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0008551/0.6822, allocations: 214.9 kB / 0.7604 GB, free: 164.9 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004175/0.6827, allocations: 73.72 kB / 0.7605 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.716e-05/0.6828, allocations: 37.89 kB / 0.7605 GB, free: 164.8 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001459/0.6842, allocations: 1.674 MB / 0.7622 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.163e-06/0.6842, allocations: 0 / 0.7622 GB, free: 163.3 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002498/0.6867, allocations: 1.415 MB / 0.7635 GB, free: 162.7 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004088/0.6872, allocations: 371.2 kB / 0.7639 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001701/0.6873, allocations: 39.44 kB / 0.7639 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000898/0.6882, allocations: 88.17 kB / 0.764 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002075/0.6885, allocations: 113.1 kB / 0.7641 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.336e-05/0.6886, allocations: 57.08 kB / 0.7642 GB, free: 162.4 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007176/0.6893, allocations: 0.6503 MB / 0.7648 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6893, allocations: 1.375 kB / 0.7648 GB, free: 162.1 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009358/0.6902, allocations: 479.8 kB / 0.7653 GB, free: 162 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: 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.003668/0.6939, allocations: 2.483 MB / 0.7677 GB, free: 160.8 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003506/0.6974, allocations: 1.557 MB / 0.7692 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.6974, allocations: 3.812 kB / 0.7692 GB, free: 160.3 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001079/0.6985, allocations: 0.7423 MB / 0.7699 GB, free: 159.9 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00118/0.6997, allocations: 358.9 kB / 0.7703 GB, free: 159.8 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01199/0.7117, allocations: 9.867 MB / 0.7799 GB, free: 153.9 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004903/0.7122, allocations: 1.235 MB / 0.7811 GB, free: 152.7 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009753/0.7132, allocations: 338.1 kB / 0.7815 GB, free: 152.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006555/0.7139, allocations: 0.6281 MB / 0.7821 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.7139, allocations: 1.422 kB / 0.7821 GB, free: 151.7 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04475/0.7586, allocations: 30.76 MB / 0.8121 GB, free: 121.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.58/11.34, allocations: 13.58 kB / 0.8121 GB, free: 121.3 MB / 0.5762 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)