Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.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.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime",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.001287/0.001287, allocations: 101.6 kB / 16.4 MB, free: 6.504 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: 196 kB / 17.34 MB, free: 5.727 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.338/1.338, allocations: 222.9 MB / 241 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.8226/0.8226, allocations: 126.7 MB / 417.9 MB, free: 12.26 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.003257/0.003257, allocations: 69.12 kB / 0.5735 GB, free: 27.11 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1671/0.1704, allocations: 78.87 MB / 0.6506 GB, free: 3.566 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime): time 0.002664/0.1731, allocations: 1.579 MB / 0.6521 GB, free: 1.977 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0009014/0.174, allocations: 0.5492 MB / 0.6526 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.881e-05/0.1741, allocations: 0 / 0.6526 GB, free: 1.422 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 3.025e-05/0.1741, allocations: 7.922 kB / 0.6527 GB, free: 1.414 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002345/0.1743, allocations: 43.69 kB / 0.6527 GB, free: 1.371 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001088/0.1745, allocations: 47.88 kB / 0.6527 GB, free: 1.324 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001364/0.1746, allocations: 103.6 kB / 0.6528 GB, free: 1.223 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001035/0.1747, allocations: 19.98 kB / 0.6529 GB, free: 1.203 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001035/0.1748, allocations: 47.83 kB / 0.6529 GB, free: 1.156 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001073/0.1749, allocations: 55.77 kB / 0.653 GB, free: 1.102 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 2.29e-05/0.175, allocations: 8 kB / 0.653 GB, free: 1.094 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 2.075e-05/0.175, allocations: 12 kB / 0.653 GB, free: 1.082 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 3.27e-05/0.175, allocations: 19.97 kB / 0.653 GB, free: 1.062 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.976e-05/0.1751, allocations: 39.8 kB / 0.653 GB, free: 1.023 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001533/0.1753, allocations: 103.8 kB / 0.6531 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1753, allocations: 0 / 0.6531 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.172e-06/0.1753, allocations: 0 / 0.6531 GB, free: 0.9219 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.827e-06/0.1753, allocations: 0 / 0.6531 GB, free: 0.9219 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0007015/0.176, allocations: 407.1 kB / 0.6535 GB, free: 488 kB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.37e-05/0.176, allocations: 15.97 kB / 0.6535 GB, free: 472 kB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.834e-05/0.1761, allocations: 34.75 kB / 0.6536 GB, free: 428 kB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.192e-05/0.1761, allocations: 8.891 kB / 0.6536 GB, free: 420 kB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000173/0.1763, allocations: 184.3 kB / 0.6538 GB, free: 196 kB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.285e-05/0.1763, allocations: 4.375 kB / 0.6538 GB, free: 192 kB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.664e-05/0.1763, allocations: 4.375 kB / 0.6538 GB, free: 188 kB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001718/0.1765, allocations: 93.7 kB / 0.6539 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.344e-06/0.1765, allocations: 0 / 0.6539 GB, free: 88 kB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.056e-05/0.1765, allocations: 4 kB / 0.6539 GB, free: 84 kB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.082e-06/0.1766, allocations: 4 kB / 0.6539 GB, free: 80 kB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001193/0.1767, allocations: 47.97 kB / 0.6539 GB, free: 32 kB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005188/0.1772, allocations: 348.6 kB / 0.6542 GB, free: 15.64 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002764/0.1775, allocations: 98.73 kB / 0.6543 GB, free: 15.54 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.633e-05/0.1776, allocations: 48.83 kB / 0.6544 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 1.118e-05/0.1776, allocations: 0 / 0.6544 GB, free: 15.48 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001998/0.1778, allocations: 103.2 kB / 0.6545 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=11): time 1.332e-06/0.1778, allocations: 0 / 0.6545 GB, free: 15.37 MB / 0.4981 GB Notification: Performance of matching and sorting (n=11): time 0.0003325/0.1782, allocations: 141.6 kB / 0.6546 GB, free: 15.23 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.159e-05/0.1782, allocations: 55.41 kB / 0.6547 GB, free: 15.16 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001186/0.1783, allocations: 134.2 kB / 0.6548 GB, free: 15.02 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 2.164e-05/0.1784, allocations: 25.7 kB / 0.6548 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 6.947e-05/0.1784, allocations: 108.3 kB / 0.6549 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 3.764e-05/0.1785, allocations: 31.78 kB / 0.655 GB, free: 14.84 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.552e-05/0.1785, allocations: 29.7 kB / 0.655 GB, free: 14.81 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.0001414/0.1787, allocations: 314.8 kB / 0.6553 GB, free: 14.49 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.788e-05/0.1788, allocations: 31.92 kB / 0.6553 GB, free: 14.46 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.669e-05/0.1788, allocations: 27.98 kB / 0.6553 GB, free: 14.43 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001351/0.179, allocations: 66.34 kB / 0.6554 GB, free: 14.37 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.413e-06/0.179, allocations: 4 kB / 0.6554 GB, free: 14.36 MB / 0.4981 GB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0001939/0.1792, allocations: 109.6 kB / 0.6555 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.097e-05/0.1792, allocations: 4 kB / 0.6555 GB, free: 14.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.58e-06/0.1792, allocations: 3.984 kB / 0.6555 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.297e-05/0.1792, allocations: 0 / 0.6555 GB, free: 14.24 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001151/0.1793, allocations: 27.92 kB / 0.6555 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.278e-06/0.1793, allocations: 0 / 0.6555 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001146/0.1795, allocations: 23.81 kB / 0.6556 GB, free: 14.19 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.224e-05/0.1795, allocations: 4 kB / 0.6556 GB, free: 14.19 MB / 0.4981 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 6 (eqnTim.tNext,$PRE.eqnTim.tNext,locTim.tNext,$PRE.locTim.tNext,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001053/0.1796, allocations: 117.8 kB / 0.6557 GB, free: 14.06 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.985e-05/0.1796, allocations: 11.89 kB / 0.6557 GB, free: 14.05 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000295/0.1799, allocations: 157.1 kB / 0.6558 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.449e-06/0.1799, allocations: 4 kB / 0.6558 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.276e-06/0.1799, allocations: 0 / 0.6558 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.189e-06/0.18, allocations: 3.938 kB / 0.6559 GB, free: 13.89 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002052/0.1802, allocations: 205.6 kB / 0.656 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.102e-06/0.1802, allocations: 0 / 0.656 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.349e-05/0.1803, allocations: 15.98 kB / 0.6561 GB, free: 13.62 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.998e-06/0.1803, allocations: 7.984 kB / 0.6561 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.397e-05/0.1803, allocations: 4 kB / 0.6561 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.483e-06/0.1803, allocations: 0 / 0.6561 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1803, allocations: 0 / 0.6561 GB, free: 13.61 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002705/0.1806, allocations: 164.9 kB / 0.6562 GB, free: 13.43 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 6.068e-05/0.1807, allocations: 96.94 kB / 0.6563 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.182e-05/0.1807, allocations: 0 / 0.6563 GB, free: 13.32 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001085/0.1808, allocations: 12 kB / 0.6563 GB, free: 13.3 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.857e-05/0.1809, allocations: 15.92 kB / 0.6564 GB, free: 13.29 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.762e-05/0.1809, allocations: 7.984 kB / 0.6564 GB, free: 13.28 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 8.195e-05/0.181, allocations: 103.2 kB / 0.6565 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.181, allocations: 0 / 0.6565 GB, free: 13.18 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002101/0.1812, allocations: 20 kB / 0.6565 GB, free: 13.16 MB / 0.4981 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 ($whenCondition2,$whenCondition1,locTim.tNext,eqnTim.tNext) * Number of discrete states: 2 (locTim.tNext,eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (14): * Single equations (assignments): 12 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005876/0.1818, allocations: 0.7022 MB / 0.6572 GB, free: 12.43 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001992/0.182, allocations: 87.2 kB / 0.6572 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.182, allocations: 0 / 0.6572 GB, free: 12.35 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.0001108/0.1821, allocations: 59.91 kB / 0.6573 GB, free: 12.29 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001559/0.1823, allocations: 9.656 kB / 0.6573 GB, free: 12.28 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001586/0.1839, allocations: 1.446 MB / 0.6587 GB, free: 10.75 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003257/0.1842, allocations: 0.7041 MB / 0.6594 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 5.872e-05/0.1843, allocations: 4.562 kB / 0.6594 GB, free: 10.02 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.306e-05/0.1844, allocations: 35.42 kB / 0.6595 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of SimCode: time 2.51e-07/0.1844, allocations: 0 / 0.6595 GB, free: 9.984 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2082/0.3926, allocations: 2.313 MB / 0.6617 GB, free: 7.816 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.277/8.67, allocations: 0 / 0.6617 GB, free: 7.816 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime_res.csv --start-time 0 --stop-time 864000 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 345.6 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_SolarTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.SolarTime.pipe 2>&1)