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/BuildingSystems 2.0.0-master/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/ModelicaServices 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) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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) 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 BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/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/BuildingSystems 2.0.0-master/package.mo): time 0.7884/0.7884, allocations: 143.4 MB / 158.3 MB, free: 5.766 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001205/0.001205, allocations: 177.1 kB / 191.5 MB, free: 5.762 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.487/1.487, allocations: 223.2 MB / 447.7 MB, free: 4.805 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009377/0.0009378, allocations: 96.31 kB / 0.5188 GB, free: 1.168 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00169/0.001691, allocations: 278.8 kB / 0.6005 GB, free: 48.75 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004138/0.0004138, allocations: 10.47 kB / 0.6928 GB, free: 59.59 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1585, allocations: 82.79 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.462/0.6206, allocations: 109.9 MB / 0.8811 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002513/0.6209, allocations: 78.73 kB / 0.8811 GB, free: 108.2 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.007692/0.6287, allocations: 2.586 MB / 0.8837 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.893e-06/0.6287, allocations: 4 kB / 0.8837 GB, free: 107.8 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 5.55e-06/0.6287, allocations: 6.75 kB / 0.8837 GB, free: 107.8 MB / 0.5417 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.0002241/0.6289, allocations: 340.1 kB / 0.884 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.446e-05/0.629, allocations: 9.453 kB / 0.884 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.637e-05/0.629, allocations: 8.578 kB / 0.884 GB, free: 107.4 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 6.79e-05/0.6291, allocations: 174.8 kB / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.107e-05/0.6291, allocations: 0 / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.378e-06/0.6291, allocations: 3 kB / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 8.562e-05/0.6292, allocations: 44.73 kB / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.763e-06/0.6292, allocations: 0 / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.6292, allocations: 3.25 kB / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.409e-06/0.6292, allocations: 0 / 0.8842 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.659e-05/0.6293, allocations: 26.36 kB / 0.8843 GB, free: 107.2 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001186/0.6294, allocations: 162.2 kB / 0.8844 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 5.482e-05/0.6295, allocations: 39.02 kB / 0.8845 GB, free: 107 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002529/0.6297, allocations: 186.9 kB / 0.8846 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.393e-05/0.6298, allocations: 30.56 kB / 0.8847 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.112e-06/0.6298, allocations: 0 / 0.8847 GB, free: 106.8 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0001424/0.6299, allocations: 65.56 kB / 0.8847 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.972e-05/0.6299, allocations: 54.64 kB / 0.8848 GB, free: 106.7 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.36e-05/0.63, allocations: 91.31 kB / 0.8849 GB, free: 106.6 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 7.164e-06/0.63, allocations: 25.7 kB / 0.8849 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 1.375e-05/0.63, allocations: 80.27 kB / 0.885 GB, free: 106.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.246e-05/0.63, allocations: 21.56 kB / 0.885 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.056e-06/0.6301, allocations: 0 / 0.885 GB, free: 106.4 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 4.362e-05/0.6301, allocations: 316.8 kB / 0.8853 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.669e-05/0.6301, allocations: 5.281 kB / 0.8853 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.405e-05/0.6301, allocations: 12.77 kB / 0.8853 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.6302, allocations: 5.344 kB / 0.8853 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.523e-06/0.6302, allocations: 0 / 0.8853 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 7.029e-05/0.6302, allocations: 61.72 kB / 0.8854 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.6303, allocations: 5.969 kB / 0.8854 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.537e-06/0.6303, allocations: 4 kB / 0.8854 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.07e-05/0.6303, allocations: 0 / 0.8854 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.907e-05/0.6304, allocations: 9.5 kB / 0.8854 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.967e-06/0.6304, allocations: 0 / 0.8854 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.916e-05/0.6304, allocations: 11.12 kB / 0.8854 GB, free: 106.1 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.56e-06/0.6304, allocations: 3.328 kB / 0.8854 GB, free: 106.1 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 4.124e-05/0.6304, allocations: 112.7 kB / 0.8855 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.336e-06/0.6305, allocations: 3.953 kB / 0.8855 GB, free: 106 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001366/0.6306, allocations: 86.33 kB / 0.8856 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.523e-06/0.6306, allocations: 0 / 0.8856 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.386e-06/0.6306, allocations: 0 / 0.8856 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.166e-06/0.6306, allocations: 5.922 kB / 0.8856 GB, free: 105.9 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.539e-05/0.6307, allocations: 164 kB / 0.8858 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.31e-07/0.6307, allocations: 0 / 0.8858 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.741e-05/0.6307, allocations: 8.938 kB / 0.8858 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.304e-06/0.6308, allocations: 3 kB / 0.8858 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.706e-06/0.6308, allocations: 8.125 kB / 0.8858 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.6308, allocations: 4 kB / 0.8858 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.11e-07/0.6308, allocations: 0 / 0.8858 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.219e-05/0.6309, allocations: 82.55 kB / 0.8859 GB, free: 105.7 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 1.46e-05/0.6309, allocations: 77.11 kB / 0.8859 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.242e-05/0.6309, allocations: 9.062 kB / 0.8859 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.823e-05/0.6309, allocations: 6.641 kB / 0.8859 GB, free: 105.6 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.389e-05/0.6309, allocations: 6.703 kB / 0.886 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.631, allocations: 2.812 kB / 0.886 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 1.462e-05/0.631, allocations: 79.28 kB / 0.886 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of sort global known variables: time 7.01e-07/0.631, allocations: 0 / 0.886 GB, free: 105.5 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002517/0.6312, allocations: 48.17 kB / 0.8861 GB, free: 105.5 MB / 0.5417 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001854/0.6314, allocations: 140.3 kB / 0.8862 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 7.569e-05/0.6315, allocations: 23.2 kB / 0.8862 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.6315, allocations: 0 / 0.8862 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.401e-05/0.6316, allocations: 23.58 kB / 0.8863 GB, free: 105.4 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.943e-05/0.6316, allocations: 8.031 kB / 0.8863 GB, free: 105.3 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002054/0.6319, allocations: 136.1 kB / 0.8864 GB, free: 105.2 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.474e-05/0.632, allocations: 0.6824 MB / 0.8871 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 3.571e-05/0.632, allocations: 6.109 kB / 0.8871 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.696e-05/0.632, allocations: 14.8 kB / 0.8871 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of SimCode: time 2.3e-07/0.632, allocations: 0 / 0.8871 GB, free: 104.5 MB / 0.5417 GB Notification: Performance of Templates: time 0.003129/0.6352, allocations: 1.16 MB / 0.8882 GB, free: 104.4 MB / 0.5417 GB 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)