Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.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.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") translateModel(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001601/0.001601, 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.001935/0.001935, allocations: 194.7 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.325/1.325, allocations: 222.9 MB / 240.2 MB, free: 4.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002057/0.002057, allocations: 282.8 kB / 290.7 MB, free: 2.012 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9263/0.9263, allocations: 169.3 MB / 0.4982 GB, free: 13.89 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001658/0.001658, allocations: 102.1 kB / 0.5952 GB, free: 28.03 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1435/0.1452, allocations: 86.98 MB / 0.6802 GB, free: 0.7109 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree): time 0.002276/0.1475, allocations: 1.244 MB / 0.6814 GB, free: 15.47 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1486, allocations: 0.701 MB / 0.6821 GB, free: 14.77 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.002e-05/0.1487, allocations: 4 kB / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 1.899e-05/0.1487, allocations: 0 / 0.6821 GB, free: 14.76 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 4.368e-05/0.1488, allocations: 7.922 kB / 0.6821 GB, free: 14.75 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003909/0.1492, allocations: 123.7 kB / 0.6822 GB, free: 14.63 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 5.638e-05/0.1492, allocations: 23.92 kB / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.545e-05/0.1493, allocations: 0 / 0.6822 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.218e-05/0.1493, allocations: 19.88 kB / 0.6822 GB, free: 14.59 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.082e-05/0.1494, allocations: 19.97 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.57e-05/0.1494, allocations: 4 kB / 0.6823 GB, free: 14.57 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002719/0.1497, allocations: 151.8 kB / 0.6824 GB, free: 14.42 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 1.406e-05/0.1497, allocations: 7.922 kB / 0.6824 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 2.718e-05/0.1498, allocations: 11.98 kB / 0.6824 GB, free: 14.4 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001754/0.1499, allocations: 104 kB / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.15, allocations: 0 / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.15, allocations: 0 / 0.6825 GB, free: 14.3 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.15, allocations: 0 / 0.6825 GB, free: 14.3 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.0003721/0.1503, allocations: 347.5 kB / 0.6829 GB, free: 13.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.408e-05/0.1504, allocations: 12.03 kB / 0.6829 GB, free: 13.9 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.306e-05/0.1504, allocations: 8.844 kB / 0.6829 GB, free: 13.89 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001063/0.1505, allocations: 164.4 kB / 0.683 GB, free: 13.69 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.299e-05/0.1506, allocations: 12.25 kB / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.1506, allocations: 384 / 0.683 GB, free: 13.68 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.677e-05/0.1507, allocations: 46 kB / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.532e-06/0.1507, allocations: 0 / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.1507, allocations: 0 / 0.6831 GB, free: 13.63 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.803e-06/0.1507, allocations: 4 kB / 0.6831 GB, free: 13.62 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.057e-05/0.1508, allocations: 27.97 kB / 0.6831 GB, free: 13.6 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001552/0.1509, allocations: 157.7 kB / 0.6833 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.84e-05/0.151, allocations: 34.58 kB / 0.6833 GB, free: 13.35 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.099e-05/0.1511, allocations: 24.95 kB / 0.6833 GB, free: 13.32 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003535/0.1514, allocations: 190.1 kB / 0.6835 GB, free: 13.1 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.153e-05/0.1515, allocations: 38.5 kB / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of pre-optimization done (n=5): time 9.42e-07/0.1515, allocations: 0 / 0.6835 GB, free: 13.05 MB / 494.1 MB Notification: Performance of matching and sorting (n=5): time 0.0001597/0.1516, allocations: 61.69 kB / 0.6836 GB, free: 12.99 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.759e-05/0.1517, allocations: 51.41 kB / 0.6836 GB, free: 12.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.501e-05/0.1517, allocations: 93.86 kB / 0.6837 GB, free: 12.82 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.636e-05/0.1518, allocations: 33.69 kB / 0.6838 GB, free: 12.79 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 2.682e-05/0.1518, allocations: 80.14 kB / 0.6838 GB, free: 12.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.97e-05/0.1518, allocations: 15.92 kB / 0.6839 GB, free: 12.69 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.064e-05/0.1519, allocations: 25.66 kB / 0.6839 GB, free: 12.66 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001055/0.152, allocations: 314.8 kB / 0.6842 GB, free: 12.34 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.273e-05/0.152, allocations: 8 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.598e-05/0.152, allocations: 4 kB / 0.6842 GB, free: 12.33 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.973e-05/0.1521, allocations: 32.84 kB / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.312e-06/0.1521, allocations: 0 / 0.6842 GB, free: 12.29 MB / 494.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.318e-05/0.1522, allocations: 53.98 kB / 0.6843 GB, free: 12.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.513e-05/0.1522, allocations: 13.66 kB / 0.6843 GB, free: 12.22 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.011e-06/0.1522, allocations: 7.984 kB / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.106e-05/0.1522, allocations: 0 / 0.6843 GB, free: 12.21 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.379e-05/0.1523, allocations: 16 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.709e-06/0.1523, allocations: 0 / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.052e-05/0.1523, allocations: 3.938 kB / 0.6843 GB, free: 12.2 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1523, allocations: 0 / 0.6843 GB, free: 12.2 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 7.036e-05/0.1524, allocations: 111.2 kB / 0.6844 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.063e-05/0.1524, allocations: 3.938 kB / 0.6844 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001603/0.1526, allocations: 89.17 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.1526, allocations: 3.938 kB / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.288e-06/0.1526, allocations: 0 / 0.6845 GB, free: 11.98 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.93e-06/0.1526, allocations: 3.984 kB / 0.6845 GB, free: 11.97 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.1528, allocations: 161.6 kB / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.1528, allocations: 0 / 0.6847 GB, free: 11.77 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.249e-05/0.1528, allocations: 11.94 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.377e-06/0.1528, allocations: 3.938 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.175e-06/0.1528, allocations: 4 kB / 0.6847 GB, free: 11.75 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.122e-06/0.1528, allocations: 4 kB / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.1528, allocations: 0 / 0.6847 GB, free: 11.74 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00011/0.153, allocations: 85.11 kB / 0.6848 GB, free: 11.64 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.825e-05/0.153, allocations: 85.05 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.114e-05/0.153, allocations: 0 / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.712e-05/0.153, allocations: 0 / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.641e-05/0.1531, allocations: 4 kB / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.526e-06/0.1531, allocations: 0 / 0.6849 GB, free: 11.54 MB / 494.1 MB Notification: Performance of sorting global known variables: time 3.281e-05/0.1531, allocations: 87.27 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1531, allocations: 3.938 kB / 0.685 GB, free: 11.45 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002394/0.1534, allocations: 31.94 kB / 0.685 GB, free: 11.41 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.0001987/0.1536, allocations: 131.2 kB / 0.6851 GB, free: 11.27 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 9.976e-05/0.1537, allocations: 36.11 kB / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.714e-06/0.1537, allocations: 0 / 0.6851 GB, free: 11.24 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 2.671e-05/0.1537, allocations: 20.06 kB / 0.6852 GB, free: 11.22 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001384/0.1539, allocations: 8.031 kB / 0.6852 GB, free: 11.21 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002617/0.1541, allocations: 128.4 kB / 0.6853 GB, free: 11.06 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002308/0.1544, allocations: 0.6768 MB / 0.686 GB, free: 10.36 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.749e-05/0.1544, allocations: 12.17 kB / 0.686 GB, free: 10.35 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.96e-05/0.1544, allocations: 15.44 kB / 0.686 GB, free: 10.33 MB / 494.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1544, allocations: 0 / 0.686 GB, free: 10.33 MB / 494.1 MB Notification: Performance of Templates: time 0.003481/0.1579, allocations: 1.303 MB / 0.6872 GB, free: 9.031 MB / 494.1 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.makefile (rm -f BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.sim & ./BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.ConvectiveHeatTransfer.Examples.AlphaPlateFree.pipe 2>&1)