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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001358/0.001358, allocations: 120.1 kB / 17.13 MB, free: 5.758 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001422/0.001422, allocations: 191.7 kB / 20.08 MB, free: 2.848 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.343/1.343, allocations: 225.6 MB / 248.5 MB, free: 3.645 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002285/0.002285, allocations: 274 kB / 303.6 MB, free: 3.742 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9991/0.9991, allocations: 180.9 MB / 0.5268 GB, free: 2.723 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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 0.002656/0.002656, allocations: 99.84 kB / 0.7259 GB, free: 8.914 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4971/0.4997, allocations: 94.16 MB / 0.8178 GB, free: 7.645 MB / 0.5763 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.Examples.GasGapClosed): time 0.002621/0.5024, allocations: 1.735 MB / 0.8195 GB, free: 6.438 MB / 0.5763 GB Notification: Performance of NFInst.instExpressions: time 0.001361/0.5037, allocations: 1.046 MB / 0.8205 GB, free: 5.711 MB / 0.5763 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.891e-05/0.5038, allocations: 1.562 kB / 0.8205 GB, free: 5.711 MB / 0.5763 GB Notification: Performance of NFTyping.typeComponents: time 4.174e-05/0.5038, allocations: 12.25 kB / 0.8205 GB, free: 5.703 MB / 0.5763 GB Notification: Performance of NFTyping.typeBindings: time 0.0001048/0.5039, allocations: 26.98 kB / 0.8206 GB, free: 5.684 MB / 0.5763 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004702/0.5044, allocations: 171 kB / 0.8207 GB, free: 5.605 MB / 0.5763 GB Notification: Performance of NFFlatten.flatten: time 0.0001384/0.5045, allocations: 92.95 kB / 0.8208 GB, free: 5.559 MB / 0.5763 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0001083/0.5047, allocations: 23.12 kB / 0.8208 GB, free: 5.543 MB / 0.5763 GB Notification: Performance of NFEvalConstants.evaluate: time 8.993e-05/0.5047, allocations: 35.42 kB / 0.8209 GB, free: 5.527 MB / 0.5763 GB Notification: Performance of NFSimplifyModel.simplify: time 8.492e-05/0.5048, allocations: 38.12 kB / 0.8209 GB, free: 5.512 MB / 0.5763 GB Notification: Performance of NFPackage.collectConstants: time 1.816e-05/0.5048, allocations: 6 kB / 0.8209 GB, free: 5.512 MB / 0.5763 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003243/0.5052, allocations: 195.2 kB / 0.8211 GB, free: 5.461 MB / 0.5763 GB Notification: Performance of NFScalarize.scalarize: time 1.816e-05/0.5052, allocations: 10.23 kB / 0.8211 GB, free: 5.453 MB / 0.5763 GB Notification: Performance of NFVerifyModel.verify: time 4.599e-05/0.5052, allocations: 44.62 kB / 0.8212 GB, free: 5.426 MB / 0.5763 GB Notification: Performance of NFConvertDAE.convert: time 0.0002898/0.5055, allocations: 212.5 kB / 0.8214 GB, free: 5.352 MB / 0.5763 GB Notification: Performance of FrontEnd - DAE generated: time 4.459e-06/0.5055, allocations: 0 / 0.8214 GB, free: 5.352 MB / 0.5763 GB Notification: Performance of FrontEnd: time 1.723e-06/0.5055, allocations: 0 / 0.8214 GB, free: 5.352 MB / 0.5763 GB Notification: Performance of Transformations before backend: time 6.202e-06/0.5055, allocations: 0 / 0.8214 GB, free: 5.352 MB / 0.5763 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.0004615/0.506, allocations: 421.5 kB / 0.8218 GB, free: 4.941 MB / 0.5763 GB Notification: Performance of prepare preOptimizeDAE: time 2.957e-05/0.506, allocations: 8.906 kB / 0.8218 GB, free: 4.941 MB / 0.5763 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.43e-05/0.5061, allocations: 17.52 kB / 0.8218 GB, free: 4.93 MB / 0.5763 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001405/0.5062, allocations: 189.8 kB / 0.822 GB, free: 4.719 MB / 0.5763 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.394e-06/0.5062, allocations: 9.922 kB / 0.822 GB, free: 4.711 MB / 0.5763 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.523e-05/0.5062, allocations: 3.906 kB / 0.822 GB, free: 4.711 MB / 0.5763 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001544/0.5064, allocations: 74.94 kB / 0.8221 GB, free: 4.66 MB / 0.5763 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.126e-06/0.5064, allocations: 1 kB / 0.8221 GB, free: 4.66 MB / 0.5763 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.829e-06/0.5064, allocations: 0.6094 kB / 0.8221 GB, free: 4.66 MB / 0.5763 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.358e-06/0.5064, allocations: 1.656 kB / 0.8221 GB, free: 4.66 MB / 0.5763 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001189/0.5065, allocations: 42.62 kB / 0.8221 GB, free: 4.648 MB / 0.5763 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004212/0.5069, allocations: 402.6 kB / 0.8225 GB, free: 4.266 MB / 0.5763 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001045/0.507, allocations: 42.2 kB / 0.8225 GB, free: 4.234 MB / 0.5763 GB Notification: Performance of preOpt resolveLoops (simulation): time 5.181e-05/0.5071, allocations: 23.5 kB / 0.8225 GB, free: 4.219 MB / 0.5763 GB Notification: Performance of preOpt evalFunc (simulation): time 9.092e-05/0.5072, allocations: 87.77 kB / 0.8226 GB, free: 4.121 MB / 0.5763 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.748e-05/0.5072, allocations: 36.36 kB / 0.8227 GB, free: 4.078 MB / 0.5763 GB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5072, allocations: 0 / 0.8227 GB, free: 4.078 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3): time 0.0002482/0.5075, allocations: 83.05 kB / 0.8227 GB, free: 4.031 MB / 0.5763 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.85e-05/0.5075, allocations: 52.02 kB / 0.8228 GB, free: 3.969 MB / 0.5763 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.616e-05/0.5076, allocations: 142.4 kB / 0.8229 GB, free: 3.852 MB / 0.5763 GB Notification: Performance of collectPreVariables (initialization): time 6.623e-06/0.5076, allocations: 26.58 kB / 0.823 GB, free: 3.82 MB / 0.5763 GB Notification: Performance of collectInitialEqns (initialization): time 3.082e-05/0.5076, allocations: 103.2 kB / 0.8231 GB, free: 3.723 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 1.586e-05/0.5076, allocations: 17.42 kB / 0.8231 GB, free: 3.707 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.019e-05/0.5077, allocations: 22.44 kB / 0.8231 GB, free: 3.684 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 4.609e-05/0.5077, allocations: 316 kB / 0.8234 GB, free: 3.371 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 5.253e-05/0.5078, allocations: 18.34 kB / 0.8234 GB, free: 3.363 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 4.289e-05/0.5078, allocations: 15.72 kB / 0.8234 GB, free: 3.359 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 8.654e-05/0.5079, allocations: 39.22 kB / 0.8235 GB, free: 3.34 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.443e-06/0.5079, allocations: 0 / 0.8235 GB, free: 3.34 MB / 0.5763 GB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001226/0.508, allocations: 68.64 kB / 0.8235 GB, free: 3.297 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.508, allocations: 9.25 kB / 0.8235 GB, free: 3.293 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.919e-06/0.508, allocations: 0.6094 kB / 0.8235 GB, free: 3.293 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.137e-05/0.508, allocations: 0 / 0.8235 GB, free: 3.293 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.302e-05/0.5081, allocations: 9.125 kB / 0.8235 GB, free: 3.293 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.978e-06/0.5081, allocations: 1.797 kB / 0.8235 GB, free: 3.293 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.26e-05/0.5082, allocations: 7.031 kB / 0.8236 GB, free: 3.289 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-06/0.5082, allocations: 5.797 kB / 0.8236 GB, free: 3.285 MB / 0.5763 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.859e-05/0.5082, allocations: 113.9 kB / 0.8237 GB, free: 3.168 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.759e-05/0.5083, allocations: 8.438 kB / 0.8237 GB, free: 3.164 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001807/0.5084, allocations: 87.31 kB / 0.8238 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.304e-06/0.5084, allocations: 2.672 kB / 0.8238 GB, free: 3.105 MB / 0.5763 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.667e-06/0.5084, allocations: 4.594 kB / 0.8238 GB, free: 3.102 MB / 0.5763 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.5084, allocations: 3.938 kB / 0.8238 GB, free: 3.098 MB / 0.5763 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001428/0.5086, allocations: 185 kB / 0.8239 GB, free: 2.898 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.884e-06/0.5086, allocations: 0.6094 kB / 0.8239 GB, free: 2.898 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.698e-05/0.5087, allocations: 10.27 kB / 0.824 GB, free: 2.898 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.5087, allocations: 0.5625 kB / 0.824 GB, free: 2.898 MB / 0.5763 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.5087, allocations: 0.5625 kB / 0.824 GB, free: 2.898 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.5087, allocations: 4 kB / 0.824 GB, free: 2.895 MB / 0.5763 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.194e-06/0.5087, allocations: 11.47 kB / 0.824 GB, free: 2.887 MB / 0.5763 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001551/0.5088, allocations: 172.9 kB / 0.8241 GB, free: 2.734 MB / 0.5763 GB Notification: Performance of postOpt removeConstants (simulation): time 1.976e-05/0.5088, allocations: 84.62 kB / 0.8242 GB, free: 2.637 MB / 0.5763 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.516e-05/0.5089, allocations: 0.6094 kB / 0.8242 GB, free: 2.637 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.239e-05/0.5089, allocations: 3.234 kB / 0.8242 GB, free: 2.637 MB / 0.5763 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.77e-05/0.509, allocations: 12.7 kB / 0.8242 GB, free: 2.629 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.098e-06/0.509, allocations: 0 / 0.8242 GB, free: 2.629 MB / 0.5763 GB Notification: Performance of sorting global known variables: time 4.64e-05/0.509, allocations: 112.8 kB / 0.8243 GB, free: 2.543 MB / 0.5763 GB Notification: Performance of sort global known variables: time 7e-08/0.509, allocations: 0 / 0.8243 GB, free: 2.543 MB / 0.5763 GB Notification: Performance of remove unused functions: time 0.0002942/0.5093, allocations: 69.52 kB / 0.8244 GB, free: 2.52 MB / 0.5763 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.0002141/0.5095, allocations: 158.2 kB / 0.8246 GB, free: 2.418 MB / 0.5763 GB Notification: Performance of simCode: created initialization part: time 0.0001721/0.5097, allocations: 43.05 kB / 0.8246 GB, free: 2.402 MB / 0.5763 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.5097, allocations: 0 / 0.8246 GB, free: 2.402 MB / 0.5763 GB Notification: Performance of simCode: created simulation system equations: time 5.616e-05/0.5098, allocations: 26.95 kB / 0.8246 GB, free: 2.391 MB / 0.5763 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002976/0.5101, allocations: 14.12 kB / 0.8246 GB, free: 2.387 MB / 0.5763 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003301/0.5104, allocations: 243.5 kB / 0.8249 GB, free: 2.191 MB / 0.5763 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001209/0.5105, allocations: 0.6947 MB / 0.8255 GB, free: 1.492 MB / 0.5763 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.884e-05/0.5105, allocations: 11.69 kB / 0.8256 GB, free: 1.488 MB / 0.5763 GB Notification: Performance of SimCode: time 2.7e-07/0.5105, allocations: 0 / 0.8256 GB, free: 1.488 MB / 0.5763 GB Notification: Performance of Templates: time 0.003542/0.5141, allocations: 1.682 MB / 0.8272 GB, free: 1.324 MB / 0.5763 GB " [Timeout remaining time 659] 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: 7.931389131117612] Failed to read output from testmodel.py, exit status != 0: 0.5213466521818191 0.533499271 0.025289619000000003 Calling exit ...