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.001865/0.001865, allocations: 108 kB / 15.6 MB, free: 132 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.002115/0.002115, allocations: 199.2 kB / 16.54 MB, free: 6.672 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.423/1.423, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002532/0.002532, allocations: 287 kB / 290.7 MB, free: 2.016 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.081/1.081, allocations: 178.6 MB / 0.5073 GB, free: 4.551 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002744/0.002744, allocations: 99.72 kB / 0.6065 GB, free: 24.75 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1453/0.148, allocations: 89.14 MB / 0.6936 GB, free: 4.23 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002673/0.1507, allocations: 1.454 MB / 0.695 GB, free: 2.777 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008211/0.1516, allocations: 0.5025 MB / 0.6955 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.43e-05/0.1516, allocations: 0 / 0.6955 GB, free: 2.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.782e-05/0.1516, allocations: 7.938 kB / 0.6955 GB, free: 2.266 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001828/0.1518, allocations: 15.91 kB / 0.6955 GB, free: 2.25 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001032/0.1519, allocations: 27.91 kB / 0.6956 GB, free: 2.223 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.28e-05/0.152, allocations: 52.56 kB / 0.6956 GB, free: 2.172 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.263e-05/0.1521, allocations: 9.625 kB / 0.6956 GB, free: 2.164 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.281e-05/0.1522, allocations: 23.92 kB / 0.6956 GB, free: 2.141 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.253e-05/0.1523, allocations: 27.89 kB / 0.6957 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.807e-05/0.1523, allocations: 4.656 kB / 0.6957 GB, free: 2.109 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.444e-05/0.1523, allocations: 4 kB / 0.6957 GB, free: 2.105 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.423e-05/0.1524, allocations: 11.94 kB / 0.6957 GB, free: 2.094 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.386e-05/0.1524, allocations: 23.92 kB / 0.6957 GB, free: 2.07 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.927e-05/0.1525, allocations: 47.8 kB / 0.6958 GB, free: 2.023 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1525, allocations: 0 / 0.6958 GB, free: 2.023 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.392e-06/0.1525, allocations: 0 / 0.6958 GB, free: 2.023 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.078e-06/0.1525, allocations: 0 / 0.6958 GB, free: 2.023 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005956/0.1531, allocations: 355.4 kB / 0.6961 GB, free: 1.629 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.237e-05/0.1532, allocations: 12.03 kB / 0.6961 GB, free: 1.617 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.804e-05/0.1532, allocations: 30.75 kB / 0.6961 GB, free: 1.578 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.043e-05/0.1533, allocations: 8.844 kB / 0.6961 GB, free: 1.57 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001398/0.1534, allocations: 164.4 kB / 0.6963 GB, free: 1.371 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.583e-05/0.1534, allocations: 4.375 kB / 0.6963 GB, free: 1.367 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.164e-05/0.1535, allocations: 4.359 kB / 0.6963 GB, free: 1.363 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001229/0.1536, allocations: 61.73 kB / 0.6964 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.664e-06/0.1536, allocations: 0 / 0.6964 GB, free: 1.297 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.868e-06/0.1536, allocations: 4 kB / 0.6964 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.587e-06/0.1536, allocations: 0 / 0.6964 GB, free: 1.293 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.339e-05/0.1537, allocations: 27.98 kB / 0.6964 GB, free: 1.266 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003642/0.1541, allocations: 272.8 kB / 0.6967 GB, free: 0.9492 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002204/0.1543, allocations: 70.59 kB / 0.6967 GB, free: 0.8711 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.793e-05/0.1544, allocations: 24.84 kB / 0.6968 GB, free: 0.8438 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.359e-05/0.1544, allocations: 4 kB / 0.6968 GB, free: 0.8398 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001542/0.1546, allocations: 67.39 kB / 0.6968 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.402e-06/0.1546, allocations: 0 / 0.6968 GB, free: 0.7617 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002413/0.1548, allocations: 101.7 kB / 0.6969 GB, free: 0.6562 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.24e-05/0.1549, allocations: 51.41 kB / 0.697 GB, free: 0.5938 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.504e-05/0.155, allocations: 97.86 kB / 0.6971 GB, free: 500 kB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 2.092e-05/0.155, allocations: 37.58 kB / 0.6971 GB, free: 456 kB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.155, allocations: 88.12 kB / 0.6972 GB, free: 364 kB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.728e-05/0.1551, allocations: 19.75 kB / 0.6972 GB, free: 344 kB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.211e-05/0.1551, allocations: 21.7 kB / 0.6972 GB, free: 316 kB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001527/0.1553, allocations: 314.8 kB / 0.6975 GB, free: 15.99 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.379e-05/0.1553, allocations: 20.05 kB / 0.6975 GB, free: 15.97 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.582e-05/0.1554, allocations: 19.98 kB / 0.6976 GB, free: 15.95 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.92e-05/0.1555, allocations: 36.84 kB / 0.6976 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.382e-06/0.1555, allocations: 0 / 0.6976 GB, free: 15.91 MB / 0.4981 GB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001421/0.1556, allocations: 77.53 kB / 0.6977 GB, free: 15.83 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.1556, allocations: 8 kB / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.456e-06/0.1556, allocations: 0 / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.078e-05/0.1557, allocations: 0 / 0.6977 GB, free: 15.82 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.975e-05/0.1557, allocations: 11.98 kB / 0.6977 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.559e-06/0.1558, allocations: 0 / 0.6977 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/0.1558, allocations: 4 kB / 0.6977 GB, free: 15.81 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.233e-06/0.1558, allocations: 0 / 0.6977 GB, free: 15.81 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: 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.969e-05/0.1559, allocations: 121.8 kB / 0.6978 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.482e-05/0.156, allocations: 4 kB / 0.6978 GB, free: 15.68 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002123/0.1562, allocations: 105.6 kB / 0.6979 GB, free: 15.57 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.037e-06/0.1562, allocations: 4 kB / 0.6979 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.306e-06/0.1562, allocations: 0 / 0.6979 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.825e-06/0.1562, allocations: 0 / 0.6979 GB, free: 15.56 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001701/0.1564, allocations: 189.5 kB / 0.6981 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.1564, allocations: 0 / 0.6981 GB, free: 15.33 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.746e-05/0.1565, allocations: 11.94 kB / 0.6981 GB, free: 15.32 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.298e-05/0.1565, allocations: 4 kB / 0.6981 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.798e-06/0.1565, allocations: 0 / 0.6981 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.362e-06/0.1565, allocations: 4 kB / 0.6981 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.62e-07/0.1565, allocations: 0 / 0.6981 GB, free: 15.31 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001934/0.1567, allocations: 121 kB / 0.6982 GB, free: 15.17 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.1568, allocations: 92.94 kB / 0.6983 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.039e-05/0.1568, allocations: 4 kB / 0.6983 GB, free: 15.06 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.259e-05/0.1569, allocations: 4 kB / 0.6983 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.469e-05/0.1569, allocations: 7.984 kB / 0.6983 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.243e-05/0.1569, allocations: 0 / 0.6983 GB, free: 15.05 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 5.43e-05/0.157, allocations: 91.22 kB / 0.6984 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.2e-07/0.157, allocations: 0 / 0.6984 GB, free: 14.96 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0002062/0.1572, allocations: 12 kB / 0.6984 GB, free: 14.95 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: 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.0005043/0.1577, allocations: 0.6567 MB / 0.6991 GB, free: 14.26 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001498/0.1579, allocations: 55.92 kB / 0.6991 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.372e-06/0.1579, allocations: 0 / 0.6991 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 6.844e-05/0.158, allocations: 35.92 kB / 0.6992 GB, free: 14.17 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001439/0.1581, allocations: 8 kB / 0.6992 GB, free: 14.16 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001218/0.1593, allocations: 1.223 MB / 0.7004 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003119/0.1597, allocations: 0.6846 MB / 0.701 GB, free: 12.15 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 4.702e-05/0.1597, allocations: 12.41 kB / 0.701 GB, free: 12.14 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.664e-05/0.1598, allocations: 19.42 kB / 0.7011 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of SimCode: time 2.61e-07/0.1598, allocations: 384 / 0.7011 GB, free: 12.12 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0216/0.1814, allocations: 1.647 MB / 0.7027 GB, free: 10.63 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.514/7.695, allocations: 11.88 kB / 0.7027 GB, free: 10.62 MB / 0.4981 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)