Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.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.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7615/0.7615, allocations: 143.4 MB / 158.3 MB, free: 5.801 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.001076/0.001076, allocations: 182.5 kB / 191.5 MB, free: 5.781 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.453/1.453, allocations: 223.2 MB / 447.7 MB, free: 4.82 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.0008381/0.0008381, allocations: 92.33 kB / 0.5188 GB, free: 1.188 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001662/0.001662, allocations: 271 kB / 0.6005 GB, free: 48.77 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005654/0.0005655, allocations: 13.94 kB / 0.6929 GB, free: 59.6 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1903/0.1909, allocations: 82.8 MB / 0.7737 GB, free: 13.87 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5952/0.7861, allocations: 111.5 MB / 0.8827 GB, free: 32.34 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002608/0.7864, allocations: 89.73 kB / 0.8827 GB, free: 32.34 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.01362/0.8001, allocations: 5.574 MB / 0.8882 GB, free: 31.39 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.643e-06/0.8001, allocations: 1.344 kB / 0.8882 GB, free: 31.39 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.757e-06/0.8001, allocations: 1.281 kB / 0.8882 GB, free: 31.39 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.0005234/0.8006, allocations: 497.2 kB / 0.8887 GB, free: 30.95 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 5.385e-05/0.8007, allocations: 9.984 kB / 0.8887 GB, free: 30.95 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.938e-05/0.8008, allocations: 19.97 kB / 0.8887 GB, free: 30.94 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001655/0.8009, allocations: 208.3 kB / 0.8889 GB, free: 30.72 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.491e-05/0.801, allocations: 5.375 kB / 0.8889 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.618e-05/0.801, allocations: 1.375 kB / 0.8889 GB, free: 30.71 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000302/0.8013, allocations: 79.27 kB / 0.889 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.067e-06/0.8013, allocations: 1.25 kB / 0.889 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.355e-05/0.8013, allocations: 0.75 kB / 0.889 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.47e-06/0.8013, allocations: 0 / 0.889 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002369/0.8016, allocations: 81.22 kB / 0.8891 GB, free: 30.68 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005881/0.8022, allocations: 339.8 kB / 0.8894 GB, free: 30.41 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001727/0.8024, allocations: 77.45 kB / 0.8894 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.06e-05/0.8024, allocations: 14.7 kB / 0.8895 GB, free: 30.38 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.8025, allocations: 31.27 kB / 0.8895 GB, free: 30.34 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.213e-06/0.8025, allocations: 0 / 0.8895 GB, free: 30.34 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0004672/0.8029, allocations: 169.3 kB / 0.8897 GB, free: 30.29 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.648e-05/0.803, allocations: 55.34 kB / 0.8897 GB, free: 30.22 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002427/0.8032, allocations: 228.9 kB / 0.8899 GB, free: 30.12 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.445e-05/0.8033, allocations: 25.7 kB / 0.8899 GB, free: 30.09 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 9.193e-05/0.8034, allocations: 132 kB / 0.8901 GB, free: 30.01 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.764e-05/0.8034, allocations: 7.828 kB / 0.8901 GB, free: 30.01 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.308e-06/0.8034, allocations: 0 / 0.8901 GB, free: 30.01 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001091/0.8035, allocations: 340.5 kB / 0.8904 GB, free: 29.69 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001096/0.8036, allocations: 38.58 kB / 0.8904 GB, free: 29.69 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.865e-05/0.8037, allocations: 36.45 kB / 0.8905 GB, free: 29.69 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001073/0.8038, allocations: 42.06 kB / 0.8905 GB, free: 29.68 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.674e-06/0.8038, allocations: 0 / 0.8905 GB, free: 29.68 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002557/0.8041, allocations: 119.6 kB / 0.8906 GB, free: 29.64 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.64e-05/0.8041, allocations: 5.938 kB / 0.8906 GB, free: 29.64 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.773e-06/0.8041, allocations: 4.641 kB / 0.8906 GB, free: 29.64 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.602e-05/0.8042, allocations: 3.938 kB / 0.8906 GB, free: 29.64 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.934e-05/0.8043, allocations: 17.92 kB / 0.8907 GB, free: 29.63 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.011e-06/0.8043, allocations: 0 / 0.8907 GB, free: 29.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.106e-05/0.8044, allocations: 8.344 kB / 0.8907 GB, free: 29.63 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.028e-05/0.8044, allocations: 6.656 kB / 0.8907 GB, free: 29.63 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 8.963e-05/0.8045, allocations: 140.8 kB / 0.8908 GB, free: 29.51 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.425e-05/0.8045, allocations: 26.34 kB / 0.8908 GB, free: 29.5 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003195/0.8048, allocations: 135.7 kB / 0.891 GB, free: 29.47 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.844e-06/0.8049, allocations: 0 / 0.891 GB, free: 29.47 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.244e-06/0.8049, allocations: 4.734 kB / 0.891 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.647e-06/0.8049, allocations: 4.031 kB / 0.891 GB, free: 29.46 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002234/0.8051, allocations: 229.9 kB / 0.8912 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.753e-06/0.8051, allocations: 0.6094 kB / 0.8912 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.567e-05/0.8052, allocations: 13.89 kB / 0.8912 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.8052, allocations: 0 / 0.8912 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.868e-06/0.8052, allocations: 0.6094 kB / 0.8912 GB, free: 29.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.8052, allocations: 6.719 kB / 0.8912 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.353e-06/0.8052, allocations: 0.5625 kB / 0.8912 GB, free: 29.26 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002666/0.8055, allocations: 224.3 kB / 0.8914 GB, free: 29.12 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.433e-05/0.8056, allocations: 98.2 kB / 0.8915 GB, free: 29.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.8056, allocations: 0.5156 kB / 0.8915 GB, free: 29.01 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.724e-05/0.8057, allocations: 11.47 kB / 0.8915 GB, free: 29.01 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.165e-05/0.8057, allocations: 3.625 kB / 0.8915 GB, free: 29.01 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.865e-06/0.8057, allocations: 3.25 kB / 0.8915 GB, free: 29.01 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001473/0.8059, allocations: 189 kB / 0.8917 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8059, allocations: 0 / 0.8917 GB, free: 28.93 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000311/0.8062, allocations: 60.62 kB / 0.8918 GB, free: 28.92 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.0002725/0.8065, allocations: 168.5 kB / 0.8919 GB, free: 28.81 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002368/0.8067, allocations: 78.27 kB / 0.892 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.8068, allocations: 0 / 0.892 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 9.934e-05/0.8069, allocations: 36.17 kB / 0.8921 GB, free: 28.8 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003179/0.8072, allocations: 50.55 kB / 0.8921 GB, free: 28.79 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006232/0.8078, allocations: 367.8 kB / 0.8924 GB, free: 28.58 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002504/0.8081, allocations: 0.7428 MB / 0.8932 GB, free: 27.88 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.353e-05/0.8081, allocations: 7.938 kB / 0.8932 GB, free: 27.88 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.954e-05/0.8082, allocations: 10.19 kB / 0.8932 GB, free: 27.87 MB / 0.5417 GB Notification: Performance of SimCode: time 2.11e-07/0.8082, allocations: 0 / 0.8932 GB, free: 27.87 MB / 0.5417 GB Notification: Performance of Templates: time 0.005766/0.8139, allocations: 2.105 MB / 0.8952 GB, free: 27.71 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi.pipe 2>&1)