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.001336/0.001336, allocations: 80.3 kB / 19.18 MB, free: 2.516 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.001452/0.001452, allocations: 161.4 kB / 22.45 MB, free: 5.375 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.491/1.491, allocations: 177.2 MB / 202.8 MB, free: 9.168 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.002514/0.002514, allocations: 241 kB / 259.4 MB, free: 480 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 1.073/1.073, allocations: 138.4 MB / 454.3 MB, free: 1.984 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: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 0.6467 GB, free: 5.09 MB / 0.5606 GB Notification: Performance of FrontEnd - Absyn->SCode: time 3.108e-05/3.262e-05, allocations: 2.281 kB / 0.6467 GB, free: 5.086 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.00427/0.004303, allocations: 1.733 MB / 0.6484 GB, free: 3.34 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.002467/0.00677, allocations: 1.016 MB / 0.6494 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.991e-05/0.00686, allocations: 0 / 0.6494 GB, free: 2.316 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 6.645e-05/0.006926, allocations: 15.86 kB / 0.6494 GB, free: 2.301 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 0.0001459/0.007072, allocations: 27.7 kB / 0.6495 GB, free: 2.273 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0007664/0.007838, allocations: 191.1 kB / 0.6496 GB, free: 2.086 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0002267/0.008065, allocations: 107.4 kB / 0.6497 GB, free: 1.98 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001597/0.008225, allocations: 23.98 kB / 0.6498 GB, free: 1.957 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002147/0.008439, allocations: 55.88 kB / 0.6498 GB, free: 1.902 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001099/0.008549, allocations: 27.92 kB / 0.6498 GB, free: 1.875 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 2.767e-05/0.008577, allocations: 4 kB / 0.6498 GB, free: 1.871 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0005109/0.009088, allocations: 203.7 kB / 0.65 GB, free: 1.672 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 2.64e-05/0.009114, allocations: 11.94 kB / 0.6501 GB, free: 1.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 6.316e-05/0.009177, allocations: 27.92 kB / 0.6501 GB, free: 1.633 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0005379/0.009715, allocations: 243.3 kB / 0.6503 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 4.168e-06/0.009719, allocations: 0 / 0.6503 GB, free: 1.395 MB / 0.5606 GB Notification: Performance of FrontEnd: time 4.628e-06/0.009724, allocations: 3.984 kB / 0.6503 GB, free: 1.391 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 1.153e-05/0.009736, allocations: 0 / 0.6503 GB, free: 1.391 MB / 0.5606 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.0007818/0.01052, allocations: 349.6 kB / 0.6506 GB, free: 1.02 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 5.235e-05/0.01057, allocations: 9.344 kB / 0.6507 GB, free: 1.012 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001998/0.01077, allocations: 28.81 kB / 0.6507 GB, free: 0.9844 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003586/0.01113, allocations: 140.2 kB / 0.6508 GB, free: 0.8242 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.178e-05/0.01114, allocations: 4.375 kB / 0.6508 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 2.161e-05/0.01116, allocations: 384 / 0.6508 GB, free: 0.8203 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000248/0.01141, allocations: 74.23 kB / 0.6509 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.121e-05/0.01142, allocations: 192 / 0.6509 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.441e-05/0.01144, allocations: 384 / 0.6509 GB, free: 0.7422 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.113e-05/0.01145, allocations: 7.922 kB / 0.6509 GB, free: 0.7344 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001833/0.01163, allocations: 39.98 kB / 0.6509 GB, free: 0.6953 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006935/0.01232, allocations: 272.3 kB / 0.6512 GB, free: 408 kB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001595/0.01248, allocations: 42.56 kB / 0.6512 GB, free: 356 kB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 8.647e-05/0.01257, allocations: 24.8 kB / 0.6513 GB, free: 328 kB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000102/0.01267, allocations: 8.078 kB / 0.6513 GB, free: 320 kB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.461e-05/0.01271, allocations: 34.5 kB / 0.6513 GB, free: 276 kB / 0.5606 GB Notification: Performance of pre-optimization done (n=3): time 1.342e-06/0.01271, allocations: 0 / 0.6513 GB, free: 276 kB / 0.5606 GB Notification: Performance of matching and sorting (n=3): time 0.0004068/0.01311, allocations: 85.62 kB / 0.6514 GB, free: 184 kB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.696e-05/0.01316, allocations: 55.41 kB / 0.6514 GB, free: 116 kB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.2732/0.2863, allocations: 134.4 kB / 0.6516 GB, free: 56.9 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.2863, allocations: 26.69 kB / 0.6516 GB, free: 56.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 4.624e-05/0.2864, allocations: 104.3 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 2.25e-05/0.2864, allocations: 10.39 kB / 0.6517 GB, free: 56.79 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.945e-05/0.2864, allocations: 16.33 kB / 0.6517 GB, free: 56.77 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 4.183e-05/0.2865, allocations: 322.2 kB / 0.652 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 6.85e-05/0.2866, allocations: 14.03 kB / 0.652 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.216e-05/0.2866, allocations: 13.66 kB / 0.6521 GB, free: 56.46 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001037/0.2867, allocations: 40.44 kB / 0.6521 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.2867, allocations: 0 / 0.6521 GB, free: 56.45 MB / 0.5606 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001582/0.2869, allocations: 73.55 kB / 0.6522 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.375e-05/0.2869, allocations: 7.875 kB / 0.6522 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.2869, allocations: 3.703 kB / 0.6522 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.997e-05/0.2869, allocations: 4.281 kB / 0.6522 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001046/0.287, allocations: 7.625 kB / 0.6522 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.49e-06/0.287, allocations: 1.938 kB / 0.6522 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.138e-05/0.2871, allocations: 8.734 kB / 0.6522 GB, free: 56.42 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.2871, allocations: 0 / 0.6522 GB, free: 56.42 MB / 0.5606 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 5.621e-05/0.2871, allocations: 112.8 kB / 0.6523 GB, free: 56.31 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.142e-05/0.2872, allocations: 12.78 kB / 0.6523 GB, free: 56.3 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.2874, allocations: 91.69 kB / 0.6524 GB, free: 56.26 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.196e-06/0.2874, allocations: 0.75 kB / 0.6524 GB, free: 56.26 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.717e-06/0.2874, allocations: 0 / 0.6524 GB, free: 56.26 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.376e-06/0.2874, allocations: 6.312 kB / 0.6524 GB, free: 56.26 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001312/0.2875, allocations: 129.9 kB / 0.6525 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2875, allocations: 0 / 0.6525 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.295e-05/0.2876, allocations: 10.86 kB / 0.6525 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.2876, allocations: 0 / 0.6525 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.586e-06/0.2876, allocations: 4.703 kB / 0.6525 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.784e-06/0.2876, allocations: 3.938 kB / 0.6525 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.134e-06/0.2876, allocations: 3.812 kB / 0.6526 GB, free: 56.14 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001595/0.2878, allocations: 173.3 kB / 0.6527 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 1.642e-05/0.2878, allocations: 13.98 kB / 0.6527 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.804e-05/0.2878, allocations: 0.7969 kB / 0.6527 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.47e-05/0.2879, allocations: 8.203 kB / 0.6527 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.2879, allocations: 2.406 kB / 0.6527 GB, free: 56 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.781e-06/0.2879, allocations: 7.031 kB / 0.6527 GB, free: 56 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 4.632e-05/0.288, allocations: 102.6 kB / 0.6528 GB, free: 55.92 MB / 0.5606 GB Notification: Performance of sort global known variables: time 8e-08/0.288, allocations: 0 / 0.6528 GB, free: 55.92 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0003154/0.2883, allocations: 63.91 kB / 0.6529 GB, free: 55.92 MB / 0.5606 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.0002451/0.2885, allocations: 171.6 kB / 0.6531 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0001538/0.2887, allocations: 39.7 kB / 0.6531 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.393e-06/0.2887, allocations: 0 / 0.6531 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 5.729e-05/0.2887, allocations: 22.5 kB / 0.6531 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000262/0.289, allocations: 14.28 kB / 0.6531 GB, free: 55.83 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003277/0.2893, allocations: 203.5 kB / 0.6533 GB, free: 55.68 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.484e-05/0.2894, allocations: 77.59 kB / 0.6534 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.119e-05/0.2894, allocations: 10.8 kB / 0.6534 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.855e-05/0.2894, allocations: 9.844 kB / 0.6534 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of SimCode: time 3.2e-07/0.2894, allocations: 3.531 kB / 0.6534 GB, free: 55.61 MB / 0.5606 GB Notification: Performance of Templates: time 0.004196/0.2936, allocations: 1.727 MB / 0.6551 GB, free: 55.52 MB / 0.5606 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: 6.006031662225723] Failed to read output from testmodel.py, exit status != 0: 0.3026539646089077 0.31066105 0.29864549300000004 Calling exit ...