Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9158/0.9158, allocations: 143.4 MB / 158.3 MB, free: 5.793 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.001776/0.001776, allocations: 182 kB / 191.5 MB, free: 5.77 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.535/1.535, allocations: 223.2 MB / 447.7 MB, free: 4.734 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.001144/0.001144, allocations: 100.2 kB / 0.5188 GB, free: 1.098 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001719/0.001719, allocations: 271.9 kB / 0.6005 GB, free: 48.76 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005867/0.0005869, allocations: 15.91 kB / 0.6929 GB, free: 59.65 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1948/0.1954, allocations: 82.79 MB / 0.7737 GB, free: 13.86 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.6224/0.8178, allocations: 110.5 MB / 0.8816 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003489/0.8183, allocations: 87.67 kB / 0.8817 GB, free: 31.8 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01194/0.8302, allocations: 4.797 MB / 0.8864 GB, free: 30.92 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.164e-06/0.8303, allocations: 0 / 0.8864 GB, free: 30.92 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.366e-06/0.8303, allocations: 0 / 0.8864 GB, free: 30.92 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: 3 * Number of variables: 3 Notification: Performance of Generate backend data structure: time 0.0005464/0.8308, allocations: 478.3 kB / 0.8869 GB, free: 30.49 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.975e-05/0.8309, allocations: 12.19 kB / 0.8869 GB, free: 30.48 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.883e-05/0.831, allocations: 16.53 kB / 0.8869 GB, free: 30.48 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002019/0.8312, allocations: 213.7 kB / 0.8871 GB, free: 30.25 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.954e-05/0.8312, allocations: 3.875 kB / 0.8871 GB, free: 30.25 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.673e-05/0.8312, allocations: 7.938 kB / 0.8871 GB, free: 30.25 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002224/0.8315, allocations: 57.81 kB / 0.8871 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.8315, allocations: 0 / 0.8871 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.129e-05/0.8315, allocations: 0 / 0.8871 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.811e-06/0.8315, allocations: 3.547 kB / 0.8872 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001946/0.8317, allocations: 55.22 kB / 0.8872 GB, free: 30.21 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005843/0.8323, allocations: 318.8 kB / 0.8875 GB, free: 29.94 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001624/0.8325, allocations: 54.92 kB / 0.8876 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.959e-05/0.8325, allocations: 3.609 kB / 0.8876 GB, free: 29.91 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.071e-05/0.8326, allocations: 33.09 kB / 0.8876 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.262e-06/0.8326, allocations: 0 / 0.8876 GB, free: 29.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0004734/0.833, allocations: 126.3 kB / 0.8877 GB, free: 29.83 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.292e-05/0.8331, allocations: 57.42 kB / 0.8878 GB, free: 29.77 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003194/0.8334, allocations: 230 kB / 0.888 GB, free: 29.66 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.66e-05/0.8335, allocations: 25.7 kB / 0.888 GB, free: 29.63 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001126/0.8336, allocations: 136.9 kB / 0.8881 GB, free: 29.55 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.502e-05/0.8336, allocations: 11.3 kB / 0.8882 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.429e-06/0.8336, allocations: 0 / 0.8882 GB, free: 29.54 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001094/0.8337, allocations: 333.8 kB / 0.8885 GB, free: 29.23 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000101/0.8338, allocations: 26.55 kB / 0.8885 GB, free: 29.23 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.971e-05/0.8339, allocations: 27.09 kB / 0.8885 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.977e-05/0.834, allocations: 26.78 kB / 0.8886 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.014e-06/0.8341, allocations: 0 / 0.8886 GB, free: 29.22 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002569/0.8343, allocations: 108 kB / 0.8887 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.485e-05/0.8344, allocations: 5.188 kB / 0.8887 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.987e-06/0.8344, allocations: 0.6562 kB / 0.8887 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.101e-05/0.8344, allocations: 1.375 kB / 0.8887 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001323/0.8345, allocations: 11.17 kB / 0.8887 GB, free: 29.18 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.004e-05/0.8345, allocations: 8.156 kB / 0.8887 GB, free: 29.17 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.428e-05/0.8346, allocations: 5.375 kB / 0.8887 GB, free: 29.17 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.628e-05/0.8347, allocations: 3.797 kB / 0.8887 GB, free: 29.17 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 (2): * Single equations (assignments): 2 * 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 0.0001348/0.8348, allocations: 143.7 kB / 0.8888 GB, free: 29.05 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.76e-05/0.8348, allocations: 22.69 kB / 0.8888 GB, free: 29.04 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003313/0.8352, allocations: 116.8 kB / 0.889 GB, free: 29 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.314e-06/0.8352, allocations: 1.375 kB / 0.889 GB, free: 29 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.811e-06/0.8352, allocations: 0 / 0.889 GB, free: 29 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.41e-06/0.8352, allocations: 0.6094 kB / 0.889 GB, free: 29 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002509/0.8355, allocations: 215.7 kB / 0.8892 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.583e-06/0.8355, allocations: 0.5625 kB / 0.8892 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.595e-05/0.8356, allocations: 13.83 kB / 0.8892 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.8356, allocations: 0.5625 kB / 0.8892 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.839e-06/0.8356, allocations: 5.281 kB / 0.8892 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.024e-06/0.8356, allocations: 0.6562 kB / 0.8892 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8356, allocations: 0 / 0.8892 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003049/0.8359, allocations: 201.4 kB / 0.8894 GB, free: 28.65 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.981e-05/0.836, allocations: 90.73 kB / 0.8895 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.375e-05/0.836, allocations: 0.8906 kB / 0.8895 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001041/0.8361, allocations: 9.172 kB / 0.8895 GB, free: 28.55 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.918e-05/0.8362, allocations: 6.594 kB / 0.8895 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.09e-05/0.8362, allocations: 5.609 kB / 0.8895 GB, free: 28.54 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002197/0.8364, allocations: 189.9 kB / 0.8897 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8364, allocations: 0 / 0.8897 GB, free: 28.46 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0003809/0.8368, allocations: 39.59 kB / 0.8897 GB, free: 28.46 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 (2): * Single equations (assignments): 2 * 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.0002921/0.8371, allocations: 140.6 kB / 0.8898 GB, free: 28.36 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002575/0.8374, allocations: 57.59 kB / 0.8899 GB, free: 28.36 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.054e-06/0.8374, allocations: 6.531 kB / 0.8899 GB, free: 28.36 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.613e-05/0.8375, allocations: 26.62 kB / 0.8899 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000345/0.8378, allocations: 37.89 kB / 0.89 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005786/0.8384, allocations: 368.6 kB / 0.8903 GB, free: 28.14 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00033/0.8388, allocations: 0.7422 MB / 0.891 GB, free: 27.44 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.169e-05/0.8388, allocations: 3.859 kB / 0.891 GB, free: 27.43 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.238e-05/0.8389, allocations: 14.34 kB / 0.8911 GB, free: 27.42 MB / 0.5417 GB Notification: Performance of SimCode: time 2.1e-07/0.8389, allocations: 0 / 0.8911 GB, free: 27.42 MB / 0.5417 GB Notification: Performance of Templates: time 0.005644/0.8445, allocations: 1.958 MB / 0.893 GB, free: 27.28 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)