Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.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.0007843/0.0007843, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000817/0.000817, allocations: 165.9 kB / 22.45 MB, free: 2.109 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.8696/0.8696, allocations: 177.1 MB / 202.8 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.001379/0.001379, allocations: 234 kB / 259.4 MB, free: 13 MB / 250.7 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 0.6531/0.6531, allocations: 138.4 MB / 454.3 MB, free: 30.04 MB / 410.7 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Utilities.Time.Examples.ModelTime,fileNamePrefix="BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.864e-06/1.864e-06, allocations: 0 / 0.6462 GB, free: 1.891 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.407e-05/2.593e-05, allocations: 6.219 kB / 0.6463 GB, free: 1.883 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Utilities.Time.Examples.ModelTime): time 0.001298/0.001324, allocations: 0.6084 MB / 0.6468 GB, free: 1.27 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 4.107e-05/0.001365, allocations: 3.938 kB / 0.6468 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 1.719e-05/0.001383, allocations: 0 / 0.6468 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 2.689e-05/0.00141, allocations: 0 / 0.6468 GB, free: 1.266 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 6.913e-06/0.001416, allocations: 3.938 kB / 0.6469 GB, free: 1.262 MB / 0.5573 GB Notification: Performance of NFTyping.typeClassSections: time 3.262e-05/0.001449, allocations: 3.984 kB / 0.6469 GB, free: 1.258 MB / 0.5573 GB Notification: Performance of NFFlatten.flatten: time 5.028e-05/0.001499, allocations: 4 kB / 0.6469 GB, free: 1.254 MB / 0.5573 GB Notification: Performance of NFFlatten.resolveConnections: time 4.666e-05/0.001546, allocations: 4 kB / 0.6469 GB, free: 1.25 MB / 0.5573 GB Notification: Performance of NFEvalConstants.evaluate: time 2.883e-05/0.001575, allocations: 0 / 0.6469 GB, free: 1.25 MB / 0.5573 GB Notification: Performance of NFSimplifyModel.simplify: time 2.033e-05/0.001595, allocations: 3.984 kB / 0.6469 GB, free: 1.246 MB / 0.5573 GB Notification: Performance of NFPackage.collectConstants: time 1.74e-05/0.001613, allocations: 4 kB / 0.6469 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of NFFlatten.collectFunctions: time 2.655e-06/0.001615, allocations: 0 / 0.6469 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of NFScalarize.scalarize: time 1.13e-05/0.001627, allocations: 0 / 0.6469 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of NFVerifyModel.verify: time 1.486e-05/0.001641, allocations: 0 / 0.6469 GB, free: 1.242 MB / 0.5573 GB Notification: Performance of NFConvertDAE.convert: time 5.373e-05/0.001695, allocations: 4 kB / 0.6469 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of FrontEnd - DAE generated: time 2.835e-06/0.001698, allocations: 0 / 0.6469 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of FrontEnd: time 1.493e-06/0.001699, allocations: 0 / 0.6469 GB, free: 1.238 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 3.768e-06/0.001703, allocations: 0 / 0.6469 GB, free: 1.238 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0002071/0.00191, allocations: 234.5 kB / 0.6471 GB, free: 0.9766 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 4.11e-05/0.001951, allocations: 9.938 kB / 0.6471 GB, free: 0.9688 MB / 0.5573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.779e-05/0.001979, allocations: 30.75 kB / 0.6471 GB, free: 0.9297 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 1.841e-05/0.001998, allocations: 4.938 kB / 0.6471 GB, free: 0.9258 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.088e-05/0.002058, allocations: 114.4 kB / 0.6473 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.779e-06/0.002068, allocations: 384 / 0.6473 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.122e-06/0.002074, allocations: 384 / 0.6473 GB, free: 0.7891 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.2e-05/0.002146, allocations: 26.27 kB / 0.6473 GB, free: 0.7578 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.361e-06/0.002153, allocations: 4.125 kB / 0.6473 GB, free: 0.7539 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.673e-06/0.002159, allocations: 4.375 kB / 0.6473 GB, free: 0.75 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.511e-06/0.002165, allocations: 4.125 kB / 0.6473 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.467e-05/0.00218, allocations: 0 / 0.6473 GB, free: 0.7461 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.356e-05/0.002273, allocations: 116.8 kB / 0.6474 GB, free: 0.5898 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 3.448e-05/0.002308, allocations: 26.55 kB / 0.6474 GB, free: 0.5547 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 1.858e-05/0.002326, allocations: 12.91 kB / 0.6474 GB, free: 0.5391 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 8.335e-06/0.002335, allocations: 7.922 kB / 0.6474 GB, free: 0.5312 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.694e-05/0.002351, allocations: 30.56 kB / 0.6475 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=1): time 9.42e-07/0.002352, allocations: 0 / 0.6475 GB, free: 0.4922 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1): time 0.0001016/0.002454, allocations: 33.7 kB / 0.6475 GB, free: 464 kB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.321e-05/0.002487, allocations: 55.34 kB / 0.6476 GB, free: 396 kB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 2.806e-05/0.002515, allocations: 93.86 kB / 0.6477 GB, free: 292 kB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 9.618e-06/0.002525, allocations: 25.7 kB / 0.6477 GB, free: 260 kB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 1.99e-05/0.002545, allocations: 80.27 kB / 0.6478 GB, free: 176 kB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 2.789e-05/0.002573, allocations: 4 kB / 0.6478 GB, free: 172 kB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.204e-05/0.002595, allocations: 13.66 kB / 0.6478 GB, free: 152 kB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 0.227/0.2296, allocations: 312.4 kB / 0.6481 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.352e-05/0.2296, allocations: 1 kB / 0.6481 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.107e-05/0.2297, allocations: 1.719 kB / 0.6481 GB, free: 56.96 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 3.936e-05/0.2297, allocations: 13.02 kB / 0.6481 GB, free: 56.95 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.617e-06/0.2297, allocations: 0 / 0.6481 GB, free: 56.95 MB / 0.5573 GB Notification: Performance of matching and sorting (n=1) (initialization): time 6.404e-05/0.2298, allocations: 33.33 kB / 0.6481 GB, free: 56.92 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.876e-05/0.2298, allocations: 4.5 kB / 0.6481 GB, free: 56.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.324e-06/0.2298, allocations: 1.344 kB / 0.6481 GB, free: 56.92 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.782e-05/0.2298, allocations: 1.656 kB / 0.6481 GB, free: 56.92 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.172e-05/0.2299, allocations: 2.375 kB / 0.6481 GB, free: 56.92 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.2299, allocations: 5.938 kB / 0.6481 GB, free: 56.92 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.134e-05/0.2299, allocations: 0 / 0.6481 GB, free: 56.92 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.809e-06/0.2299, allocations: 1.406 kB / 0.6481 GB, free: 56.92 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * 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 4.45e-05/0.2299, allocations: 112.1 kB / 0.6482 GB, free: 56.81 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.719e-06/0.2299, allocations: 0.5156 kB / 0.6482 GB, free: 56.81 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.643e-05/0.23, allocations: 5.906 kB / 0.6482 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.244e-06/0.23, allocations: 0 / 0.6482 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.23, allocations: 6.375 kB / 0.6482 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.264e-06/0.23, allocations: 0.75 kB / 0.6482 GB, free: 56.8 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.082e-05/0.23, allocations: 120.8 kB / 0.6484 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.23, allocations: 2.094 kB / 0.6484 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.22e-06/0.23, allocations: 2 kB / 0.6484 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.21e-07/0.23, allocations: 4.188 kB / 0.6484 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.25e-06/0.23, allocations: 0 / 0.6484 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.21e-07/0.23, allocations: 0 / 0.6484 GB, free: 56.65 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.683e-06/0.23, allocations: 4.594 kB / 0.6484 GB, free: 56.64 MB / 0.5573 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.264e-05/0.2301, allocations: 59.25 kB / 0.6484 GB, free: 56.58 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 4.038e-06/0.2301, allocations: 1.094 kB / 0.6484 GB, free: 56.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.225e-06/0.2301, allocations: 1.75 kB / 0.6484 GB, free: 56.58 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.146e-06/0.2301, allocations: 1.094 kB / 0.6484 GB, free: 56.58 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.139e-05/0.2301, allocations: 8.047 kB / 0.6484 GB, free: 56.58 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.382e-06/0.2301, allocations: 3.062 kB / 0.6484 GB, free: 56.58 MB / 0.5573 GB Notification: Performance of sorting global known variables: time 8.846e-06/0.2301, allocations: 79.53 kB / 0.6485 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 4e-08/0.2301, allocations: 0.5938 kB / 0.6485 GB, free: 56.5 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.0001132/0.2302, allocations: 1.688 kB / 0.6485 GB, free: 56.5 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 1 * 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 Backend phase and start with SimCode phase: time 0.0001373/0.2304, allocations: 0.5891 MB / 0.6491 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 6.029e-05/0.2304, allocations: 3.469 kB / 0.6491 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.2304, allocations: 1.125 kB / 0.6491 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 4.018e-06/0.2304, allocations: 3 kB / 0.6491 GB, free: 55.92 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001032/0.2305, allocations: 9.406 kB / 0.6491 GB, free: 55.91 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002229/0.2308, allocations: 104.9 kB / 0.6492 GB, free: 55.79 MB / 0.5573 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.347e-05/0.2308, allocations: 56.75 kB / 0.6493 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of simCode: alias equations: time 1.061e-05/0.2308, allocations: 4.219 kB / 0.6493 GB, free: 55.72 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.843e-05/0.2308, allocations: 8.5 kB / 0.6493 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of SimCode: time 6.31e-07/0.2308, allocations: 0 / 0.6493 GB, free: 55.71 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01322/0.244, allocations: 1.531 MB / 0.6508 GB, free: 54.97 MB / 0.5573 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.238/6.482, allocations: 5.328 kB / 0.6508 GB, free: 54.97 MB / 0.5573 GB " [Timeout remaining time 653] (rm -f BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; mkfifo BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe >> ../files/BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime_res.csv --start-time -1 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0008 BuildingSystems_BuildingSystems_Utilities_Time_Examples_ModelTime.fmu > BuildingSystems_BuildingSystems.Utilities.Time.Examples.ModelTime.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 9.03602194879204] Failed to read output from testmodel.py, exit status != 0: 6.560426265001297 6.568382734 6.565112988 Calling exit ...