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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001113/0.001113, allocations: 76.5 kB / 19.93 MB, free: 4.629 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001062/0.001062, allocations: 169.9 kB / 23.2 MB, free: 1.359 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9055/0.9055, allocations: 177.1 MB / 203.5 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo): time 0.5863/0.5863, allocations: 114 MB / 373.9 MB, free: 8.73 MB / 346.7 MB " [Timeout remaining time 179] Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.014e-06/2.014e-06, allocations: 0 / 0.5542 GB, free: 2.777 MB / 0.5105 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.66e-05/2.861e-05, allocations: 10.89 kB / 0.5542 GB, free: 2.77 MB / 0.5105 GB Notification: Performance of NFInst.instantiate(IBPSA.BoundaryConditions.WeatherData.BaseClasses.Examples.LocalCivilTime): time 0.002101/0.002129, allocations: 1.485 MB / 0.5557 GB, free: 1.277 MB / 0.5105 GB Notification: Performance of NFInst.instExpressions: time 0.0006374/0.002767, allocations: 478.8 kB / 0.5561 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.912e-05/0.002806, allocations: 0 / 0.5561 GB, free: 0.8047 MB / 0.5105 GB Notification: Performance of NFTyping.typeComponents: time 3.062e-05/0.002836, allocations: 7.922 kB / 0.5561 GB, free: 0.7969 MB / 0.5105 GB Notification: Performance of NFTyping.typeBindings: time 0.0002287/0.003065, allocations: 19.86 kB / 0.5561 GB, free: 0.7773 MB / 0.5105 GB Notification: Performance of NFTyping.typeClassSections: time 6.602e-05/0.003131, allocations: 15.97 kB / 0.5562 GB, free: 0.7617 MB / 0.5105 GB Notification: Performance of NFFlatten.flatten: time 7.91e-05/0.00321, allocations: 59.78 kB / 0.5562 GB, free: 0.7031 MB / 0.5105 GB Notification: Performance of NFFlatten.resolveConnections: time 9.526e-05/0.003306, allocations: 7.984 kB / 0.5562 GB, free: 0.6953 MB / 0.5105 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001741/0.00348, allocations: 47.8 kB / 0.5563 GB, free: 0.6484 MB / 0.5105 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001012/0.003581, allocations: 23.89 kB / 0.5563 GB, free: 0.625 MB / 0.5105 GB Notification: Performance of NFPackage.collectConstants: time 1.661e-05/0.003598, allocations: 4 kB / 0.5563 GB, free: 0.6211 MB / 0.5105 GB Notification: Performance of NFFlatten.collectFunctions: time 9.317e-06/0.003607, allocations: 4 kB / 0.5563 GB, free: 0.6172 MB / 0.5105 GB Notification: Performance of NFScalarize.scalarize: time 2.015e-05/0.003627, allocations: 15.98 kB / 0.5563 GB, free: 0.6016 MB / 0.5105 GB Notification: Performance of NFVerifyModel.verify: time 3.54e-05/0.003662, allocations: 11.94 kB / 0.5563 GB, free: 0.5898 MB / 0.5105 GB Notification: Performance of NFConvertDAE.convert: time 9.726e-05/0.00376, allocations: 51.84 kB / 0.5564 GB, free: 0.5391 MB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 3.436e-06/0.003763, allocations: 4 kB / 0.5564 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of FrontEnd: time 1.583e-06/0.003765, allocations: 0 / 0.5564 GB, free: 0.5352 MB / 0.5105 GB Notification: Performance of Transformations before backend: time 4.428e-06/0.003769, allocations: 0 / 0.5564 GB, free: 0.5352 MB / 0.5105 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.0004485/0.004218, allocations: 278.3 kB / 0.5566 GB, free: 240 kB / 0.5105 GB Notification: Performance of prepare preOptimizeDAE: time 4.177e-05/0.004259, allocations: 12.56 kB / 0.5567 GB, free: 228 kB / 0.5105 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.13e-05/0.004291, allocations: 42.73 kB / 0.5567 GB, free: 176 kB / 0.5105 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.369e-05/0.004314, allocations: 4.891 kB / 0.5567 GB, free: 172 kB / 0.5105 GB Notification: Performance of preOpt evaluateParameters (simulation): time 9.398e-05/0.004408, allocations: 117.7 kB / 0.5568 GB, free: 28 kB / 0.5105 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.289e-05/0.004421, allocations: 4.375 kB / 0.5568 GB, free: 24 kB / 0.5105 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.2e-05/0.004433, allocations: 8.312 kB / 0.5568 GB, free: 16 kB / 0.5105 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001179/0.004551, allocations: 58.22 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.565e-06/0.004559, allocations: 192 / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.024e-05/0.004569, allocations: 4.125 kB / 0.5569 GB, free: 15.95 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.988e-06/0.004573, allocations: 7.938 kB / 0.5569 GB, free: 15.94 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.76e-05/0.004621, allocations: 23.98 kB / 0.5569 GB, free: 15.92 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003435/0.004964, allocations: 236 kB / 0.5571 GB, free: 15.64 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001082/0.005072, allocations: 54.44 kB / 0.5572 GB, free: 15.58 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.236e-05/0.005105, allocations: 24.97 kB / 0.5572 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 9.207e-06/0.005114, allocations: 0 / 0.5572 GB, free: 15.55 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001444/0.005258, allocations: 67.39 kB / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=6): time 1.272e-06/0.005259, allocations: 0 / 0.5573 GB, free: 15.48 MB / 0.5261 GB Notification: Performance of matching and sorting (n=6): time 0.0001778/0.005437, allocations: 85.58 kB / 0.5574 GB, free: 15.39 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.523e-05/0.005472, allocations: 59.39 kB / 0.5574 GB, free: 15.32 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.171e-05/0.005534, allocations: 113.8 kB / 0.5575 GB, free: 15.2 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.11e-05/0.005545, allocations: 29.7 kB / 0.5576 GB, free: 15.16 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 3.422e-05/0.005579, allocations: 84.14 kB / 0.5576 GB, free: 15.07 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.077e-05/0.0056, allocations: 19.84 kB / 0.5577 GB, free: 15.05 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.451e-05/0.005635, allocations: 21.7 kB / 0.5577 GB, free: 15.03 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001078/0.005743, allocations: 314.8 kB / 0.558 GB, free: 14.71 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.872e-05/0.005771, allocations: 19.98 kB / 0.558 GB, free: 14.69 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.254e-05/0.005794, allocations: 16.06 kB / 0.558 GB, free: 14.68 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.116e-05/0.005845, allocations: 37.31 kB / 0.558 GB, free: 14.64 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.016e-06/0.005848, allocations: 3.938 kB / 0.558 GB, free: 14.63 MB / 0.5261 GB Notification: Performance of matching and sorting (n=8) (initialization): time 8.51e-05/0.005933, allocations: 85.56 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 1.224e-05/0.005945, allocations: 8 kB / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.378e-06/0.00595, allocations: 0 / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.014e-05/0.00596, allocations: 0 / 0.5581 GB, free: 14.54 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.695e-05/0.006027, allocations: 12 kB / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.1e-06/0.006032, allocations: 0 / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.492e-05/0.006067, allocations: 0 / 0.5581 GB, free: 14.52 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.845e-06/0.006075, allocations: 7.984 kB / 0.5582 GB, free: 14.52 MB / 0.5261 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 5 (locTim.k,$PRE.locTim.k,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 (8): * Single equations (assignments): 8 * 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 6.018e-05/0.006135, allocations: 121.7 kB / 0.5583 GB, free: 14.39 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.643e-06/0.006142, allocations: 3.953 kB / 0.5583 GB, free: 14.38 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.035e-05/0.006162, allocations: 16.44 kB / 0.5583 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.006164, allocations: 0 / 0.5583 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.659e-06/0.006168, allocations: 0 / 0.5583 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.826e-06/0.006171, allocations: 256 / 0.5583 GB, free: 14.37 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.277e-05/0.006254, allocations: 140.7 kB / 0.5584 GB, free: 14.19 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.006256, allocations: 7.938 kB / 0.5584 GB, free: 14.18 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.642e-05/0.006272, allocations: 7.938 kB / 0.5584 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.523e-06/0.006274, allocations: 0 / 0.5584 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.733e-06/0.00628, allocations: 4 kB / 0.5584 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.01e-07/0.006281, allocations: 0 / 0.5584 GB, free: 14.17 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.006284, allocations: 7.984 kB / 0.5585 GB, free: 14.16 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001011/0.006385, allocations: 105 kB / 0.5586 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 9.898e-06/0.006395, allocations: 0 / 0.5586 GB, free: 14.04 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.006409, allocations: 8 kB / 0.5586 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.057e-05/0.006439, allocations: 0 / 0.5586 GB, free: 14.03 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.106e-05/0.00647, allocations: 7.984 kB / 0.5586 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.308e-06/0.006475, allocations: 0 / 0.5586 GB, free: 14.02 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 3.394e-05/0.006508, allocations: 91.27 kB / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of sort global known variables: time 5e-08/0.006509, allocations: 0 / 0.5587 GB, free: 13.93 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0001201/0.006629, allocations: 16 kB / 0.5587 GB, free: 13.92 MB / 0.5261 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,locTim.tNext,locTim.k) * Number of discrete states: 2 (locTim.k,locTim.tNext) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (6): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.0002625/0.006891, allocations: 0.6397 MB / 0.5593 GB, free: 13.25 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 9.314e-05/0.006984, allocations: 43.91 kB / 0.5593 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.006986, allocations: 0 / 0.5593 GB, free: 13.21 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 2.858e-05/0.007015, allocations: 20 kB / 0.5594 GB, free: 13.19 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001108/0.007126, allocations: 7.984 kB / 0.5594 GB, free: 13.18 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007915/0.007917, allocations: 1.249 MB / 0.5606 GB, free: 11.85 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.018e-05/0.007957, allocations: 71.33 kB / 0.5607 GB, free: 11.76 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 2.338e-05/0.007981, allocations: 4 kB / 0.5607 GB, free: 11.75 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.95e-05/0.00802, allocations: 16.5 kB / 0.5607 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of SimCode: time 6.41e-07/0.008021, allocations: 0 / 0.5607 GB, free: 11.74 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01629/0.02431, allocations: 2.242 MB / 0.5629 GB, free: 9.684 MB / 0.5261 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.693/6.717, allocations: 11.08 kB / 0.5629 GB, free: 9.68 MB / 0.5261 GB " [Timeout remaining time 653] (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) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.34742527641356] Failed to read output from testmodel.py, exit status != 0: 6.800418430939317 6.813909557 6.807701967 Calling exit ...