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.001175/0.001175, allocations: 106 kB / 16.27 MB, free: 5.98 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.001183/0.001183, allocations: 190.4 kB / 17.19 MB, free: 5.621 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.201/1.201, allocations: 222.9 MB / 240.9 MB, free: 15.19 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6853/0.6853, allocations: 122.9 MB / 413.9 MB, free: 15.9 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001205/0.001205, allocations: 67.84 kB / 0.4912 GB, free: 7.324 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2744/0.2756, allocations: 77.91 MB / 0.5673 GB, free: 32.67 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.SolarGeometry.BaseClasses.Examples.IncidenceAngle): time 0.004988/0.2806, allocations: 4.964 MB / 0.5721 GB, free: 29.13 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.1371/0.4177, allocations: 150.8 MB / 0.7194 GB, free: 14.51 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008989/0.4187, allocations: 19.88 kB / 0.7194 GB, free: 14.49 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.000565/0.4192, allocations: 202.1 kB / 0.7196 GB, free: 14.29 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.001672/0.4209, allocations: 0.5697 MB / 0.7202 GB, free: 13.72 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.001761/0.4227, allocations: 0.8347 MB / 0.721 GB, free: 12.89 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.001132/0.4238, allocations: 1.448 MB / 0.7224 GB, free: 11.43 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007401/0.4246, allocations: 0.5871 MB / 0.723 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0005228/0.4251, allocations: 0.5099 MB / 0.7235 GB, free: 10.3 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0005378/0.4257, allocations: 0.5329 MB / 0.724 GB, free: 9.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 0.000153/0.4258, allocations: 120 kB / 0.7241 GB, free: 9.652 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0007118/0.4266, allocations: 467.6 kB / 0.7245 GB, free: 9.195 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0002521/0.4268, allocations: 311 kB / 0.7248 GB, free: 8.891 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0004537/0.4273, allocations: 0.5868 MB / 0.7254 GB, free: 8.301 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.001405/0.4287, allocations: 1.647 MB / 0.727 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.4287, allocations: 0 / 0.727 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.082e-06/0.4287, allocations: 0 / 0.727 GB, free: 6.648 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.413e-05/0.4287, allocations: 0 / 0.727 GB, free: 6.648 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: 223 * Number of variables: 223 Notification: Performance of Generate backend data structure: time 0.002357/0.4311, allocations: 1.487 MB / 0.7285 GB, free: 5.109 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.402e-05/0.4311, allocations: 12.56 kB / 0.7285 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001515/0.4313, allocations: 143.7 kB / 0.7286 GB, free: 4.949 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0008648/0.4322, allocations: 191.3 kB / 0.7288 GB, free: 4.762 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009222/0.4331, allocations: 0.7545 MB / 0.7295 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.884e-05/0.4332, allocations: 69.98 kB / 0.7296 GB, free: 3.898 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001027/0.4333, allocations: 84 kB / 0.7297 GB, free: 3.816 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00146/0.4347, allocations: 0.9613 MB / 0.7306 GB, free: 2.812 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.764e-05/0.4348, allocations: 4 kB / 0.7306 GB, free: 2.809 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.941e-05/0.4349, allocations: 47.92 kB / 0.7307 GB, free: 2.762 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.533e-05/0.4349, allocations: 20 kB / 0.7307 GB, free: 2.742 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001711/0.4366, allocations: 1.159 MB / 0.7318 GB, free: 1.582 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.003852/0.4405, allocations: 2.888 MB / 0.7346 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001481/0.4419, allocations: 0.8487 MB / 0.7355 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005448/0.4425, allocations: 323.7 kB / 0.7358 GB, free: 13.4 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 7.591e-05/0.4426, allocations: 32.69 kB / 0.7358 GB, free: 13.37 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008969/0.4435, allocations: 0.5383 MB / 0.7363 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=88): time 3.977e-06/0.4435, allocations: 0 / 0.7363 GB, free: 12.81 MB / 0.5762 GB Notification: Performance of matching and sorting (n=88): time 0.003203/0.4467, allocations: 1.294 MB / 0.7376 GB, free: 11.49 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.923e-05/0.4468, allocations: 192.9 kB / 0.7378 GB, free: 11.26 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007256/0.4476, allocations: 0.6528 MB / 0.7384 GB, free: 10.61 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 6.005e-05/0.4476, allocations: 41.7 kB / 0.7385 GB, free: 10.56 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002928/0.4479, allocations: 420.3 kB / 0.7389 GB, free: 10.14 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001961/0.4481, allocations: 276 kB / 0.7391 GB, free: 9.867 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002271/0.4484, allocations: 154.5 kB / 0.7393 GB, free: 9.707 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001548/0.4485, allocations: 398.7 kB / 0.7397 GB, free: 9.309 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005057/0.449, allocations: 269.9 kB / 0.7399 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006276/0.4497, allocations: 390.5 kB / 0.7403 GB, free: 8.641 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00112/0.4508, allocations: 0.6398 MB / 0.7409 GB, free: 7.988 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.786e-06/0.4508, allocations: 3.938 kB / 0.7409 GB, free: 7.984 MB / 0.5762 GB Notification: Performance of matching and sorting (n=99) (initialization): time 0.001876/0.4527, allocations: 0.876 MB / 0.7418 GB, free: 7.102 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.512e-05/0.4527, allocations: 6.188 kB / 0.7418 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.4527, allocations: 0 / 0.7418 GB, free: 7.098 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005627/0.4533, allocations: 84.83 kB / 0.7419 GB, free: 7.012 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006759/0.454, allocations: 167.8 kB / 0.742 GB, free: 6.848 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001896/0.4559, allocations: 1.642 MB / 0.7436 GB, free: 5.059 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006578/0.4566, allocations: 100.6 kB / 0.7437 GB, free: 4.961 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.278e-05/0.4566, allocations: 35.97 kB / 0.7437 GB, free: 4.926 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: 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.0003289/0.457, allocations: 265.4 kB / 0.744 GB, free: 4.656 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001483/0.4571, allocations: 90.88 kB / 0.7441 GB, free: 4.566 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002476/0.4596, allocations: 1.164 MB / 0.7452 GB, free: 3.383 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.656e-06/0.4596, allocations: 16 kB / 0.7452 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.324e-06/0.4596, allocations: 0 / 0.7452 GB, free: 3.367 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.105e-05/0.4596, allocations: 7.969 kB / 0.7452 GB, free: 3.359 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009232/0.4606, allocations: 0.9386 MB / 0.7462 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.826e-06/0.4606, allocations: 0 / 0.7462 GB, free: 2.367 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000598/0.4612, allocations: 151.8 kB / 0.7463 GB, free: 2.219 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004304/0.4616, allocations: 80.7 kB / 0.7464 GB, free: 2.137 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.336e-05/0.4617, allocations: 31.98 kB / 0.7464 GB, free: 2.105 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001696/0.4634, allocations: 1.654 MB / 0.748 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.072e-06/0.4634, allocations: 0 / 0.748 GB, free: 316 kB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2132/0.6766, allocations: 0.9924 MB / 0.749 GB, free: 170.8 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004333/0.6771, allocations: 279.8 kB / 0.7493 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/0.6773, allocations: 29.17 kB / 0.7493 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007205/0.678, allocations: 65.83 kB / 0.7494 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002242/0.6782, allocations: 78.5 kB / 0.7494 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.923e-05/0.6783, allocations: 38.77 kB / 0.7495 GB, free: 170.7 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.0007173/0.679, allocations: 483.5 kB / 0.7499 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8.62e-07/0.6791, allocations: 0.7188 kB / 0.7499 GB, free: 170.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0009192/0.68, allocations: 332.5 kB / 0.7502 GB, free: 170.5 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: 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.003583/0.6836, allocations: 2.055 MB / 0.7523 GB, free: 169.6 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.002654/0.6862, allocations: 1.076 MB / 0.7533 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 5.17e-06/0.6863, allocations: 0.5938 kB / 0.7533 GB, free: 169.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.00108/0.6873, allocations: 0.5529 MB / 0.7538 GB, free: 169 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001333/0.6887, allocations: 304.8 kB / 0.7541 GB, free: 168.9 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00951/0.6982, allocations: 6.759 MB / 0.7607 GB, free: 165.3 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004785/0.6987, allocations: 1.041 MB / 0.7618 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008462/0.6996, allocations: 269.9 kB / 0.762 GB, free: 164.6 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004678/0.7, allocations: 409.2 kB / 0.7624 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of SimCode: time 5.91e-07/0.7, allocations: 1.75 kB / 0.7624 GB, free: 164.3 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04042/0.7405, allocations: 22.47 MB / 0.7843 GB, free: 150.2 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.45/11.19, allocations: 4.609 kB / 0.7843 GB, free: 150.2 MB / 0.5762 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)