Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.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.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7786/0.7786, allocations: 143.4 MB / 158.3 MB, free: 5.824 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.001381/0.001381, allocations: 185.8 kB / 191.5 MB, free: 5.793 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.437/1.437, allocations: 223.2 MB / 447.7 MB, free: 4.867 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.001093/0.001093, allocations: 96.33 kB / 0.5188 GB, free: 1.227 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001657/0.001658, allocations: 266.7 kB / 0.6005 GB, free: 48.8 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004228/0.0004229, allocations: 11.97 kB / 0.6929 GB, free: 59.64 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1656/0.166, allocations: 82.8 MB / 0.7737 GB, free: 13.88 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5674/0.7335, allocations: 112.4 MB / 0.8835 GB, free: 32.87 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002558/0.7338, allocations: 91.55 kB / 0.8836 GB, free: 32.87 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01521/0.7491, allocations: 6.155 MB / 0.8896 GB, free: 31.9 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.162e-06/0.7491, allocations: 0 / 0.8896 GB, free: 31.9 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.626e-06/0.7491, allocations: 6.844 kB / 0.8896 GB, free: 31.89 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.0005251/0.7496, allocations: 0.4897 MB / 0.8901 GB, free: 31.45 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.142e-05/0.7497, allocations: 10.42 kB / 0.8901 GB, free: 31.45 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.597e-05/0.7498, allocations: 19.97 kB / 0.8901 GB, free: 31.44 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001701/0.7499, allocations: 214.2 kB / 0.8903 GB, free: 31.22 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.537e-05/0.75, allocations: 1.375 kB / 0.8903 GB, free: 31.22 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.549e-05/0.75, allocations: 1.375 kB / 0.8903 GB, free: 31.22 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002895/0.7503, allocations: 106 kB / 0.8904 GB, free: 31.18 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.7503, allocations: 1.031 kB / 0.8904 GB, free: 31.18 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.543e-05/0.7503, allocations: 0.8906 kB / 0.8904 GB, free: 31.18 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.7503, allocations: 1.219 kB / 0.8904 GB, free: 31.18 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003278/0.7507, allocations: 131.3 kB / 0.8906 GB, free: 31.17 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007339/0.7514, allocations: 388 kB / 0.8909 GB, free: 30.91 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002815/0.7517, allocations: 125.6 kB / 0.8911 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.083e-05/0.7518, allocations: 25.7 kB / 0.8911 GB, free: 30.88 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.001e-05/0.7518, allocations: 31.22 kB / 0.8911 GB, free: 30.84 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.312e-06/0.7518, allocations: 0 / 0.8911 GB, free: 30.84 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0006218/0.7525, allocations: 240.4 kB / 0.8913 GB, free: 30.79 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.062e-05/0.7525, allocations: 51.41 kB / 0.8914 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000289/0.7528, allocations: 231.3 kB / 0.8916 GB, free: 30.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.044e-05/0.7528, allocations: 29.48 kB / 0.8916 GB, free: 30.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001004/0.753, allocations: 136.8 kB / 0.8918 GB, free: 30.51 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.753, allocations: 6.875 kB / 0.8918 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.272e-06/0.753, allocations: 0 / 0.8918 GB, free: 30.5 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 8.859e-05/0.7531, allocations: 333.8 kB / 0.8921 GB, free: 30.19 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001361/0.7532, allocations: 65.25 kB / 0.8922 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001203/0.7534, allocations: 66.05 kB / 0.8922 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001435/0.7535, allocations: 56.64 kB / 0.8923 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.306e-06/0.7535, allocations: 1.828 kB / 0.8923 GB, free: 30.18 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003246/0.7539, allocations: 174.7 kB / 0.8924 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.7539, allocations: 4.703 kB / 0.8924 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.7539, allocations: 2.562 kB / 0.8924 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.212e-05/0.7539, allocations: 0 / 0.8924 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001157/0.7541, allocations: 14.34 kB / 0.8925 GB, free: 30.14 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.101e-06/0.7541, allocations: 3.938 kB / 0.8925 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.73e-05/0.7541, allocations: 7.156 kB / 0.8925 GB, free: 30.13 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.105e-05/0.7542, allocations: 17.62 kB / 0.8925 GB, free: 30.12 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.0001205/0.7543, allocations: 138 kB / 0.8926 GB, free: 30.01 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.302e-05/0.7544, allocations: 23.56 kB / 0.8926 GB, free: 30 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000492/0.7549, allocations: 224.7 kB / 0.8929 GB, free: 29.96 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.216e-06/0.7549, allocations: 3.938 kB / 0.8929 GB, free: 29.95 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.15e-06/0.7549, allocations: 3.438 kB / 0.8929 GB, free: 29.95 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.717e-06/0.7549, allocations: 1.125 kB / 0.8929 GB, free: 29.95 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002342/0.7551, allocations: 240.8 kB / 0.8931 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.072e-06/0.7551, allocations: 0 / 0.8931 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.595e-05/0.7552, allocations: 17.14 kB / 0.8931 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.863e-06/0.7552, allocations: 0 / 0.8931 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.407e-05/0.7553, allocations: 8.453 kB / 0.8931 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-06/0.7553, allocations: 4 kB / 0.8931 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.7553, allocations: 0 / 0.8931 GB, free: 29.76 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003792/0.7557, allocations: 282.7 kB / 0.8934 GB, free: 29.61 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.258e-05/0.7557, allocations: 94.23 kB / 0.8935 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.72e-05/0.7557, allocations: 0 / 0.8935 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001015/0.7559, allocations: 10.75 kB / 0.8935 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.769e-05/0.7559, allocations: 8.438 kB / 0.8935 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.291e-05/0.7559, allocations: 5.531 kB / 0.8935 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.000144/0.7561, allocations: 188.2 kB / 0.8937 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.31e-07/0.7561, allocations: 0 / 0.8937 GB, free: 29.43 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0004732/0.7566, allocations: 81.64 kB / 0.8938 GB, free: 29.41 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 (3): * Single equations (assignments): 3 * 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.0003219/0.7569, allocations: 196.8 kB / 0.8939 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002657/0.7572, allocations: 111.8 kB / 0.8941 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.603e-06/0.7572, allocations: 0 / 0.8941 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001093/0.7573, allocations: 62.16 kB / 0.8941 GB, free: 29.29 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003144/0.7576, allocations: 46.34 kB / 0.8942 GB, free: 29.28 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005409/0.7582, allocations: 391.2 kB / 0.8945 GB, free: 29.07 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002063/0.7584, allocations: 0.737 MB / 0.8953 GB, free: 28.38 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.164e-05/0.7584, allocations: 14.08 kB / 0.8953 GB, free: 28.36 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.89e-05/0.7585, allocations: 11.69 kB / 0.8953 GB, free: 28.36 MB / 0.5417 GB Notification: Performance of SimCode: time 4.51e-07/0.7585, allocations: 3.938 kB / 0.8953 GB, free: 28.35 MB / 0.5417 GB Notification: Performance of Templates: time 0.006571/0.7651, allocations: 2.483 MB / 0.8977 GB, free: 28.16 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.dPhi.pipe 2>&1)