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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) 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=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006426/0.006426, allocations: 105.4 kB / 15.74 MB, free: 6.012 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001354/0.001354, allocations: 199.9 kB / 16.68 MB, free: 5.93 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.383/1.383, allocations: 222.9 MB / 240.4 MB, free: 4.152 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002098/0.002098, allocations: 286.8 kB / 290.8 MB, free: 1.75 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9616/0.9616, allocations: 169.3 MB / 0.4983 GB, free: 13.79 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001627/0.001627, allocations: 99.83 kB / 0.6814 GB, free: 15.54 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1515/0.1531, allocations: 86.97 MB / 0.7663 GB, free: 8.492 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.002068/0.1552, allocations: 1.263 MB / 0.7676 GB, free: 7.219 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.001323/0.1566, allocations: 0.8573 MB / 0.7684 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 2.467e-05/0.1566, allocations: 0 / 0.7684 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 1.757e-05/0.1566, allocations: 0 / 0.7684 GB, free: 6.355 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 3.442e-05/0.1567, allocations: 3.938 kB / 0.7684 GB, free: 6.352 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0004318/0.1571, allocations: 151.4 kB / 0.7686 GB, free: 6.203 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 6.168e-05/0.1572, allocations: 23.92 kB / 0.7686 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 3.783e-05/0.1572, allocations: 0 / 0.7686 GB, free: 6.18 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 6.99e-05/0.1573, allocations: 11.98 kB / 0.7686 GB, free: 6.168 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 6.89e-05/0.1574, allocations: 19.92 kB / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.447e-05/0.1574, allocations: 0 / 0.7686 GB, free: 6.148 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0002698/0.1577, allocations: 155.8 kB / 0.7688 GB, free: 5.996 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 1.561e-05/0.1577, allocations: 7.969 kB / 0.7688 GB, free: 5.988 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 2.372e-05/0.1577, allocations: 15.94 kB / 0.7688 GB, free: 5.973 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002099/0.1579, allocations: 131.7 kB / 0.7689 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.1579, allocations: 0 / 0.7689 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.362e-06/0.1579, allocations: 0 / 0.7689 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 4.448e-06/0.158, allocations: 0 / 0.7689 GB, free: 5.844 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0004185/0.1584, allocations: 359.4 kB / 0.7693 GB, free: 5.445 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.73e-05/0.1584, allocations: 12.03 kB / 0.7693 GB, free: 5.434 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.012e-05/0.1585, allocations: 4.922 kB / 0.7693 GB, free: 5.43 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001103/0.1586, allocations: 160.4 kB / 0.7694 GB, free: 5.234 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.558e-06/0.1586, allocations: 12.38 kB / 0.7694 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.16e-05/0.1586, allocations: 384 / 0.7694 GB, free: 5.223 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.711e-05/0.1587, allocations: 46 kB / 0.7695 GB, free: 5.172 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.158e-06/0.1587, allocations: 3.938 kB / 0.7695 GB, free: 5.168 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.052e-05/0.1587, allocations: 3.984 kB / 0.7695 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.318e-06/0.1587, allocations: 0 / 0.7695 GB, free: 5.164 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.185e-05/0.1588, allocations: 27.97 kB / 0.7695 GB, free: 5.137 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001563/0.159, allocations: 157.7 kB / 0.7697 GB, free: 4.934 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 7.525e-05/0.1591, allocations: 42.62 kB / 0.7697 GB, free: 4.883 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.129e-05/0.1591, allocations: 16.98 kB / 0.7697 GB, free: 4.863 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001225/0.1592, allocations: 89.09 kB / 0.7698 GB, free: 4.758 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.025e-05/0.1592, allocations: 34.5 kB / 0.7698 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=5): time 1.052e-06/0.1593, allocations: 0 / 0.7698 GB, free: 4.715 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5): time 0.0001825/0.1594, allocations: 73.53 kB / 0.7699 GB, free: 4.637 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.971e-05/0.1595, allocations: 51.41 kB / 0.77 GB, free: 4.574 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.295e-05/0.1596, allocations: 97.86 kB / 0.7701 GB, free: 4.469 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.527e-05/0.1596, allocations: 25.7 kB / 0.7701 GB, free: 4.438 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 3.068e-05/0.1596, allocations: 84.08 kB / 0.7702 GB, free: 4.352 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 3.17e-05/0.1596, allocations: 19.73 kB / 0.7702 GB, free: 4.332 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.175e-05/0.1597, allocations: 25.66 kB / 0.7702 GB, free: 4.301 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 9.733e-05/0.1598, allocations: 310.8 kB / 0.7705 GB, free: 3.988 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.362e-05/0.1598, allocations: 7.984 kB / 0.7705 GB, free: 3.98 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.214e-05/0.1598, allocations: 12 kB / 0.7705 GB, free: 3.969 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.253e-05/0.1599, allocations: 33.3 kB / 0.7706 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1599, allocations: 0 / 0.7706 GB, free: 3.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.553e-05/0.16, allocations: 53.69 kB / 0.7706 GB, free: 3.875 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.324e-05/0.16, allocations: 11.94 kB / 0.7706 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.459e-06/0.16, allocations: 0 / 0.7706 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.4e-05/0.1601, allocations: 0 / 0.7706 GB, free: 3.863 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.996e-05/0.1601, allocations: 11.98 kB / 0.7706 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.1602, allocations: 0 / 0.7706 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.076e-05/0.1602, allocations: 0 / 0.7706 GB, free: 3.852 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.296e-06/0.1602, allocations: 4 kB / 0.7706 GB, free: 3.848 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 (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 7.461e-05/0.1603, allocations: 114.5 kB / 0.7707 GB, free: 3.727 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.412e-05/0.1603, allocations: 15.78 kB / 0.7708 GB, free: 3.711 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001751/0.1605, allocations: 77.22 kB / 0.7708 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.513e-06/0.1605, allocations: 0 / 0.7708 GB, free: 3.633 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.567e-06/0.1605, allocations: 4 kB / 0.7708 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.575e-06/0.1605, allocations: 0 / 0.7708 GB, free: 3.629 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001103/0.1606, allocations: 169.6 kB / 0.771 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.81e-07/0.1606, allocations: 0 / 0.771 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.64e-05/0.1607, allocations: 8 kB / 0.771 GB, free: 3.406 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.276e-06/0.1607, allocations: 3.938 kB / 0.771 GB, free: 3.402 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.546e-06/0.1607, allocations: 4 kB / 0.771 GB, free: 3.398 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.515e-06/0.1607, allocations: 4 kB / 0.771 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.31e-07/0.1607, allocations: 0 / 0.771 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001058/0.1608, allocations: 81.06 kB / 0.7711 GB, free: 3.297 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 9.123e-05/0.1609, allocations: 92.94 kB / 0.7712 GB, free: 3.188 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.385e-05/0.1609, allocations: 8.188 kB / 0.7712 GB, free: 3.18 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.371e-05/0.161, allocations: 4 kB / 0.7712 GB, free: 3.176 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.821e-05/0.161, allocations: 4 kB / 0.7712 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.717e-06/0.161, allocations: 0 / 0.7712 GB, free: 3.172 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 3.152e-05/0.161, allocations: 79.28 kB / 0.7713 GB, free: 3.094 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.7e-07/0.161, allocations: 3.938 kB / 0.7713 GB, free: 3.09 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.000246/0.1613, allocations: 51.92 kB / 0.7713 GB, free: 3.039 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 (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.0002426/0.1615, allocations: 159.2 kB / 0.7715 GB, free: 2.871 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 9.77e-05/0.1616, allocations: 27.94 kB / 0.7715 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 1.674e-06/0.1616, allocations: 0 / 0.7715 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 2.75e-05/0.1617, allocations: 15.98 kB / 0.7715 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.1618, allocations: 8 kB / 0.7715 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002754/0.1621, allocations: 126.6 kB / 0.7716 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002288/0.1623, allocations: 0.6768 MB / 0.7723 GB, free: 1.965 MB / 0.5606 GB Notification: Performance of simCode: alias equations: time 4.184e-05/0.1624, allocations: 12 kB / 0.7723 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.569e-05/0.1624, allocations: 15.44 kB / 0.7723 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of SimCode: time 3.01e-07/0.1624, allocations: 0 / 0.7723 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of Templates: time 0.003111/0.1655, allocations: 1.185 MB / 0.7735 GB, free: 0.7539 MB / 0.5606 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap.makefile (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)