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.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.001279/0.001279, allocations: 108.8 kB / 18.93 MB, free: 2.945 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.001374/0.001374, allocations: 193.6 kB / 22.23 MB, free: 5.156 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.432/1.432, allocations: 225.6 MB / 251 MB, free: 13.02 MB / 206.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.002563/0.002563, allocations: 291 kB / 306.5 MB, free: 8.352 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 1.255/1.255, allocations: 180.9 MB / 0.53 GB, free: 14.45 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.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: Performance of FrontEnd - loaded program: time 0.002825/0.002825, allocations: 99.81 kB / 0.7308 GB, free: 38.67 MB / 0.545 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.174/0.1768, allocations: 94.2 MB / 0.8228 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002577/0.1794, allocations: 1.266 MB / 0.824 GB, free: 0.6719 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001499/0.1809, allocations: 0.8744 MB / 0.8249 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.13e-05/0.1809, allocations: 0 / 0.8249 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 1.218e-05/0.181, allocations: 3.938 kB / 0.8249 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 2.515e-05/0.181, allocations: 0 / 0.8249 GB, free: 15.79 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004284/0.1814, allocations: 149.9 kB / 0.825 GB, free: 15.64 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 6.612e-05/0.1815, allocations: 27.86 kB / 0.8251 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 4.035e-05/0.1815, allocations: 0 / 0.8251 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 7.742e-05/0.1816, allocations: 15.98 kB / 0.8251 GB, free: 15.6 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 6.174e-05/0.1817, allocations: 23.91 kB / 0.8251 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 1.137e-05/0.1817, allocations: 0 / 0.8251 GB, free: 15.58 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002903/0.182, allocations: 151.9 kB / 0.8252 GB, free: 15.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 1.883e-05/0.182, allocations: 11.97 kB / 0.8253 GB, free: 15.42 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 2.76e-05/0.182, allocations: 11.94 kB / 0.8253 GB, free: 15.41 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.0002402/0.1822, allocations: 127.6 kB / 0.8254 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.817e-06/0.1822, allocations: 0 / 0.8254 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.343e-06/0.1822, allocations: 3.938 kB / 0.8254 GB, free: 15.28 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 4.738e-06/0.1823, allocations: 0 / 0.8254 GB, free: 15.28 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.000413/0.1827, allocations: 286 kB / 0.8257 GB, free: 14.97 MB / 0.5762 GB Notification: Performance of prepare preOptimizeDAE: time 3.305e-05/0.1827, allocations: 11.97 kB / 0.8257 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.032e-05/0.1827, allocations: 0.9375 kB / 0.8257 GB, free: 14.96 MB / 0.5762 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001044/0.1828, allocations: 106.5 kB / 0.8258 GB, free: 14.83 MB / 0.5762 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.24e-05/0.1828, allocations: 4.375 kB / 0.8258 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.506e-06/0.1829, allocations: 4.375 kB / 0.8258 GB, free: 14.82 MB / 0.5762 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001099/0.183, allocations: 53.97 kB / 0.8258 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.933e-06/0.183, allocations: 0 / 0.8258 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.914e-06/0.183, allocations: 4 kB / 0.8258 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.977e-06/0.183, allocations: 0 / 0.8258 GB, free: 14.76 MB / 0.5762 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.099e-05/0.1831, allocations: 27.92 kB / 0.8259 GB, free: 14.73 MB / 0.5762 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001663/0.1832, allocations: 124.8 kB / 0.826 GB, free: 14.57 MB / 0.5762 GB Notification: Performance of preOpt comSubExp (simulation): time 7.768e-05/0.1833, allocations: 38.62 kB / 0.826 GB, free: 14.52 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.77e-05/0.1833, allocations: 16.98 kB / 0.826 GB, free: 14.5 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 9.986e-05/0.1834, allocations: 11.98 kB / 0.8261 GB, free: 14.49 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.19e-05/0.1835, allocations: 38.5 kB / 0.8261 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=5): time 1.082e-06/0.1835, allocations: 0 / 0.8261 GB, free: 14.44 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5): time 0.000188/0.1836, allocations: 69.58 kB / 0.8262 GB, free: 14.37 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.925e-05/0.1837, allocations: 51.41 kB / 0.8262 GB, free: 14.3 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.69e-05/0.1838, allocations: 101.9 kB / 0.8263 GB, free: 14.2 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 1.51e-05/0.1838, allocations: 33.67 kB / 0.8263 GB, free: 14.16 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 4.473e-05/0.1838, allocations: 80.14 kB / 0.8264 GB, free: 14.07 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 2.913e-05/0.1838, allocations: 15.91 kB / 0.8264 GB, free: 14.06 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.151e-05/0.1839, allocations: 13.72 kB / 0.8264 GB, free: 14.04 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.184, allocations: 318.8 kB / 0.8267 GB, free: 13.72 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.119e-05/0.184, allocations: 4 kB / 0.8267 GB, free: 13.71 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.092e-05/0.1841, allocations: 12 kB / 0.8268 GB, free: 13.7 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.819e-05/0.1841, allocations: 29.22 kB / 0.8268 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.1841, allocations: 4 kB / 0.8268 GB, free: 13.67 MB / 0.5762 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001027/0.1842, allocations: 57.64 kB / 0.8268 GB, free: 13.61 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 1.662e-05/0.1842, allocations: 11.92 kB / 0.8269 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.346e-06/0.1842, allocations: 0 / 0.8269 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.082e-05/0.1843, allocations: 0 / 0.8269 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.468e-05/0.1843, allocations: 8 kB / 0.8269 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.719e-06/0.1843, allocations: 0 / 0.8269 GB, free: 13.59 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.566e-05/0.1844, allocations: 7.891 kB / 0.8269 GB, free: 13.58 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.835e-06/0.1844, allocations: 4 kB / 0.8269 GB, free: 13.57 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.1e-05/0.1844, allocations: 114.5 kB / 0.827 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.502e-05/0.1845, allocations: 7.938 kB / 0.827 GB, free: 13.45 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001911/0.1847, allocations: 85.33 kB / 0.8271 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.567e-06/0.1847, allocations: 4 kB / 0.8271 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.965e-06/0.1847, allocations: 0 / 0.8271 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.1847, allocations: 0 / 0.8271 GB, free: 13.35 MB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001215/0.1848, allocations: 136.7 kB / 0.8272 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.1848, allocations: 4 kB / 0.8272 GB, free: 13.17 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.713e-05/0.1848, allocations: 8 kB / 0.8272 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.1848, allocations: 3.938 kB / 0.8272 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.808e-06/0.1848, allocations: 8 kB / 0.8272 GB, free: 13.15 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.066e-06/0.1849, allocations: 3.984 kB / 0.8272 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.71e-07/0.1849, allocations: 0 / 0.8272 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001237/0.185, allocations: 89.2 kB / 0.8273 GB, free: 13.04 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 8.756e-06/0.185, allocations: 7.938 kB / 0.8273 GB, free: 13.03 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.375e-05/0.185, allocations: 8 kB / 0.8273 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.117e-05/0.185, allocations: 0 / 0.8273 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.745e-05/0.185, allocations: 7.984 kB / 0.8273 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.947e-06/0.185, allocations: 0 / 0.8273 GB, free: 13.02 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 4.429e-05/0.1851, allocations: 83.22 kB / 0.8274 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of sort global known variables: time 8e-08/0.1851, allocations: 0 / 0.8274 GB, free: 12.93 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.0002539/0.1853, allocations: 51.81 kB / 0.8275 GB, free: 12.88 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.0002398/0.1856, allocations: 151 kB / 0.8276 GB, free: 12.72 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.0001117/0.1857, allocations: 32.02 kB / 0.8276 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 1.473e-06/0.1857, allocations: 0 / 0.8276 GB, free: 12.69 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 3.022e-05/0.1857, allocations: 16 kB / 0.8277 GB, free: 12.68 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001351/0.1859, allocations: 6.344 kB / 0.8277 GB, free: 12.67 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002649/0.1861, allocations: 134.9 kB / 0.8278 GB, free: 12.52 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003023/0.1864, allocations: 0.6768 MB / 0.8285 GB, free: 11.81 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 4.525e-05/0.1865, allocations: 15.89 kB / 0.8285 GB, free: 11.8 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.513e-05/0.1865, allocations: 11.44 kB / 0.8285 GB, free: 11.79 MB / 0.5762 GB Notification: Performance of SimCode: time 3e-07/0.1865, allocations: 3.938 kB / 0.8285 GB, free: 11.78 MB / 0.5762 GB Notification: Performance of Templates: time 0.004018/0.1905, allocations: 1.22 MB / 0.8297 GB, free: 10.57 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: 6.036696268245578] Failed to read output from testmodel.py, exit status != 0: 0.19766187947243452 0.212422624 0.027163498 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fc2d52697b0>