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.001273/0.001273, allocations: 77.55 kB / 19.76 MB, free: 2.027 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.001348/0.001348, allocations: 162.4 kB / 23.02 MB, free: 4.949 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.334/1.334, allocations: 177.2 MB / 203.4 MB, free: 8.953 MB / 190.1 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.002332/0.002332, allocations: 246 kB / 260 MB, free: 428 kB / 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 0.8726/0.8726, allocations: 138.5 MB / 455 MB, free: 15.09 MB / 430.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.002999/0.002999, allocations: 103.9 kB / 0.6473 GB, free: 7.594 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4129/0.4159, allocations: 95.33 MB / 0.7404 GB, free: 17.42 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.002407/0.4183, allocations: 1.714 MB / 0.7421 GB, free: 16.26 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.001337/0.4197, allocations: 1.037 MB / 0.7431 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 6.652e-05/0.4197, allocations: 1.281 kB / 0.7431 GB, free: 15.58 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 4.288e-05/0.4198, allocations: 7.922 kB / 0.7431 GB, free: 15.57 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 8.509e-05/0.4199, allocations: 28.48 kB / 0.7431 GB, free: 15.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004654/0.4203, allocations: 185.1 kB / 0.7433 GB, free: 15.47 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.0001312/0.4205, allocations: 98.75 kB / 0.7434 GB, free: 15.42 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001047/0.4206, allocations: 23.58 kB / 0.7434 GB, free: 15.41 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000119/0.4207, allocations: 40.67 kB / 0.7435 GB, free: 15.39 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 8.066e-05/0.4208, allocations: 36.66 kB / 0.7435 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 1.61e-05/0.4208, allocations: 5.469 kB / 0.7435 GB, free: 15.38 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003187/0.4211, allocations: 197.8 kB / 0.7437 GB, free: 15.32 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 1.81e-05/0.4211, allocations: 15.3 kB / 0.7437 GB, free: 15.31 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 3.946e-05/0.4212, allocations: 34.5 kB / 0.7437 GB, free: 15.3 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.0002975/0.4215, allocations: 218.3 kB / 0.7439 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 3.887e-06/0.4215, allocations: 1.812 kB / 0.7439 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of FrontEnd: time 1.153e-06/0.4215, allocations: 0 / 0.7439 GB, free: 15.22 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 5.06e-06/0.4215, allocations: 0 / 0.7439 GB, free: 15.22 MB / 0.5919 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.0004148/0.4219, allocations: 351.6 kB / 0.7443 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.01e-05/0.4219, allocations: 10.38 kB / 0.7443 GB, free: 14.9 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001345/0.4221, allocations: 26.83 kB / 0.7443 GB, free: 14.89 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001536/0.4222, allocations: 136.3 kB / 0.7445 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.043e-05/0.4222, allocations: 1.75 kB / 0.7445 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.482e-05/0.4222, allocations: 9.297 kB / 0.7445 GB, free: 14.75 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001448/0.4224, allocations: 74.44 kB / 0.7445 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.438e-06/0.4224, allocations: 1.375 kB / 0.7445 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.708e-06/0.4224, allocations: 0 / 0.7445 GB, free: 14.7 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.099e-06/0.4224, allocations: 5.312 kB / 0.7445 GB, free: 14.69 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001192/0.4225, allocations: 47.88 kB / 0.7446 GB, free: 14.68 MB / 0.5919 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.4229, allocations: 270.4 kB / 0.7448 GB, free: 14.44 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001042/0.423, allocations: 45.67 kB / 0.7449 GB, free: 14.4 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.178e-05/0.423, allocations: 20.39 kB / 0.7449 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 7.676e-05/0.4231, allocations: 12.28 kB / 0.7449 GB, free: 14.39 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.542e-05/0.4231, allocations: 32.73 kB / 0.7449 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=3): time 1.132e-06/0.4231, allocations: 0 / 0.7449 GB, free: 14.35 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3): time 0.0002446/0.4234, allocations: 88.98 kB / 0.745 GB, free: 14.29 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.909e-05/0.4234, allocations: 53.53 kB / 0.7451 GB, free: 14.23 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.204e-05/0.4235, allocations: 132.7 kB / 0.7452 GB, free: 14.12 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.023e-06/0.4235, allocations: 25.7 kB / 0.7452 GB, free: 14.09 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 3.061e-05/0.4235, allocations: 99.69 kB / 0.7453 GB, free: 14 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 1.78e-05/0.4235, allocations: 17.97 kB / 0.7453 GB, free: 13.98 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.829e-05/0.4236, allocations: 15.72 kB / 0.7454 GB, free: 13.96 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 3.994e-05/0.4236, allocations: 323.6 kB / 0.7457 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 4.686e-05/0.4237, allocations: 14.16 kB / 0.7457 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.95e-05/0.4237, allocations: 14.89 kB / 0.7457 GB, free: 13.64 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.913e-05/0.4238, allocations: 42.94 kB / 0.7457 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.272e-06/0.4238, allocations: 0 / 0.7457 GB, free: 13.61 MB / 0.5919 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001329/0.4239, allocations: 77.33 kB / 0.7458 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.118e-05/0.4239, allocations: 4.125 kB / 0.7458 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.639e-06/0.4239, allocations: 2.641 kB / 0.7458 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.4239, allocations: 0 / 0.7458 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.304e-05/0.424, allocations: 13.64 kB / 0.7458 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.907e-06/0.424, allocations: 0 / 0.7458 GB, free: 13.56 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.231e-05/0.4241, allocations: 8.094 kB / 0.7458 GB, free: 13.55 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.042e-06/0.4241, allocations: 5.375 kB / 0.7458 GB, free: 13.55 MB / 0.5919 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 4.528e-05/0.4241, allocations: 113.9 kB / 0.746 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.744e-05/0.4242, allocations: 12 kB / 0.746 GB, free: 13.43 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001777/0.4243, allocations: 83.61 kB / 0.746 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.573e-06/0.4243, allocations: 4.906 kB / 0.746 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.4243, allocations: 5.625 kB / 0.7461 GB, free: 13.36 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.4243, allocations: 3.938 kB / 0.7461 GB, free: 13.35 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001148/0.4245, allocations: 124.9 kB / 0.7462 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.4245, allocations: 0 / 0.7462 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.097e-05/0.4245, allocations: 13.47 kB / 0.7462 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.4245, allocations: 2.438 kB / 0.7462 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.552e-06/0.4245, allocations: 0 / 0.7462 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.164e-06/0.4245, allocations: 1.859 kB / 0.7462 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.4245, allocations: 0 / 0.7462 GB, free: 13.22 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001496/0.4247, allocations: 175.7 kB / 0.7464 GB, free: 13.07 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 1.424e-05/0.4247, allocations: 7.953 kB / 0.7464 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.525e-05/0.4247, allocations: 1.188 kB / 0.7464 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.216e-05/0.4248, allocations: 1.812 kB / 0.7464 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.22e-05/0.4248, allocations: 4.891 kB / 0.7464 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.819e-06/0.4248, allocations: 5.312 kB / 0.7464 GB, free: 13.06 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 4.596e-05/0.4249, allocations: 109.3 kB / 0.7465 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of sort global known variables: time 6e-08/0.4249, allocations: 0 / 0.7465 GB, free: 12.97 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0002846/0.4252, allocations: 72.91 kB / 0.7466 GB, free: 12.95 MB / 0.5919 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.000206/0.4254, allocations: 161.4 kB / 0.7467 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.0001471/0.4255, allocations: 35.44 kB / 0.7467 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 1.944e-06/0.4255, allocations: 1.125 kB / 0.7467 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 5.722e-05/0.4256, allocations: 19.41 kB / 0.7468 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002576/0.4258, allocations: 14.81 kB / 0.7468 GB, free: 12.82 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003118/0.4261, allocations: 219.7 kB / 0.747 GB, free: 12.65 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 5e-05/0.4262, allocations: 75.59 kB / 0.7471 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 3.002e-05/0.4262, allocations: 5.047 kB / 0.7471 GB, free: 12.58 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.464e-05/0.4262, allocations: 17.62 kB / 0.7471 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of SimCode: time 3.11e-07/0.4262, allocations: 0 / 0.7471 GB, free: 12.57 MB / 0.5919 GB Notification: Performance of Templates: time 0.004338/0.4306, allocations: 1.714 MB / 0.7488 GB, free: 12.38 MB / 0.5919 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 -s ida -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.Examples.GasGapClosed.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 5.574419392971322] Failed to read output from testmodel.py, exit status != 0: 0.4384641199139878 0.44865033699999995 0.024665363000000003 Calling exit ...