Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-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(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime,fileNamePrefix="BuildingSystems_BuildingSystems_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.004837/0.004837, allocations: 99 kB / 15.73 MB, free: 6.008 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.001271/0.001271, allocations: 196.4 kB / 16.67 MB, free: 5.934 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.416/1.416, allocations: 222.9 MB / 240.4 MB, free: 4.309 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002507/0.002507, allocations: 294 kB / 290.8 MB, free: 1.895 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.017/1.017, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002755/0.002755, allocations: 99.84 kB / 0.681 GB, free: 15.96 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1579, allocations: 86.98 MB / 0.7659 GB, free: 8.902 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002538/0.1605, allocations: 1.447 MB / 0.7673 GB, free: 7.445 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0008532/0.1614, allocations: 0.5031 MB / 0.7678 GB, free: 6.938 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.645e-05/0.1614, allocations: 4 kB / 0.7678 GB, free: 6.934 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 2.917e-05/0.1614, allocations: 3.938 kB / 0.7678 GB, free: 6.93 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001861/0.1616, allocations: 19.91 kB / 0.7678 GB, free: 6.91 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0001036/0.1618, allocations: 23.92 kB / 0.7679 GB, free: 6.887 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 9.218e-05/0.1619, allocations: 51.83 kB / 0.7679 GB, free: 6.836 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 8.012e-05/0.1619, allocations: 12.22 kB / 0.7679 GB, free: 6.824 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 8.619e-05/0.162, allocations: 27.92 kB / 0.768 GB, free: 6.797 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 7.922e-05/0.1621, allocations: 27.89 kB / 0.768 GB, free: 6.77 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.141e-05/0.1622, allocations: 4 kB / 0.768 GB, free: 6.766 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 1.306e-05/0.1622, allocations: 4 kB / 0.768 GB, free: 6.762 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.527e-05/0.1622, allocations: 11.94 kB / 0.768 GB, free: 6.75 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 4.015e-05/0.1622, allocations: 19.92 kB / 0.768 GB, free: 6.73 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 9.738e-05/0.1623, allocations: 47.8 kB / 0.7681 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 2.896e-06/0.1624, allocations: 0 / 0.7681 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.102e-06/0.1624, allocations: 0 / 0.7681 GB, free: 6.684 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.479e-06/0.1624, allocations: 0 / 0.7681 GB, free: 6.684 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006043/0.163, allocations: 355.4 kB / 0.7684 GB, free: 6.289 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.261e-05/0.163, allocations: 8.031 kB / 0.7684 GB, free: 6.281 MB / 0.5606 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.316e-05/0.1631, allocations: 34.75 kB / 0.7684 GB, free: 6.238 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.879e-05/0.1631, allocations: 8.891 kB / 0.7685 GB, free: 6.23 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001478/0.1633, allocations: 172.3 kB / 0.7686 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.367e-05/0.1633, allocations: 384 / 0.7686 GB, free: 6.023 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.551e-05/0.1633, allocations: 12.31 kB / 0.7686 GB, free: 6.012 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001265/0.1634, allocations: 65.78 kB / 0.7687 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.206e-06/0.1635, allocations: 0 / 0.7687 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.1635, allocations: 0 / 0.7687 GB, free: 5.941 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.258e-06/0.1635, allocations: 3.938 kB / 0.7687 GB, free: 5.938 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.153e-05/0.1636, allocations: 23.98 kB / 0.7687 GB, free: 5.914 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003749/0.164, allocations: 272.8 kB / 0.769 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002212/0.1642, allocations: 70.61 kB / 0.7691 GB, free: 5.52 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.876e-05/0.1642, allocations: 24.84 kB / 0.7691 GB, free: 5.492 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 2.099e-05/0.1643, allocations: 4 kB / 0.7691 GB, free: 5.488 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.1645, allocations: 67.34 kB / 0.7691 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=6): time 1.422e-06/0.1645, allocations: 0 / 0.7691 GB, free: 5.41 MB / 0.5606 GB Notification: Performance of matching and sorting (n=6): time 0.0002413/0.1647, allocations: 97.59 kB / 0.7692 GB, free: 5.309 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.921e-05/0.1648, allocations: 55.41 kB / 0.7693 GB, free: 5.242 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.148e-05/0.1649, allocations: 101.9 kB / 0.7694 GB, free: 5.133 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.826e-05/0.1649, allocations: 29.64 kB / 0.7694 GB, free: 5.098 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.485e-05/0.1649, allocations: 84.12 kB / 0.7695 GB, free: 5.012 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.503e-05/0.165, allocations: 19.86 kB / 0.7695 GB, free: 4.992 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/0.165, allocations: 21.7 kB / 0.7695 GB, free: 4.965 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.1652, allocations: 314.8 kB / 0.7698 GB, free: 4.648 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.235e-05/0.1652, allocations: 16 kB / 0.7698 GB, free: 4.633 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.334e-05/0.1653, allocations: 19.98 kB / 0.7699 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.729e-05/0.1653, allocations: 36.84 kB / 0.7699 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.496e-06/0.1653, allocations: 0 / 0.7699 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001377/0.1655, allocations: 77.69 kB / 0.77 GB, free: 4.492 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.154e-05/0.1655, allocations: 4 kB / 0.77 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.637e-06/0.1655, allocations: 0 / 0.77 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.111e-05/0.1655, allocations: 0 / 0.77 GB, free: 4.488 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.024e-05/0.1656, allocations: 11.98 kB / 0.77 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.438e-06/0.1656, allocations: 0 / 0.77 GB, free: 4.477 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.911e-05/0.1657, allocations: 7.938 kB / 0.77 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.112e-05/0.1657, allocations: 8 kB / 0.77 GB, free: 4.461 MB / 0.5606 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 (eqnTim.tNext,$PRE.eqnTim.tNext,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.936e-05/0.1658, allocations: 118.4 kB / 0.7701 GB, free: 4.336 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.578e-05/0.1658, allocations: 8.203 kB / 0.7701 GB, free: 4.328 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002132/0.1661, allocations: 101.6 kB / 0.7702 GB, free: 4.223 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.721e-06/0.1661, allocations: 4 kB / 0.7702 GB, free: 4.219 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1661, allocations: 4 kB / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.725e-06/0.1661, allocations: 0 / 0.7702 GB, free: 4.215 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001666/0.1663, allocations: 181.5 kB / 0.7704 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.488e-06/0.1663, allocations: 8.078 kB / 0.7704 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.361e-05/0.1663, allocations: 11.94 kB / 0.7704 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1664, allocations: 4 kB / 0.7704 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.898e-06/0.1664, allocations: 0 / 0.7704 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1664, allocations: 0 / 0.7704 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.1664, allocations: 0 / 0.7704 GB, free: 3.965 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001887/0.1666, allocations: 120.9 kB / 0.7705 GB, free: 3.828 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.878e-05/0.1666, allocations: 85.28 kB / 0.7706 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.706e-05/0.1667, allocations: 0 / 0.7706 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.271e-05/0.1667, allocations: 15.98 kB / 0.7706 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.82e-05/0.1668, allocations: 7.984 kB / 0.7706 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.202e-05/0.1668, allocations: 0 / 0.7706 GB, free: 3.703 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 5.042e-05/0.1669, allocations: 87.22 kB / 0.7707 GB, free: 3.617 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.1669, allocations: 4 kB / 0.7707 GB, free: 3.613 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0001958/0.1671, allocations: 11.95 kB / 0.7707 GB, free: 3.602 MB / 0.5606 GB 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 (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.0005271/0.1676, allocations: 0.6632 MB / 0.7714 GB, free: 2.91 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001492/0.1678, allocations: 47.92 kB / 0.7714 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.1678, allocations: 0 / 0.7714 GB, free: 2.863 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 6.957e-05/0.1679, allocations: 35.92 kB / 0.7715 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001484/0.168, allocations: 12.31 kB / 0.7715 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001253/0.1693, allocations: 1.235 MB / 0.7727 GB, free: 1.5 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003232/0.1696, allocations: 0.6846 MB / 0.7734 GB, free: 0.7891 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.272e-05/0.1697, allocations: 11.75 kB / 0.7734 GB, free: 0.7773 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.199e-05/0.1697, allocations: 19.42 kB / 0.7734 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of SimCode: time 2.81e-07/0.1697, allocations: 0 / 0.7734 GB, free: 0.7578 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2883/0.458, allocations: 1.67 MB / 0.775 GB, free: 14.34 MB / 0.5606 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.749/8.207, allocations: 7.656 kB / 0.775 GB, free: 14.33 MB / 0.5606 GB (rm -f BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; mkfifo BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe >> ../files/BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime_res.csv --start-time 0 --stop-time 86400 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 34.56 BuildingSystems_BuildingSystems_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > BuildingSystems_BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)