Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.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.001272/0.001272, allocations: 83.91 kB / 19.02 MB, free: 2.719 MB / 14.72 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.001619/0.001619, allocations: 162.3 kB / 22.26 MB, free: 4.703 MB / 14.72 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 1.402/1.402, allocations: 177.2 MB / 202.6 MB, free: 9.293 MB / 190.1 MB " [Timeout remaining time 178] 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.002636/0.002636, allocations: 236.1 kB / 259.3 MB, free: 0.6016 MB / 238.1 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 1.054/1.054, allocations: 138.5 MB / 454.2 MB, free: 2.039 MB / 366.1 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: translateModel(BuildingSystems.HAM.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") translateModel(BuildingSystems.HAM.Examples.GasGapClosed,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed") [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003114/0.003114, allocations: 103.8 kB / 0.6466 GB, free: 5.273 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4149/0.418, allocations: 95.34 MB / 0.7397 GB, free: 15.23 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.003035/0.421, allocations: 1.72 MB / 0.7413 GB, free: 13.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001764/0.4228, allocations: 1.013 MB / 0.7423 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.4229, allocations: 0 / 0.7423 GB, free: 12.49 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 4.818e-05/0.4229, allocations: 19.8 kB / 0.7424 GB, free: 12.47 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.0001096/0.423, allocations: 35.64 kB / 0.7424 GB, free: 12.44 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005557/0.4236, allocations: 175.3 kB / 0.7426 GB, free: 12.27 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.000172/0.4237, allocations: 91.59 kB / 0.7426 GB, free: 12.18 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.4238, allocations: 23.97 kB / 0.7427 GB, free: 12.15 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001642/0.424, allocations: 63.77 kB / 0.7427 GB, free: 12.09 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 9.059e-05/0.4241, allocations: 43.78 kB / 0.7428 GB, free: 12.05 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.824e-05/0.4241, allocations: 8 kB / 0.7428 GB, free: 12.04 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000358/0.4245, allocations: 187.8 kB / 0.743 GB, free: 11.86 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 2.391e-05/0.4245, allocations: 19.97 kB / 0.743 GB, free: 11.84 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 5.096e-05/0.4246, allocations: 39.8 kB / 0.743 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0003387/0.4249, allocations: 208.7 kB / 0.7432 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.815e-06/0.4249, allocations: 0 / 0.7432 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of FrontEnd: time 9.52e-07/0.4249, allocations: 0 / 0.7432 GB, free: 11.59 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.679e-06/0.4249, allocations: 0 / 0.7432 GB, free: 11.59 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005293/0.4254, allocations: 353.5 kB / 0.7435 GB, free: 11.22 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.288e-05/0.4255, allocations: 12.75 kB / 0.7436 GB, free: 11.21 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000142/0.4256, allocations: 24.81 kB / 0.7436 GB, free: 11.18 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002196/0.4258, allocations: 136.5 kB / 0.7437 GB, free: 11.03 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.766e-05/0.4258, allocations: 12.38 kB / 0.7437 GB, free: 11.02 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.223e-05/0.4259, allocations: 4.375 kB / 0.7437 GB, free: 11.01 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001689/0.426, allocations: 77.91 kB / 0.7438 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.266e-06/0.426, allocations: 0 / 0.7438 GB, free: 10.93 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.219e-05/0.426, allocations: 7.938 kB / 0.7438 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.426, allocations: 0 / 0.7438 GB, free: 10.92 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001351/0.4262, allocations: 51.91 kB / 0.7439 GB, free: 10.87 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004487/0.4266, allocations: 264.4 kB / 0.7441 GB, free: 10.58 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001289/0.4268, allocations: 50.5 kB / 0.7442 GB, free: 10.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.826e-05/0.4268, allocations: 20.94 kB / 0.7442 GB, free: 10.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 8.008e-05/0.4269, allocations: 7.984 kB / 0.7442 GB, free: 10.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.128e-05/0.4269, allocations: 34.56 kB / 0.7442 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=3): time 9.62e-07/0.4269, allocations: 0 / 0.7442 GB, free: 10.45 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3): time 0.000272/0.4272, allocations: 81.62 kB / 0.7443 GB, free: 10.36 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.468e-05/0.4272, allocations: 55.41 kB / 0.7444 GB, free: 10.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001201/0.4274, allocations: 129.8 kB / 0.7445 GB, free: 10.16 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 3.048e-05/0.4274, allocations: 25.7 kB / 0.7445 GB, free: 10.13 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 7.556e-05/0.4275, allocations: 108.1 kB / 0.7446 GB, free: 10.02 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.02e-05/0.4275, allocations: 15.78 kB / 0.7446 GB, free: 10 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.871e-05/0.4275, allocations: 21.7 kB / 0.7446 GB, free: 9.977 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001401/0.4277, allocations: 314.8 kB / 0.7449 GB, free: 9.66 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.291e-05/0.4277, allocations: 15.98 kB / 0.745 GB, free: 9.645 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.781e-05/0.4278, allocations: 19.92 kB / 0.745 GB, free: 9.625 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.899e-05/0.4279, allocations: 44.84 kB / 0.745 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.553e-06/0.4279, allocations: 0 / 0.745 GB, free: 9.578 MB / 0.5762 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.000151/0.428, allocations: 65.64 kB / 0.7451 GB, free: 9.508 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.428, allocations: 7.984 kB / 0.7451 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.427e-06/0.428, allocations: 0 / 0.7451 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.102e-05/0.4281, allocations: 0 / 0.7451 GB, free: 9.5 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.307e-05/0.4281, allocations: 11.94 kB / 0.7451 GB, free: 9.488 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.961e-06/0.4282, allocations: 3.984 kB / 0.7451 GB, free: 9.484 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.571e-05/0.4282, allocations: 12.03 kB / 0.7451 GB, free: 9.473 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.581e-06/0.4282, allocations: 7.938 kB / 0.7451 GB, free: 9.465 MB / 0.5762 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 (3): * Single equations (assignments): 3 * 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 9.134e-05/0.4283, allocations: 115.4 kB / 0.7452 GB, free: 9.344 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.18e-05/0.4283, allocations: 7.953 kB / 0.7452 GB, free: 9.336 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002156/0.4285, allocations: 86.33 kB / 0.7453 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-06/0.4285, allocations: 0 / 0.7453 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.166e-06/0.4285, allocations: 0 / 0.7453 GB, free: 9.234 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.739e-06/0.4286, allocations: 3.984 kB / 0.7453 GB, free: 9.23 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001707/0.4287, allocations: 133.3 kB / 0.7455 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.4287, allocations: 0 / 0.7455 GB, free: 9.07 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.334e-05/0.4288, allocations: 19.92 kB / 0.7455 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.904e-06/0.4288, allocations: 0 / 0.7455 GB, free: 9.051 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.588e-06/0.4288, allocations: 4 kB / 0.7455 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.453e-06/0.4288, allocations: 0 / 0.7455 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.61e-07/0.4288, allocations: 0 / 0.7455 GB, free: 9.047 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002172/0.429, allocations: 175.4 kB / 0.7456 GB, free: 8.859 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.429, allocations: 3.953 kB / 0.7456 GB, free: 8.855 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.698e-05/0.4291, allocations: 4 kB / 0.7457 GB, free: 8.852 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.456e-05/0.4291, allocations: 4 kB / 0.7457 GB, free: 8.848 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.516e-05/0.4292, allocations: 3.984 kB / 0.7457 GB, free: 8.844 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.462e-06/0.4292, allocations: 8 kB / 0.7457 GB, free: 8.836 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 7.387e-05/0.4292, allocations: 102.2 kB / 0.7458 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of sort global known variables: time 7.1e-08/0.4292, allocations: 0 / 0.7458 GB, free: 8.738 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0003196/0.4296, allocations: 75.67 kB / 0.7458 GB, free: 8.664 MB / 0.5762 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 (4): * Single equations (assignments): 4 * 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.0002515/0.4298, allocations: 159 kB / 0.746 GB, free: 8.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001566/0.43, allocations: 43.91 kB / 0.746 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.553e-06/0.43, allocations: 0 / 0.746 GB, free: 8.457 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 6.354e-05/0.43, allocations: 16 kB / 0.746 GB, free: 8.441 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000248/0.4303, allocations: 19.86 kB / 0.7461 GB, free: 8.422 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004088/0.4307, allocations: 211.6 kB / 0.7463 GB, free: 8.184 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.607e-05/0.4308, allocations: 83.31 kB / 0.7463 GB, free: 8.082 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 3.524e-05/0.4308, allocations: 4 kB / 0.7463 GB, free: 8.078 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.881e-05/0.4308, allocations: 12.5 kB / 0.7464 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of SimCode: time 3.61e-07/0.4308, allocations: 0 / 0.7464 GB, free: 8.066 MB / 0.5762 GB Notification: Performance of Templates: time 0.004668/0.4355, allocations: 1.713 MB / 0.748 GB, free: 6.371 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.sim & ./BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.898990264162421] Failed to read output from testmodel.py, exit status != 0: 0.44380122795701027 0.45789909500000003 0.030079759 Calling exit ...