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.7916/0.7916, allocations: 141.8 MB / 149.3 MB, free: 9.211 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.001289/0.001289, allocations: 184.9 kB / 182.2 MB, free: 9.441 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.387/1.387, allocations: 221.5 MB / 436.4 MB, free: 13.27 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.0009681/0.000968, allocations: 84.11 kB / 0.5074 GB, free: 10.1 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001797/0.001797, allocations: 283.1 kB / 0.5889 GB, free: 54.65 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.878e-05/1.88e-05, allocations: 7.984 kB / 0.6765 GB, free: 12.82 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3577/0.3578, allocations: 82.76 MB / 0.7574 GB, free: 32 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1367/0.4945, allocations: 109.2 MB / 0.864 GB, free: 2.637 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002134/0.4947, allocations: 75.83 kB / 0.8641 GB, free: 2.566 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.008271/0.503, allocations: 2.557 MB / 0.8666 GB, free: 16 kB / 0.5261 GB Notification: Performance of FrontEnd: time 1.753e-06/0.5031, allocations: 3.938 kB / 0.8666 GB, free: 12 kB / 0.5261 GB Notification: Performance of Transformations before backend: time 5.751e-06/0.5031, allocations: 0 / 0.8666 GB, free: 12 kB / 0.5261 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.000291/0.5034, allocations: 350.4 kB / 0.8669 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 3.672e-05/0.5034, allocations: 8.031 kB / 0.8669 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.729e-05/0.5035, allocations: 0 / 0.8669 GB, free: 15.62 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001137/0.5036, allocations: 171 kB / 0.8671 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.397e-05/0.5036, allocations: 0 / 0.8671 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.362e-05/0.5036, allocations: 0 / 0.8671 GB, free: 15.41 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.15e-05/0.5037, allocations: 27.97 kB / 0.8671 GB, free: 15.38 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.684e-05/0.5038, allocations: 45.67 kB / 0.8672 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.5038, allocations: 0 / 0.8672 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.326e-06/0.5038, allocations: 4 kB / 0.8672 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5038, allocations: 0 / 0.8672 GB, free: 15.33 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000131/0.504, allocations: 134.1 kB / 0.8673 GB, free: 15.16 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 6.913e-05/0.504, allocations: 42.58 kB / 0.8673 GB, free: 15.11 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.552e-05/0.5041, allocations: 12.81 kB / 0.8674 GB, free: 15.09 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003016/0.5044, allocations: 186.3 kB / 0.8675 GB, free: 14.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.13e-05/0.5044, allocations: 38.56 kB / 0.8676 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 1.011e-06/0.5044, allocations: 0 / 0.8676 GB, free: 14.83 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0002039/0.5046, allocations: 49.69 kB / 0.8676 GB, free: 14.77 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.403e-05/0.5047, allocations: 55.41 kB / 0.8677 GB, free: 14.71 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.444e-05/0.5048, allocations: 85 kB / 0.8678 GB, free: 14.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.367e-05/0.5048, allocations: 25.7 kB / 0.8678 GB, free: 14.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 2.81e-05/0.5048, allocations: 80.14 kB / 0.8679 GB, free: 14.5 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.832e-05/0.5048, allocations: 23.86 kB / 0.8679 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.206e-06/0.5049, allocations: 4 kB / 0.8679 GB, free: 14.48 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.385e-05/0.505, allocations: 310.8 kB / 0.8682 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.706e-05/0.505, allocations: 8 kB / 0.8682 GB, free: 14.16 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 2.269e-05/0.505, allocations: 12.06 kB / 0.8682 GB, free: 14.14 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.509e-05/0.5051, allocations: 11.98 kB / 0.8682 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.492e-06/0.5051, allocations: 0 / 0.8682 GB, free: 14.13 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001248/0.5052, allocations: 53.69 kB / 0.8683 GB, free: 14.07 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.532e-05/0.5052, allocations: 11.95 kB / 0.8683 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.369e-06/0.5053, allocations: 0 / 0.8683 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.044e-05/0.5053, allocations: 4 kB / 0.8683 GB, free: 14.06 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.032e-05/0.5054, allocations: 11.98 kB / 0.8683 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.681e-06/0.5054, allocations: 0 / 0.8683 GB, free: 14.05 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.02e-05/0.5054, allocations: 7.844 kB / 0.8683 GB, free: 14.04 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.171e-06/0.5054, allocations: 0 / 0.8683 GB, free: 14.04 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 () * 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 8.211e-05/0.5055, allocations: 108.9 kB / 0.8684 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.293e-06/0.5055, allocations: 0 / 0.8684 GB, free: 13.93 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.5057, allocations: 85.69 kB / 0.8685 GB, free: 13.84 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.5057, allocations: 4 kB / 0.8685 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.947e-06/0.5057, allocations: 0 / 0.8685 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.464e-06/0.5057, allocations: 0 / 0.8685 GB, free: 13.83 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001056/0.5059, allocations: 138.1 kB / 0.8686 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.5059, allocations: 4 kB / 0.8686 GB, free: 13.66 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.414e-05/0.5059, allocations: 11.98 kB / 0.8686 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.883e-06/0.5059, allocations: 0 / 0.8686 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.883e-06/0.5059, allocations: 0 / 0.8686 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.373e-06/0.5059, allocations: 0 / 0.8686 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.152e-06/0.506, allocations: 3.953 kB / 0.8686 GB, free: 13.64 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001489/0.5061, allocations: 89.31 kB / 0.8687 GB, free: 13.54 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.277e-05/0.5062, allocations: 81.09 kB / 0.8688 GB, free: 13.44 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.559e-05/0.5062, allocations: 8.062 kB / 0.8688 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.749e-05/0.5062, allocations: 0 / 0.8688 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.226e-05/0.5062, allocations: 0 / 0.8688 GB, free: 13.43 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.763e-06/0.5062, allocations: 7.953 kB / 0.8688 GB, free: 13.42 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 3.374e-05/0.5063, allocations: 83.28 kB / 0.8689 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5063, allocations: 0 / 0.8689 GB, free: 13.34 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000249/0.5065, allocations: 39.92 kB / 0.8689 GB, free: 13.3 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 () * 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.0002234/0.5068, allocations: 147.1 kB / 0.8691 GB, free: 13.15 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.074e-05/0.5069, allocations: 20 kB / 0.8691 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.5069, allocations: 0 / 0.8691 GB, free: 13.13 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.327e-05/0.5069, allocations: 19.94 kB / 0.8691 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001003/0.507, allocations: 0 / 0.8691 GB, free: 13.11 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001727/0.5072, allocations: 68.03 kB / 0.8692 GB, free: 13.02 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002414/0.5074, allocations: 0.6845 MB / 0.8698 GB, free: 12.31 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.027e-05/0.5075, allocations: 11.98 kB / 0.8699 GB, free: 12.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.118e-05/0.5075, allocations: 11.44 kB / 0.8699 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.5075, allocations: 0 / 0.8699 GB, free: 12.29 MB / 0.5417 GB Notification: Performance of Templates: time 0.003096/0.5106, allocations: 1.15 MB / 0.871 GB, free: 11.14 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)