Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.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.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime,fileNamePrefix="IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime",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.001311/0.001311, allocations: 102.6 kB / 16.4 MB, free: 6.461 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.001266/0.001266, allocations: 196 kB / 17.34 MB, free: 5.715 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.376/1.376, allocations: 222.9 MB / 241 MB, free: 15.07 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.821/0.821, allocations: 126.7 MB / 417.9 MB, free: 12.3 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001852/0.001852, allocations: 73.31 kB / 0.5735 GB, free: 27.08 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1269/0.1287, allocations: 78.88 MB / 0.6506 GB, free: 3.586 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002429/0.1312, allocations: 1.461 MB / 0.652 GB, free: 2.113 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007357/0.1319, allocations: 472.6 kB / 0.6525 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.5e-05/0.132, allocations: 0 / 0.6525 GB, free: 1.648 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.587e-05/0.132, allocations: 3.938 kB / 0.6525 GB, free: 1.645 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002038/0.1322, allocations: 27.84 kB / 0.6525 GB, free: 1.617 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 6.544e-05/0.1323, allocations: 15.98 kB / 0.6525 GB, free: 1.602 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 8.56e-05/0.1324, allocations: 55.72 kB / 0.6526 GB, free: 1.547 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.172e-05/0.1325, allocations: 8 kB / 0.6526 GB, free: 1.539 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.191e-05/0.1326, allocations: 23.97 kB / 0.6526 GB, free: 1.516 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.534e-05/0.1326, allocations: 23.92 kB / 0.6526 GB, free: 1.492 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.408e-05/0.1327, allocations: 3.938 kB / 0.6526 GB, free: 1.488 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.13e-05/0.1327, allocations: 4 kB / 0.6526 GB, free: 1.484 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 2.568e-05/0.1327, allocations: 11.98 kB / 0.6526 GB, free: 1.473 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.319e-05/0.1328, allocations: 27.84 kB / 0.6527 GB, free: 1.445 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 8.806e-05/0.1329, allocations: 44.05 kB / 0.6527 GB, free: 1.402 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.535e-06/0.1329, allocations: 3.938 kB / 0.6527 GB, free: 1.398 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1329, allocations: 4 kB / 0.6527 GB, free: 1.395 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.087e-06/0.1329, allocations: 4 kB / 0.6527 GB, free: 1.391 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005161/0.1334, allocations: 359.3 kB / 0.653 GB, free: 0.9922 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.431e-05/0.1334, allocations: 8.031 kB / 0.6531 GB, free: 0.9844 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.275e-05/0.1335, allocations: 34.75 kB / 0.6531 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.222e-05/0.1335, allocations: 0.9375 kB / 0.6531 GB, free: 0.9414 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001439/0.1337, allocations: 172.3 kB / 0.6533 GB, free: 0.7344 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.758e-05/0.1337, allocations: 4.375 kB / 0.6533 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.002e-05/0.1337, allocations: 384 / 0.6533 GB, free: 0.7305 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000114/0.1338, allocations: 65.73 kB / 0.6533 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.362e-06/0.1338, allocations: 0 / 0.6533 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.273e-06/0.1338, allocations: 0 / 0.6533 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.627e-06/0.1338, allocations: 0 / 0.6533 GB, free: 0.6602 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.856e-05/0.1339, allocations: 19.98 kB / 0.6533 GB, free: 0.6406 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003287/0.1342, allocations: 268.9 kB / 0.6536 GB, free: 336 kB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.672e-05/0.1344, allocations: 42.56 kB / 0.6536 GB, free: 284 kB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.77e-05/0.1344, allocations: 32.8 kB / 0.6537 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.797e-06/0.1344, allocations: 0 / 0.6537 GB, free: 248 kB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001408/0.1346, allocations: 63.48 kB / 0.6537 GB, free: 172 kB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 1.142e-06/0.1346, allocations: 0 / 0.6537 GB, free: 172 kB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002002/0.1348, allocations: 81.62 kB / 0.6538 GB, free: 84 kB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.099e-05/0.1348, allocations: 55.41 kB / 0.6539 GB, free: 16 kB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001055/0.1349, allocations: 113.8 kB / 0.654 GB, free: 15.89 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 1.84e-05/0.135, allocations: 33.7 kB / 0.654 GB, free: 15.86 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 4.561e-05/0.135, allocations: 88.08 kB / 0.6541 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 2.46e-05/0.1351, allocations: 19.89 kB / 0.6541 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.28e-05/0.1351, allocations: 17.72 kB / 0.6541 GB, free: 15.72 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 0.000129/0.1352, allocations: 314.8 kB / 0.6544 GB, free: 15.41 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.333e-05/0.1353, allocations: 15.98 kB / 0.6544 GB, free: 15.39 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.53e-05/0.1353, allocations: 8 kB / 0.6544 GB, free: 15.38 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.22e-05/0.1354, allocations: 41.17 kB / 0.6545 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.372e-06/0.1354, allocations: 4 kB / 0.6545 GB, free: 15.34 MB / 0.4981 GB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001062/0.1355, allocations: 65.64 kB / 0.6545 GB, free: 15.27 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.44e-05/0.1355, allocations: 5.875 kB / 0.6546 GB, free: 15.26 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1355, allocations: 7.938 kB / 0.6546 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 8.927e-06/0.1355, allocations: 0 / 0.6546 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.545e-05/0.1356, allocations: 7.984 kB / 0.6546 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.868e-06/0.1356, allocations: 0 / 0.6546 GB, free: 15.25 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.457e-05/0.1357, allocations: 4 kB / 0.6546 GB, free: 15.24 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.973e-06/0.1357, allocations: 0 / 0.6546 GB, free: 15.24 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 (locTim.tNext,$PRE.locTim.tNext,$whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.162e-05/0.1358, allocations: 125.7 kB / 0.6547 GB, free: 15.11 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.549e-05/0.1358, allocations: 7.984 kB / 0.6547 GB, free: 15.1 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.822e-05/0.1358, allocations: 7.953 kB / 0.6547 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.322e-06/0.1358, allocations: 0 / 0.6547 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.015e-06/0.1358, allocations: 0 / 0.6547 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.064e-06/0.1359, allocations: 0 / 0.6547 GB, free: 15.09 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001404/0.136, allocations: 173.6 kB / 0.6549 GB, free: 14.88 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.127e-06/0.136, allocations: 3.984 kB / 0.6549 GB, free: 14.87 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.888e-05/0.136, allocations: 8 kB / 0.6549 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.1361, allocations: 0 / 0.6549 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.364e-06/0.1361, allocations: 0 / 0.6549 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.222e-06/0.1361, allocations: 4 kB / 0.6549 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.088e-06/0.1361, allocations: 4 kB / 0.6549 GB, free: 14.86 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000147/0.1362, allocations: 100.9 kB / 0.655 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 4.226e-05/0.1363, allocations: 77.11 kB / 0.6551 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.882e-05/0.1363, allocations: 8.125 kB / 0.6551 GB, free: 14.64 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.96e-05/0.1364, allocations: 4 kB / 0.6551 GB, free: 14.63 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.183e-05/0.1364, allocations: 7.984 kB / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.265e-06/0.1364, allocations: 4 kB / 0.6551 GB, free: 14.62 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 6.547e-05/0.1365, allocations: 91.27 kB / 0.6552 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1e-07/0.1365, allocations: 0 / 0.6552 GB, free: 14.53 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0001898/0.1367, allocations: 19.89 kB / 0.6552 GB, free: 14.51 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,locTim.tNext) * Number of discrete states: 1 (locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 4 * 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.0004378/0.1371, allocations: 0.628 MB / 0.6558 GB, free: 13.86 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0001148/0.1373, allocations: 35.98 kB / 0.6558 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1373, allocations: 0 / 0.6558 GB, free: 13.82 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 4.838e-05/0.1373, allocations: 23.92 kB / 0.6559 GB, free: 13.8 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000133/0.1375, allocations: 7.938 kB / 0.6559 GB, free: 13.79 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001133/0.1386, allocations: 1.212 MB / 0.6571 GB, free: 12.5 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000297/0.1389, allocations: 0.6807 MB / 0.6577 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 2.524e-05/0.1389, allocations: 4 kB / 0.6577 GB, free: 11.79 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.166e-05/0.139, allocations: 16.67 kB / 0.6577 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of SimCode: time 2.6e-07/0.139, allocations: 0 / 0.6577 GB, free: 11.77 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3356/0.4746, allocations: 1.53 MB / 0.6592 GB, free: 10.38 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.578/9.052, allocations: 9.094 kB / 0.6592 GB, free: 10.38 MB / 0.4981 GB (rm -f IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; mkfifo IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe >> ../files/IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime_res.csv --start-time 0 --stop-time 172800 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 69.12 IBPSA_latest_IBPSA_BoundaryConditions_WeatherData_BaseClasses_Examples_LocalCivilTime.fmu > IBPSA_latest_IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime.pipe 2>&1)