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.001047/0.001047, allocations: 105.8 kB / 16.4 MB, free: 6.5 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.001005/0.001005, allocations: 189.2 kB / 17.34 MB, free: 5.738 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.283/1.283, allocations: 222.9 MB / 241 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7447/0.7447, allocations: 122.8 MB / 414.1 MB, free: 15.76 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001159/0.001159, allocations: 65.98 kB / 0.568 GB, free: 28.88 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.118/0.1192, allocations: 77.93 MB / 0.6441 GB, free: 9.547 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime): time 0.002194/0.1214, allocations: 1.443 MB / 0.6455 GB, free: 8.094 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.000731/0.1221, allocations: 0.492 MB / 0.646 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.248e-05/0.1222, allocations: 0 / 0.646 GB, free: 7.598 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.852e-05/0.1222, allocations: 7.922 kB / 0.646 GB, free: 7.59 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001917/0.1224, allocations: 23.92 kB / 0.646 GB, free: 7.566 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 9.26e-05/0.1225, allocations: 31.84 kB / 0.646 GB, free: 7.535 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 7.496e-05/0.1226, allocations: 47.84 kB / 0.6461 GB, free: 7.488 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.473e-05/0.1227, allocations: 7.984 kB / 0.6461 GB, free: 7.48 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.595e-05/0.1228, allocations: 31.86 kB / 0.6461 GB, free: 7.449 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.975e-05/0.1229, allocations: 19.92 kB / 0.6461 GB, free: 7.43 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.675e-05/0.1229, allocations: 4 kB / 0.6461 GB, free: 7.426 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.141e-05/0.1229, allocations: 8 kB / 0.6461 GB, free: 7.418 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.421e-05/0.1229, allocations: 11.97 kB / 0.6461 GB, free: 7.406 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.343e-05/0.123, allocations: 23.86 kB / 0.6462 GB, free: 7.383 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 9.367e-05/0.1231, allocations: 40.09 kB / 0.6462 GB, free: 7.344 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.679e-06/0.1231, allocations: 8 kB / 0.6462 GB, free: 7.336 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.1231, allocations: 0 / 0.6462 GB, free: 7.336 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.638e-06/0.1231, allocations: 0 / 0.6462 GB, free: 7.336 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.0005137/0.1236, allocations: 351.4 kB / 0.6465 GB, free: 6.945 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.156e-05/0.1237, allocations: 12.62 kB / 0.6466 GB, free: 6.934 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.017e-05/0.1237, allocations: 30.75 kB / 0.6466 GB, free: 6.895 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.826e-05/0.1237, allocations: 12.88 kB / 0.6466 GB, free: 6.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001109/0.1238, allocations: 164.4 kB / 0.6468 GB, free: 6.684 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.338e-05/0.1239, allocations: 4.375 kB / 0.6468 GB, free: 6.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.603e-05/0.1239, allocations: 4.312 kB / 0.6468 GB, free: 6.676 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.124, allocations: 57.8 kB / 0.6468 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.863e-06/0.124, allocations: 0 / 0.6468 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.124, allocations: 0 / 0.6468 GB, free: 6.613 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.542e-06/0.1241, allocations: 11.98 kB / 0.6468 GB, free: 6.602 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.056e-05/0.1241, allocations: 27.97 kB / 0.6469 GB, free: 6.574 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003275/0.1245, allocations: 276.7 kB / 0.6471 GB, free: 6.254 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002093/0.1247, allocations: 70.61 kB / 0.6472 GB, free: 6.176 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.183e-05/0.1247, allocations: 20.86 kB / 0.6472 GB, free: 6.152 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.364e-05/0.1248, allocations: 4 kB / 0.6472 GB, free: 6.148 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001428/0.1249, allocations: 71.45 kB / 0.6473 GB, free: 6.066 MB / 494.1 MB Notification: Performance of pre-optimization done (n=6): time 1.303e-06/0.1249, allocations: 0 / 0.6473 GB, free: 6.066 MB / 494.1 MB Notification: Performance of matching and sorting (n=6): time 0.0002177/0.1251, allocations: 89.61 kB / 0.6474 GB, free: 5.973 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.95e-05/0.1252, allocations: 55.41 kB / 0.6474 GB, free: 5.906 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.594e-05/0.1253, allocations: 101.8 kB / 0.6475 GB, free: 5.797 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.482e-05/0.1253, allocations: 25.7 kB / 0.6475 GB, free: 5.766 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.268e-05/0.1253, allocations: 96.12 kB / 0.6476 GB, free: 5.668 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.308e-05/0.1254, allocations: 15.84 kB / 0.6477 GB, free: 5.652 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.083e-05/0.1254, allocations: 21.72 kB / 0.6477 GB, free: 5.625 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.784e-05/0.1255, allocations: 326.7 kB / 0.648 GB, free: 5.297 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.615e-05/0.1256, allocations: 12 kB / 0.648 GB, free: 5.285 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.201e-05/0.1256, allocations: 19.92 kB / 0.648 GB, free: 5.266 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.838e-05/0.1257, allocations: 32.86 kB / 0.648 GB, free: 5.23 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.547e-06/0.1257, allocations: 0 / 0.648 GB, free: 5.23 MB / 494.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001248/0.1258, allocations: 77.61 kB / 0.6481 GB, free: 5.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.209e-05/0.1258, allocations: 8 kB / 0.6481 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.506e-06/0.1258, allocations: 0 / 0.6481 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.889e-06/0.1258, allocations: 0 / 0.6481 GB, free: 5.141 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.612e-05/0.1259, allocations: 12 kB / 0.6481 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.038e-06/0.1259, allocations: 0 / 0.6481 GB, free: 5.129 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.473e-05/0.126, allocations: 11.92 kB / 0.6482 GB, free: 5.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.126, allocations: 0 / 0.6482 GB, free: 5.117 MB / 494.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 (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 7.405e-05/0.1261, allocations: 117.8 kB / 0.6483 GB, free: 4.992 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.39e-05/0.1261, allocations: 7.953 kB / 0.6483 GB, free: 4.984 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001957/0.1263, allocations: 101.6 kB / 0.6484 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1263, allocations: 0 / 0.6484 GB, free: 4.871 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.26e-06/0.1264, allocations: 4 kB / 0.6484 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.815e-06/0.1264, allocations: 0 / 0.6484 GB, free: 4.867 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001377/0.1265, allocations: 189.5 kB / 0.6486 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.132e-06/0.1265, allocations: 0 / 0.6486 GB, free: 4.633 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.711e-05/0.1266, allocations: 11.98 kB / 0.6486 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.813e-06/0.1266, allocations: 0 / 0.6486 GB, free: 4.621 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.041e-05/0.1266, allocations: 4 kB / 0.6486 GB, free: 4.617 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.342e-06/0.1266, allocations: 4 kB / 0.6486 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.1266, allocations: 256 / 0.6486 GB, free: 4.613 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001741/0.1268, allocations: 124.9 kB / 0.6487 GB, free: 4.473 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.715e-05/0.1268, allocations: 85.06 kB / 0.6488 GB, free: 4.371 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2e-05/0.1269, allocations: 4 kB / 0.6488 GB, free: 4.367 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.367e-05/0.1269, allocations: 7.984 kB / 0.6488 GB, free: 4.359 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.236e-05/0.127, allocations: 4.188 kB / 0.6488 GB, free: 4.355 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.214e-05/0.127, allocations: 7.984 kB / 0.6488 GB, free: 4.348 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.551e-05/0.1271, allocations: 87.22 kB / 0.6489 GB, free: 4.262 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1271, allocations: 0 / 0.6489 GB, free: 4.262 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0001963/0.1273, allocations: 16 kB / 0.6489 GB, free: 4.246 MB / 494.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 (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.0004044/0.1277, allocations: 0.6505 MB / 0.6495 GB, free: 3.57 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001335/0.1278, allocations: 63.84 kB / 0.6496 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.1278, allocations: 0 / 0.6496 GB, free: 3.508 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 6.276e-05/0.1279, allocations: 35.92 kB / 0.6496 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001387/0.128, allocations: 0 / 0.6496 GB, free: 3.473 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001098/0.1291, allocations: 1.235 MB / 0.6508 GB, free: 2.156 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002353/0.1294, allocations: 0.6846 MB / 0.6515 GB, free: 1.445 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.966e-05/0.1294, allocations: 8 kB / 0.6515 GB, free: 1.438 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.663e-05/0.1295, allocations: 23.42 kB / 0.6515 GB, free: 1.418 MB / 494.1 MB Notification: Performance of SimCode: time 2.2e-07/0.1295, allocations: 0 / 0.6515 GB, free: 1.418 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01504/0.1445, allocations: 1.657 MB / 0.6531 GB, free: 15.9 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.168/7.312, allocations: 6.438 kB / 0.6532 GB, free: 15.9 MB / 0.4981 GB (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 & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.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 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_EquationOfTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.EquationOfTime.pipe 2>&1)