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.7838/0.7838, allocations: 141.7 MB / 154.3 MB, free: 15.49 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009812/0.0009816, allocations: 185.3 kB / 187.3 MB, free: 11.9 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.467/1.467, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.0009083/0.0009081, allocations: 100.4 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001732/0.001732, allocations: 271.7 kB / 0.5939 GB, free: 7.988 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.367e-05/3.371e-05, allocations: 7.984 kB / 0.6834 GB, free: 12.28 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4735/0.4735, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.132/0.6056, allocations: 109.9 MB / 0.8716 GB, free: 14.67 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002559/0.6059, allocations: 71.84 kB / 0.8716 GB, free: 14.6 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.008347/0.6143, allocations: 2.577 MB / 0.8742 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.014e-06/0.6144, allocations: 0 / 0.8742 GB, free: 12.03 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.444e-06/0.6144, allocations: 4 kB / 0.8742 GB, free: 12.03 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.0003482/0.6147, allocations: 335.9 kB / 0.8745 GB, free: 11.66 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.23e-05/0.6148, allocations: 12.03 kB / 0.8745 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.064e-05/0.6148, allocations: 0 / 0.8745 GB, free: 11.64 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001513/0.615, allocations: 167 kB / 0.8747 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.576e-05/0.615, allocations: 4 kB / 0.8747 GB, free: 11.44 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.148e-05/0.615, allocations: 7.938 kB / 0.8747 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001214/0.6152, allocations: 41.69 kB / 0.8747 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.6152, allocations: 0 / 0.8747 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.378e-06/0.6152, allocations: 0 / 0.8747 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.29e-06/0.6152, allocations: 0 / 0.8747 GB, free: 11.38 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.332e-05/0.6153, allocations: 27.97 kB / 0.8747 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001914/0.6155, allocations: 161.6 kB / 0.8749 GB, free: 11.15 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.375e-05/0.6155, allocations: 42.58 kB / 0.8749 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.137e-05/0.6156, allocations: 20.92 kB / 0.8749 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003475/0.6159, allocations: 186.2 kB / 0.8751 GB, free: 10.86 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.26e-05/0.616, allocations: 30.56 kB / 0.8752 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=5): time 3.467e-06/0.616, allocations: 3.938 kB / 0.8752 GB, free: 10.81 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5): time 0.0001623/0.6162, allocations: 57.62 kB / 0.8752 GB, free: 10.75 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.192e-05/0.6162, allocations: 51.41 kB / 0.8753 GB, free: 10.69 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.229e-05/0.6163, allocations: 93 kB / 0.8753 GB, free: 10.59 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.377e-05/0.6163, allocations: 25.7 kB / 0.8754 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 3.955e-05/0.6163, allocations: 84.14 kB / 0.8755 GB, free: 10.47 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.096e-05/0.6164, allocations: 7.812 kB / 0.8755 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-06/0.6164, allocations: 4 kB / 0.8755 GB, free: 10.46 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001404/0.6165, allocations: 318.8 kB / 0.8758 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.05e-05/0.6166, allocations: 4 kB / 0.8758 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.787e-05/0.6166, allocations: 11.94 kB / 0.8758 GB, free: 10.12 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 2.883e-05/0.6166, allocations: 12.19 kB / 0.8758 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.6166, allocations: 4.125 kB / 0.8758 GB, free: 10.11 MB / 0.5417 GB Notification: Performance of matching and sorting (n=5) (initialization): time 9.468e-05/0.6167, allocations: 57.64 kB / 0.8759 GB, free: 10.05 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.582e-05/0.6168, allocations: 8 kB / 0.8759 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.6168, allocations: 0 / 0.8759 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.254e-05/0.6168, allocations: 0 / 0.8759 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.791e-05/0.6169, allocations: 11.98 kB / 0.8759 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.214e-06/0.6169, allocations: 0 / 0.8759 GB, free: 10.03 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.051e-05/0.6169, allocations: 3.906 kB / 0.8759 GB, free: 10.02 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.175e-06/0.6169, allocations: 4 kB / 0.8759 GB, free: 10.02 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 7.489e-05/0.617, allocations: 104.9 kB / 0.876 GB, free: 9.91 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.626e-06/0.617, allocations: 7.953 kB / 0.876 GB, free: 9.902 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001703/0.6172, allocations: 85.11 kB / 0.8761 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.6172, allocations: 0 / 0.8761 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.968e-06/0.6172, allocations: 0 / 0.8761 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.936e-06/0.6172, allocations: 0 / 0.8761 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001354/0.6174, allocations: 161.7 kB / 0.8762 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.82e-07/0.6174, allocations: 0 / 0.8762 GB, free: 9.609 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.169e-05/0.6174, allocations: 11.98 kB / 0.8762 GB, free: 9.598 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.6174, allocations: 4 kB / 0.8762 GB, free: 9.594 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.183e-05/0.6174, allocations: 11.95 kB / 0.8762 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.6174, allocations: 0 / 0.8762 GB, free: 9.582 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.6175, allocations: 3.938 kB / 0.8763 GB, free: 9.578 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001275/0.6176, allocations: 85.03 kB / 0.8763 GB, free: 9.477 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 3.531e-05/0.6176, allocations: 77.11 kB / 0.8764 GB, free: 9.383 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.56e-05/0.6176, allocations: 4.172 kB / 0.8764 GB, free: 9.379 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.151e-05/0.6177, allocations: 15.89 kB / 0.8764 GB, free: 9.363 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.934e-05/0.6177, allocations: 4 kB / 0.8764 GB, free: 9.359 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.36e-06/0.6177, allocations: 4 kB / 0.8764 GB, free: 9.355 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 2.941e-05/0.6177, allocations: 79.28 kB / 0.8765 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6177, allocations: 0 / 0.8765 GB, free: 9.277 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002554/0.618, allocations: 39.92 kB / 0.8765 GB, free: 9.238 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.0002469/0.6183, allocations: 143.1 kB / 0.8767 GB, free: 9.09 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.766e-05/0.6184, allocations: 24 kB / 0.8767 GB, free: 9.066 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6184, allocations: 4.094 kB / 0.8767 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.981e-05/0.6184, allocations: 16 kB / 0.8767 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001048/0.6185, allocations: 0 / 0.8767 GB, free: 9.047 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002151/0.6187, allocations: 69.17 kB / 0.8768 GB, free: 8.957 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002637/0.619, allocations: 0.6809 MB / 0.8775 GB, free: 8.25 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.25e-05/0.6191, allocations: 15.92 kB / 0.8775 GB, free: 8.234 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.423e-05/0.6191, allocations: 19.44 kB / 0.8775 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of SimCode: time 2.5e-07/0.6191, allocations: 0 / 0.8775 GB, free: 8.215 MB / 0.5417 GB Notification: Performance of Templates: time 0.003308/0.6224, allocations: 1.165 MB / 0.8786 GB, free: 7.055 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)