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 1.032/1.032, allocations: 141.8 MB / 149.3 MB, free: 9.223 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.001016/0.001016, allocations: 179.8 kB / 182.2 MB, free: 9.457 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.476/1.476, 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.0009554/0.0009554, allocations: 84.09 kB / 0.5074 GB, free: 10.11 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001913/0.001913, allocations: 275.3 kB / 0.5889 GB, free: 54.66 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.386e-05/1.386e-05, allocations: 0 / 0.6765 GB, free: 12.81 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4166/0.4166, allocations: 82.76 MB / 0.7574 GB, free: 32.01 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1427/0.5594, allocations: 110.8 MB / 0.8656 GB, free: 1.043 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002143/0.5597, allocations: 91.81 kB / 0.8657 GB, free: 0.957 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01374/0.5734, allocations: 5.51 MB / 0.8711 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.382e-06/0.5734, allocations: 0 / 0.8711 GB, free: 11.36 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 1.052e-05/0.5735, allocations: 4 kB / 0.8711 GB, free: 11.36 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.000467/0.5739, allocations: 434 kB / 0.8715 GB, free: 10.89 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.014e-05/0.574, allocations: 15.97 kB / 0.8715 GB, free: 10.88 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.301e-05/0.574, allocations: 27.66 kB / 0.8715 GB, free: 10.85 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001754/0.5742, allocations: 210.6 kB / 0.8717 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.276e-06/0.5742, allocations: 0 / 0.8717 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.143e-05/0.5743, allocations: 0 / 0.8717 GB, free: 10.61 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001042/0.5744, allocations: 43.97 kB / 0.8718 GB, free: 10.56 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 9.357e-05/0.5745, allocations: 57.67 kB / 0.8718 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.003e-06/0.5745, allocations: 0 / 0.8718 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.072e-05/0.5745, allocations: 0 / 0.8718 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.138e-06/0.5745, allocations: 0 / 0.8718 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004701/0.575, allocations: 325.4 kB / 0.8721 GB, free: 10.14 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 8.697e-05/0.5751, allocations: 62.42 kB / 0.8722 GB, free: 10.07 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 4.826e-05/0.5751, allocations: 28.91 kB / 0.8722 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.204e-05/0.5752, allocations: 7.984 kB / 0.8722 GB, free: 10.04 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.244e-05/0.5752, allocations: 38.56 kB / 0.8723 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.032e-06/0.5752, allocations: 0 / 0.8723 GB, free: 9.988 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0002363/0.5755, allocations: 93.38 kB / 0.8723 GB, free: 9.891 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.163e-05/0.5755, allocations: 55.41 kB / 0.8724 GB, free: 9.824 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002055/0.5757, allocations: 214.3 kB / 0.8726 GB, free: 9.602 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.934e-05/0.5757, allocations: 25.7 kB / 0.8726 GB, free: 9.57 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 7.778e-05/0.5758, allocations: 132.1 kB / 0.8728 GB, free: 9.438 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.803e-05/0.5759, allocations: 7.906 kB / 0.8728 GB, free: 9.43 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.2e-06/0.5759, allocations: 3.938 kB / 0.8728 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.000116/0.576, allocations: 338.8 kB / 0.8731 GB, free: 9.086 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 3.724e-05/0.576, allocations: 23.98 kB / 0.8731 GB, free: 9.062 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.028e-05/0.5761, allocations: 19.98 kB / 0.8731 GB, free: 9.043 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 6.113e-05/0.5761, allocations: 19.98 kB / 0.8732 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.593e-06/0.5761, allocations: 0 / 0.8732 GB, free: 9.023 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001423/0.5763, allocations: 93.47 kB / 0.8732 GB, free: 8.926 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.496e-05/0.5763, allocations: 4 kB / 0.8732 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.909e-06/0.5763, allocations: 0 / 0.8732 GB, free: 8.922 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.431e-05/0.5763, allocations: 8.094 kB / 0.8733 GB, free: 8.914 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000108/0.5765, allocations: 11.98 kB / 0.8733 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.598e-06/0.5765, allocations: 0 / 0.8733 GB, free: 8.902 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.696e-05/0.5766, allocations: 11.91 kB / 0.8733 GB, free: 8.891 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.679e-05/0.5766, allocations: 3.938 kB / 0.8733 GB, free: 8.887 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 (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 6.54e-05/0.5767, allocations: 108.9 kB / 0.8734 GB, free: 8.773 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.5767, allocations: 19.8 kB / 0.8734 GB, free: 8.754 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002183/0.5769, allocations: 121.1 kB / 0.8735 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.5769, allocations: 0 / 0.8735 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.5769, allocations: 0 / 0.8735 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.805e-06/0.5769, allocations: 0 / 0.8735 GB, free: 8.629 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000197/0.5771, allocations: 202.1 kB / 0.8737 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.643e-06/0.5772, allocations: 0 / 0.8737 GB, free: 8.395 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.912e-05/0.5772, allocations: 11.98 kB / 0.8737 GB, free: 8.383 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.809e-06/0.5772, allocations: 4 kB / 0.8737 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.714e-06/0.5773, allocations: 0 / 0.8737 GB, free: 8.379 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.5773, allocations: 4.031 kB / 0.8737 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.455e-06/0.5773, allocations: 0 / 0.8737 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001786/0.5775, allocations: 191.2 kB / 0.8739 GB, free: 8.172 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.766e-05/0.5775, allocations: 96.88 kB / 0.874 GB, free: 8.059 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.593e-05/0.5775, allocations: 4 kB / 0.874 GB, free: 8.055 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001006/0.5777, allocations: 7.984 kB / 0.874 GB, free: 8.047 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.461e-05/0.5777, allocations: 11.97 kB / 0.874 GB, free: 8.035 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.426e-06/0.5777, allocations: 3.984 kB / 0.874 GB, free: 8.031 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001372/0.5779, allocations: 174 kB / 0.8742 GB, free: 7.863 MB / 0.5417 GB Notification: Performance of sort global known variables: time 2.7e-07/0.5779, allocations: 4 kB / 0.8742 GB, free: 7.859 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000285/0.5782, allocations: 55.92 kB / 0.8743 GB, free: 7.805 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 (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.0002678/0.5784, allocations: 168.5 kB / 0.8744 GB, free: 7.633 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 9.31e-05/0.5785, allocations: 43.92 kB / 0.8745 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.5785, allocations: 0 / 0.8745 GB, free: 7.59 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 3.573e-05/0.5786, allocations: 27.92 kB / 0.8745 GB, free: 7.562 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003443/0.5789, allocations: 43.03 kB / 0.8745 GB, free: 7.523 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003854/0.5793, allocations: 213.4 kB / 0.8747 GB, free: 7.293 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.5796, allocations: 0.7392 MB / 0.8754 GB, free: 6.527 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 5.521e-05/0.5797, allocations: 8.188 kB / 0.8755 GB, free: 6.516 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.04e-05/0.5797, allocations: 11.44 kB / 0.8755 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of SimCode: time 2.81e-07/0.5797, allocations: 0 / 0.8755 GB, free: 6.504 MB / 0.5417 GB Notification: Performance of Templates: time 0.004549/0.5843, allocations: 1.786 MB / 0.8772 GB, free: 4.746 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)