Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.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.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",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.0008319/0.000832, allocations: 88.17 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000895/0.0008951, allocations: 176.5 kB / 16.58 MB, free: 6.852 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.287/1.287, allocations: 223.2 MB / 240.6 MB, free: 5.422 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.6536/0.6536, allocations: 113.7 MB / 405.5 MB, free: 4.613 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003384/0.0003384, allocations: 8.906 kB / 493.2 MB, free: 8.617 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1718/0.1721, allocations: 77.12 MB / 0.5569 GB, free: 11.71 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.001701/0.1739, allocations: 1.145 MB / 0.558 GB, free: 10.55 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008342/0.1747, allocations: 471.2 kB / 0.5585 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.376e-05/0.1748, allocations: 0 / 0.5585 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 1.561e-05/0.1748, allocations: 4 kB / 0.5585 GB, free: 10.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002377/0.175, allocations: 23.89 kB / 0.5585 GB, free: 10.06 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001033/0.1751, allocations: 27.91 kB / 0.5585 GB, free: 10.04 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 8.36e-05/0.1752, allocations: 39.84 kB / 0.5586 GB, free: 9.996 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.277e-05/0.1753, allocations: 8 kB / 0.5586 GB, free: 9.988 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.15e-05/0.1754, allocations: 19.92 kB / 0.5586 GB, free: 9.969 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.1755, allocations: 19.97 kB / 0.5586 GB, free: 9.949 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 1.919e-05/0.1755, allocations: 3.938 kB / 0.5586 GB, free: 9.945 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.371e-05/0.1756, allocations: 4 kB / 0.5586 GB, free: 9.941 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 2.271e-05/0.1756, allocations: 11.92 kB / 0.5586 GB, free: 9.93 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 3.951e-05/0.1756, allocations: 33.7 kB / 0.5587 GB, free: 9.891 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 7.653e-05/0.1757, allocations: 32.16 kB / 0.5587 GB, free: 9.859 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.009e-06/0.1757, allocations: 0 / 0.5587 GB, free: 9.859 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.713e-06/0.1757, allocations: 0 / 0.5587 GB, free: 9.859 MB / 430.1 MB Notification: Performance of Transformations before backend: time 3.557e-06/0.1758, allocations: 0 / 0.5587 GB, free: 9.859 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000581/0.1763, allocations: 343.3 kB / 0.559 GB, free: 9.477 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1764, allocations: 12.03 kB / 0.559 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.881e-05/0.1764, allocations: 30.56 kB / 0.5591 GB, free: 9.426 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.838e-05/0.1765, allocations: 4 kB / 0.5591 GB, free: 9.422 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001616/0.1766, allocations: 178.9 kB / 0.5592 GB, free: 9.207 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.722e-05/0.1767, allocations: 3.984 kB / 0.5592 GB, free: 9.203 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.398e-05/0.1767, allocations: 7.938 kB / 0.5593 GB, free: 9.195 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001329/0.1768, allocations: 53.62 kB / 0.5593 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.041e-05/0.1768, allocations: 0 / 0.5593 GB, free: 9.137 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.038e-05/0.1769, allocations: 4 kB / 0.5593 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.1e-06/0.1769, allocations: 0 / 0.5593 GB, free: 9.133 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.207e-05/0.177, allocations: 27.98 kB / 0.5593 GB, free: 9.105 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004027/0.1774, allocations: 272.8 kB / 0.5596 GB, free: 8.789 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002417/0.1776, allocations: 66.62 kB / 0.5597 GB, free: 8.715 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.326e-05/0.1777, allocations: 24.84 kB / 0.5597 GB, free: 8.688 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.391e-05/0.1777, allocations: 4 kB / 0.5597 GB, free: 8.684 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000223/0.1779, allocations: 75.31 kB / 0.5598 GB, free: 8.598 MB / 430.1 MB Notification: Performance of pre-optimization done (n=6): time 1.333e-06/0.178, allocations: 0 / 0.5598 GB, free: 8.598 MB / 430.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002738/0.1782, allocations: 85.67 kB / 0.5598 GB, free: 8.508 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.012e-05/0.1783, allocations: 51.41 kB / 0.5599 GB, free: 8.445 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.19e-05/0.1784, allocations: 105.8 kB / 0.56 GB, free: 8.332 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.04e-05/0.1784, allocations: 25.7 kB / 0.56 GB, free: 8.301 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.184e-05/0.1785, allocations: 92.05 kB / 0.5601 GB, free: 8.207 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.435e-05/0.1785, allocations: 15.75 kB / 0.5601 GB, free: 8.191 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.38e-06/0.1785, allocations: 0 / 0.5601 GB, free: 8.191 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001498/0.1787, allocations: 322.8 kB / 0.5604 GB, free: 7.867 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.456e-05/0.1787, allocations: 8.078 kB / 0.5604 GB, free: 7.859 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.443e-05/0.1788, allocations: 19.97 kB / 0.5604 GB, free: 7.84 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.785e-05/0.1788, allocations: 27.88 kB / 0.5605 GB, free: 7.812 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.563e-06/0.1788, allocations: 4 kB / 0.5605 GB, free: 7.809 MB / 430.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000118/0.179, allocations: 69.64 kB / 0.5605 GB, free: 7.734 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.353e-05/0.179, allocations: 4 kB / 0.5605 GB, free: 7.73 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.41e-06/0.179, allocations: 4 kB / 0.5606 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.437e-05/0.179, allocations: 0 / 0.5606 GB, free: 7.727 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.134e-05/0.1791, allocations: 11.98 kB / 0.5606 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.1791, allocations: 256 / 0.5606 GB, free: 7.715 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.084e-05/0.1792, allocations: 4 kB / 0.5606 GB, free: 7.711 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.528e-05/0.1792, allocations: 11.98 kB / 0.5606 GB, free: 7.699 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,$PRE.eqnTim.tNext,eqnTim.tNext) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001144/0.1793, allocations: 109.8 kB / 0.5607 GB, free: 7.582 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.533e-05/0.1793, allocations: 15.8 kB / 0.5607 GB, free: 7.566 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002017/0.1795, allocations: 101.6 kB / 0.5608 GB, free: 7.461 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.834e-06/0.1796, allocations: 4.094 kB / 0.5608 GB, free: 7.457 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.862e-06/0.1796, allocations: 3.938 kB / 0.5608 GB, free: 7.453 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.897e-06/0.1796, allocations: 4.125 kB / 0.5608 GB, free: 7.449 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000165/0.1797, allocations: 181.6 kB / 0.561 GB, free: 7.223 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.045e-06/0.1798, allocations: 3.984 kB / 0.561 GB, free: 7.219 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.75e-05/0.1798, allocations: 12 kB / 0.561 GB, free: 7.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.557e-06/0.1798, allocations: 3.953 kB / 0.561 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.1798, allocations: 0 / 0.561 GB, free: 7.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.218e-06/0.1799, allocations: 3.984 kB / 0.561 GB, free: 7.199 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.1799, allocations: 4 kB / 0.561 GB, free: 7.195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000187/0.1801, allocations: 117 kB / 0.5611 GB, free: 7.062 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.115e-05/0.1801, allocations: 85.05 kB / 0.5612 GB, free: 6.961 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.989e-05/0.1802, allocations: 3.953 kB / 0.5612 GB, free: 6.957 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.398e-05/0.1802, allocations: 8 kB / 0.5612 GB, free: 6.949 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.651e-05/0.1803, allocations: 7.984 kB / 0.5612 GB, free: 6.941 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.413e-05/0.1803, allocations: 4 kB / 0.5612 GB, free: 6.938 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.734e-05/0.1804, allocations: 91.27 kB / 0.5613 GB, free: 6.848 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1804, allocations: 0 / 0.5613 GB, free: 6.848 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.000182/0.1805, allocations: 11.91 kB / 0.5613 GB, free: 6.836 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($whenCondition1,eqnTim.tNext) * Number of discrete states: 1 (eqnTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 1 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0005129/0.1811, allocations: 0.6483 MB / 0.562 GB, free: 6.16 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0001458/0.1812, allocations: 55.91 kB / 0.562 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 1.994e-06/0.1812, allocations: 0 / 0.562 GB, free: 6.105 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 6.361e-05/0.1813, allocations: 36.06 kB / 0.562 GB, free: 6.07 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.1815, allocations: 11.89 kB / 0.5621 GB, free: 6.059 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007583/0.1822, allocations: 449.5 kB / 0.5625 GB, free: 5.574 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003223/0.1826, allocations: 0.6848 MB / 0.5632 GB, free: 4.863 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 4.436e-05/0.1826, allocations: 8.172 kB / 0.5632 GB, free: 4.855 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.356e-05/0.1827, allocations: 19.38 kB / 0.5632 GB, free: 4.836 MB / 430.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1827, allocations: 0 / 0.5632 GB, free: 4.836 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.1964, allocations: 1.42 MB / 0.5646 GB, free: 3.625 MB / 430.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000181/0.1966, allocations: 209.7 kB / 0.5648 GB, free: 3.387 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.819/2.016, allocations: 2.391 kB / 0.5648 GB, free: 3.387 MB / 430.1 MB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime_fmu --startTime=0 --stopTime=86400 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1) Environment - environmentSimulation: