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.001223/0.001223, allocations: 108 kB / 15.6 MB, free: 132 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001105/0.001105, allocations: 193.9 kB / 16.53 MB, free: 6.391 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.314/1.314, allocations: 222.9 MB / 240.2 MB, free: 4.391 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002174, allocations: 298.6 kB / 290.7 MB, free: 1.984 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9109/0.9109, allocations: 169.3 MB / 0.4982 GB, free: 13.93 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001681/0.001681, allocations: 93.55 kB / 0.5952 GB, free: 28.04 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1492/0.1509, allocations: 86.99 MB / 0.6802 GB, free: 0.6953 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaGap): time 0.00257/0.1536, allocations: 1.236 MB / 0.6814 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001444/0.155, allocations: 0.8671 MB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.062e-05/0.1551, allocations: 3.938 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 2.248e-05/0.1551, allocations: 7.984 kB / 0.6822 GB, free: 14.58 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.463e-05/0.1552, allocations: 3.938 kB / 0.6822 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005863/0.1558, allocations: 143.5 kB / 0.6824 GB, free: 14.43 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 6.454e-05/0.1558, allocations: 19.94 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.994e-05/0.1559, allocations: 3.984 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.835e-05/0.156, allocations: 15.98 kB / 0.6824 GB, free: 14.39 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.102e-05/0.1561, allocations: 15.92 kB / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.592e-05/0.1561, allocations: 0 / 0.6824 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0003802/0.1565, allocations: 163.8 kB / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.517e-05/0.1565, allocations: 0 / 0.6826 GB, free: 14.22 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.132e-05/0.1565, allocations: 15.92 kB / 0.6826 GB, free: 14.2 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000282/0.1568, allocations: 132 kB / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.549e-06/0.1568, allocations: 0 / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1569, allocations: 0 / 0.6827 GB, free: 14.07 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.861e-06/0.1569, allocations: 0 / 0.6827 GB, free: 14.07 MB / 494.1 MB 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.0004422/0.1573, allocations: 355.4 kB / 0.6831 GB, free: 13.68 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.21e-05/0.1574, allocations: 8.031 kB / 0.6831 GB, free: 13.67 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.1574, allocations: 8.844 kB / 0.6831 GB, free: 13.66 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001231/0.1575, allocations: 160.4 kB / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.1575, allocations: 384 / 0.6832 GB, free: 13.47 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.525e-05/0.1576, allocations: 8.375 kB / 0.6832 GB, free: 13.46 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001276/0.1577, allocations: 49.98 kB / 0.6833 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1577, allocations: 0 / 0.6833 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.139e-05/0.1577, allocations: 4 kB / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.42e-06/0.1577, allocations: 0 / 0.6833 GB, free: 13.4 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.2e-05/0.1578, allocations: 23.92 kB / 0.6833 GB, free: 13.38 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00019/0.158, allocations: 157.7 kB / 0.6835 GB, free: 13.18 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.872e-05/0.1581, allocations: 39.08 kB / 0.6835 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.208e-05/0.1581, allocations: 20.98 kB / 0.6835 GB, free: 13.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001399/0.1583, allocations: 89.08 kB / 0.6836 GB, free: 13 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.89e-05/0.1583, allocations: 42.5 kB / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 2.404e-06/0.1583, allocations: 0 / 0.6837 GB, free: 12.95 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.000217/0.1586, allocations: 69.56 kB / 0.6837 GB, free: 12.88 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.18e-05/0.1586, allocations: 51.41 kB / 0.6838 GB, free: 12.81 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.412e-05/0.1587, allocations: 97.84 kB / 0.6839 GB, free: 12.71 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.736e-05/0.1587, allocations: 33.83 kB / 0.6839 GB, free: 12.67 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.92e-05/0.1588, allocations: 80.14 kB / 0.684 GB, free: 12.59 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.252e-05/0.1588, allocations: 15.69 kB / 0.684 GB, free: 12.57 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.407e-05/0.1589, allocations: 17.72 kB / 0.684 GB, free: 12.55 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.159, allocations: 318.8 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.055e-05/0.159, allocations: 8 kB / 0.6843 GB, free: 12.22 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.751e-05/0.159, allocations: 4 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.876e-05/0.1591, allocations: 28.84 kB / 0.6843 GB, free: 12.18 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.1591, allocations: 11.94 kB / 0.6844 GB, free: 12.17 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.538e-05/0.1592, allocations: 57.59 kB / 0.6844 GB, free: 12.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.586e-05/0.1592, allocations: 11.94 kB / 0.6844 GB, free: 12.1 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.1592, allocations: 3.984 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.382e-05/0.1593, allocations: 0 / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.706e-05/0.1593, allocations: 8 kB / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.031e-06/0.1594, allocations: 0 / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.225e-05/0.1594, allocations: 0 / 0.6844 GB, free: 12.09 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.146e-06/0.1594, allocations: 4 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB 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 9.664e-05/0.1595, allocations: 119.1 kB / 0.6846 GB, free: 11.96 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.803e-05/0.1595, allocations: 7.938 kB / 0.6846 GB, free: 11.95 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000194/0.1597, allocations: 81.17 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.174e-06/0.1597, allocations: 0 / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.466e-06/0.1597, allocations: 0.5 kB / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.206e-06/0.1597, allocations: 0 / 0.6846 GB, free: 11.86 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001179/0.1599, allocations: 165.6 kB / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.685e-06/0.1599, allocations: 4 kB / 0.6848 GB, free: 11.65 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.956e-05/0.1599, allocations: 15.98 kB / 0.6848 GB, free: 11.63 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.3e-06/0.1599, allocations: 7.922 kB / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.635e-06/0.16, allocations: 0 / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.16, allocations: 0 / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.42e-07/0.16, allocations: 0 / 0.6848 GB, free: 11.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001233/0.1601, allocations: 89.06 kB / 0.6849 GB, free: 11.52 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.523e-05/0.1601, allocations: 81.05 kB / 0.685 GB, free: 11.42 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.515e-05/0.1602, allocations: 8 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.208e-05/0.1602, allocations: 3.938 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.9e-05/0.1602, allocations: 3.984 kB / 0.685 GB, free: 11.41 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.35e-06/0.1602, allocations: 8 kB / 0.685 GB, free: 11.4 MB / 494.1 MB Notification: Performance of sorting global known variables: time 2.877e-05/0.1603, allocations: 75.28 kB / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1603, allocations: 4 kB / 0.6851 GB, free: 11.32 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002547/0.1605, allocations: 47.92 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB 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.0002406/0.1608, allocations: 155.2 kB / 0.6853 GB, free: 11.11 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001131/0.1609, allocations: 31.92 kB / 0.6853 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.1609, allocations: 0 / 0.6853 GB, free: 11.08 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 3.184e-05/0.1609, allocations: 16 kB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001405/0.1611, allocations: 3.938 kB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000314/0.1614, allocations: 137.3 kB / 0.6855 GB, free: 10.9 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002723/0.1617, allocations: 0.6768 MB / 0.6861 GB, free: 10.2 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.678e-05/0.1618, allocations: 16.22 kB / 0.6861 GB, free: 10.18 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.506e-05/0.1618, allocations: 11.44 kB / 0.6861 GB, free: 10.17 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1618, allocations: 0 / 0.6861 GB, free: 10.17 MB / 494.1 MB Notification: Performance of Templates: time 0.0034/0.1652, allocations: 1.175 MB / 0.6873 GB, free: 8.996 MB / 494.1 MB 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)