Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.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.001578/0.001578, allocations: 110.2 kB / 19.69 MB, free: 2.254 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.001716/0.001716, allocations: 214.2 kB / 23.01 MB, free: 4.57 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.357/1.357, allocations: 230.6 MB / 256.8 MB, free: 7.992 MB / 206.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.002437/0.002437, allocations: 290.1 kB / 313.5 MB, free: 2.816 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.145/1.145, allocations: 180.6 MB / 0.5377 GB, free: 13.02 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 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.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") [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.002763/0.002763, allocations: 105 kB / 0.7408 GB, free: 27.82 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1543/0.157, allocations: 95.38 MB / 0.8339 GB, free: 8.188 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.00255/0.1596, allocations: 1.286 MB / 0.8352 GB, free: 6.887 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.001485/0.1611, allocations: 0.9406 MB / 0.8361 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.679e-05/0.1611, allocations: 0 / 0.8361 GB, free: 5.941 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 2.488e-05/0.1611, allocations: 3.984 kB / 0.8361 GB, free: 5.938 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 3.678e-05/0.1612, allocations: 15.92 kB / 0.8361 GB, free: 5.922 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004887/0.1616, allocations: 135.5 kB / 0.8362 GB, free: 5.789 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.228e-05/0.1617, allocations: 23.92 kB / 0.8363 GB, free: 5.766 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 3.981e-05/0.1617, allocations: 3.984 kB / 0.8363 GB, free: 5.762 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0001168/0.1619, allocations: 23.88 kB / 0.8363 GB, free: 5.738 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 5.34e-05/0.1619, allocations: 15.92 kB / 0.8363 GB, free: 5.723 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.119e-05/0.1619, allocations: 4 kB / 0.8363 GB, free: 5.719 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0003286/0.1623, allocations: 171.8 kB / 0.8365 GB, free: 5.551 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.157e-05/0.1623, allocations: 3.984 kB / 0.8365 GB, free: 5.547 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.362e-05/0.1623, allocations: 19.92 kB / 0.8365 GB, free: 5.527 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002319/0.1625, allocations: 131.6 kB / 0.8366 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 2.826e-06/0.1625, allocations: 0 / 0.8366 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.112e-06/0.1625, allocations: 0 / 0.8366 GB, free: 5.398 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 9.407e-06/0.1625, allocations: 0 / 0.8366 GB, free: 5.398 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0003953/0.1629, allocations: 282.1 kB / 0.8369 GB, free: 5.094 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.311e-05/0.163, allocations: 13.34 kB / 0.8369 GB, free: 5.082 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001026/0.1631, allocations: 12.88 kB / 0.8369 GB, free: 5.07 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001119/0.1632, allocations: 110.4 kB / 0.837 GB, free: 4.938 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.1632, allocations: 8.344 kB / 0.837 GB, free: 4.93 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.489e-05/0.1632, allocations: 4.375 kB / 0.837 GB, free: 4.926 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.904e-05/0.1633, allocations: 46 kB / 0.8371 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.456e-06/0.1633, allocations: 0 / 0.8371 GB, free: 4.875 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.628e-06/0.1633, allocations: 4 kB / 0.8371 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.647e-06/0.1633, allocations: 0 / 0.8371 GB, free: 4.871 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.9e-05/0.1634, allocations: 23.97 kB / 0.8371 GB, free: 4.848 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001572/0.1636, allocations: 140.8 kB / 0.8372 GB, free: 4.668 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 8.221e-05/0.1636, allocations: 34.52 kB / 0.8373 GB, free: 4.625 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.434e-05/0.1637, allocations: 12.84 kB / 0.8373 GB, free: 4.609 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.521e-05/0.1638, allocations: 12.12 kB / 0.8373 GB, free: 4.598 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.918e-05/0.1638, allocations: 34.5 kB / 0.8373 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 8.62e-07/0.1638, allocations: 0 / 0.8373 GB, free: 4.555 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.000175/0.164, allocations: 65.69 kB / 0.8374 GB, free: 4.484 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.913e-05/0.164, allocations: 55.34 kB / 0.8374 GB, free: 4.418 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.709e-05/0.1641, allocations: 97.84 kB / 0.8375 GB, free: 4.312 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.939e-05/0.1641, allocations: 29.7 kB / 0.8376 GB, free: 4.277 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 3.471e-05/0.1641, allocations: 80.14 kB / 0.8376 GB, free: 4.195 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.61e-05/0.1642, allocations: 11.91 kB / 0.8377 GB, free: 4.184 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.535e-05/0.1642, allocations: 21.7 kB / 0.8377 GB, free: 4.156 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001343/0.1643, allocations: 310.8 kB / 0.838 GB, free: 3.844 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.175e-05/0.1644, allocations: 16.12 kB / 0.838 GB, free: 3.828 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.664e-05/0.1644, allocations: 4 kB / 0.838 GB, free: 3.824 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.447e-05/0.1644, allocations: 28.84 kB / 0.838 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1644, allocations: 0 / 0.838 GB, free: 3.793 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.532e-05/0.1645, allocations: 62.02 kB / 0.8381 GB, free: 3.727 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.1645, allocations: 11.88 kB / 0.8381 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.787e-06/0.1646, allocations: 64 / 0.8381 GB, free: 3.715 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.58e-05/0.1646, allocations: 8 kB / 0.8381 GB, free: 3.707 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.526e-05/0.1646, allocations: 7.938 kB / 0.8381 GB, free: 3.699 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.368e-06/0.1646, allocations: 4 kB / 0.8381 GB, free: 3.695 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.1647, allocations: 4 kB / 0.8381 GB, free: 3.691 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.628e-06/0.1647, allocations: 0 / 0.8381 GB, free: 3.691 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 (5): * Single equations (assignments): 5 * 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 8.343e-05/0.1647, allocations: 114.5 kB / 0.8382 GB, free: 3.57 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.086e-05/0.1648, allocations: 7.875 kB / 0.8382 GB, free: 3.562 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001784/0.1649, allocations: 93.25 kB / 0.8383 GB, free: 3.461 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.793e-06/0.1649, allocations: 4 kB / 0.8383 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.846e-06/0.1649, allocations: 0 / 0.8383 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.505e-06/0.1649, allocations: 0 / 0.8383 GB, free: 3.457 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001182/0.1651, allocations: 132.7 kB / 0.8385 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1651, allocations: 0 / 0.8385 GB, free: 3.285 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.853e-05/0.1651, allocations: 15.98 kB / 0.8385 GB, free: 3.27 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.942e-06/0.1651, allocations: 3.938 kB / 0.8385 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.1651, allocations: 0 / 0.8385 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.292e-06/0.1651, allocations: 0 / 0.8385 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.41e-07/0.1651, allocations: 0 / 0.8385 GB, free: 3.266 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001244/0.1652, allocations: 89.12 kB / 0.8386 GB, free: 3.16 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 7.535e-06/0.1653, allocations: 3.938 kB / 0.8386 GB, free: 3.156 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.305e-05/0.1653, allocations: 4 kB / 0.8386 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.054e-05/0.1653, allocations: 3.938 kB / 0.8386 GB, free: 3.148 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.93e-05/0.1653, allocations: 3.984 kB / 0.8386 GB, free: 3.145 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.144e-06/0.1653, allocations: 8 kB / 0.8386 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 3.733e-05/0.1654, allocations: 75.28 kB / 0.8386 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1654, allocations: 96 / 0.8386 GB, free: 3.062 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002611/0.1656, allocations: 55.8 kB / 0.8387 GB, free: 3.008 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 (6): * Single equations (assignments): 6 * 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.0002439/0.1659, allocations: 155 kB / 0.8389 GB, free: 2.844 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001094/0.166, allocations: 32.11 kB / 0.8389 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.166, allocations: 0 / 0.8389 GB, free: 2.812 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.367e-05/0.166, allocations: 23.92 kB / 0.8389 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001284/0.1661, allocations: 1.875 kB / 0.8389 GB, free: 2.789 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003021/0.1664, allocations: 156.6 kB / 0.8391 GB, free: 2.605 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003249/0.1668, allocations: 0.6807 MB / 0.8397 GB, free: 1.898 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.9e-05/0.1668, allocations: 19.36 kB / 0.8397 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of SimCode: time 4e-07/0.1668, allocations: 0 / 0.8397 GB, free: 1.879 MB / 0.5762 GB Notification: Performance of Templates: time 0.002855/0.1696, allocations: 1.238 MB / 0.8409 GB, free: 0.6445 MB / 0.5762 GB " [Timeout remaining time 660] make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile [Timeout 660] (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.sim & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.704509475035593] Failed to read output from testmodel.py, exit status != 0: 0.17645254894159734 0.191476101 0.025869431000000002 Calling exit ...