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.83/0.83, allocations: 141.8 MB / 149.3 MB, free: 9.238 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.001025/0.001025, allocations: 183.8 kB / 182.2 MB, free: 9.461 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.408/1.408, allocations: 221.5 MB / 436.4 MB, free: 13.35 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.0008529/0.0008527, allocations: 84.11 kB / 0.5074 GB, free: 10.18 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001774/0.001774, allocations: 286.4 kB / 0.5889 GB, free: 54.68 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 1.502e-05/1.504e-05, allocations: 0 / 0.6765 GB, free: 12.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4112/0.4112, allocations: 82.78 MB / 0.7574 GB, free: 32.02 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1484/0.5597, allocations: 111.7 MB / 0.8665 GB, free: 164 kB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002723/0.56, allocations: 87.81 kB / 0.8666 GB, free: 80 kB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01542/0.5754, allocations: 6.075 MB / 0.8725 GB, free: 9.918 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.512e-06/0.5755, allocations: 4 kB / 0.8725 GB, free: 9.914 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 7.053e-06/0.5755, allocations: 0 / 0.8725 GB, free: 9.914 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.0004608/0.5759, allocations: 454 kB / 0.8729 GB, free: 9.426 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.226e-05/0.576, allocations: 15.97 kB / 0.8729 GB, free: 9.41 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.16e-05/0.576, allocations: 19.72 kB / 0.873 GB, free: 9.391 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001679/0.5762, allocations: 210.6 kB / 0.8732 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.42e-05/0.5762, allocations: 0 / 0.8732 GB, free: 9.148 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.48e-05/0.5763, allocations: 4 kB / 0.8732 GB, free: 9.145 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0001716/0.5764, allocations: 91.86 kB / 0.8732 GB, free: 9.055 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000132/0.5766, allocations: 81.62 kB / 0.8733 GB, free: 8.969 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.446e-06/0.5766, allocations: 4 kB / 0.8733 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.237e-05/0.5766, allocations: 0 / 0.8733 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.31e-06/0.5766, allocations: 0 / 0.8733 GB, free: 8.965 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005641/0.5772, allocations: 365.4 kB / 0.8737 GB, free: 8.57 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001501/0.5774, allocations: 110.4 kB / 0.8738 GB, free: 8.453 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 7.065e-05/0.5774, allocations: 48.89 kB / 0.8738 GB, free: 8.402 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 5.926e-05/0.5775, allocations: 27.83 kB / 0.8739 GB, free: 8.375 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.149e-05/0.5775, allocations: 38.55 kB / 0.8739 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.202e-06/0.5775, allocations: 0 / 0.8739 GB, free: 8.328 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0003085/0.5779, allocations: 137.4 kB / 0.874 GB, free: 8.188 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.758e-05/0.5779, allocations: 51.41 kB / 0.8741 GB, free: 8.125 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001971/0.5781, allocations: 218.3 kB / 0.8743 GB, free: 7.898 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.537e-05/0.5781, allocations: 29.7 kB / 0.8743 GB, free: 7.863 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 8.964e-05/0.5782, allocations: 128.1 kB / 0.8744 GB, free: 7.734 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.878e-05/0.5782, allocations: 11.94 kB / 0.8744 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.412e-06/0.5782, allocations: 0 / 0.8744 GB, free: 7.723 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001166/0.5784, allocations: 334.8 kB / 0.8748 GB, free: 7.387 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 7.044e-05/0.5784, allocations: 43.97 kB / 0.8748 GB, free: 7.344 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.701e-05/0.5785, allocations: 47.95 kB / 0.8748 GB, free: 7.297 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.277e-05/0.5786, allocations: 43.95 kB / 0.8749 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.773e-06/0.5786, allocations: 0 / 0.8749 GB, free: 7.254 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002149/0.5788, allocations: 141.4 kB / 0.875 GB, free: 7.109 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.681e-05/0.5789, allocations: 13.48 kB / 0.875 GB, free: 7.098 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.352e-06/0.5789, allocations: 4 kB / 0.875 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.103e-05/0.5789, allocations: 0 / 0.875 GB, free: 7.094 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001015/0.579, allocations: 11.98 kB / 0.8751 GB, free: 7.082 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.049e-06/0.579, allocations: 4.703 kB / 0.8751 GB, free: 7.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.519e-05/0.5791, allocations: 7.906 kB / 0.8751 GB, free: 7.07 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.327e-05/0.5791, allocations: 11.94 kB / 0.8751 GB, free: 7.059 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.718e-05/0.5792, allocations: 118 kB / 0.8752 GB, free: 6.938 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.335e-05/0.5792, allocations: 15.81 kB / 0.8752 GB, free: 6.922 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003567/0.5796, allocations: 192.5 kB / 0.8754 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.5796, allocations: 0 / 0.8754 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.5796, allocations: 0 / 0.8754 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.354e-06/0.5796, allocations: 0 / 0.8754 GB, free: 6.727 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000226/0.5799, allocations: 226.1 kB / 0.8756 GB, free: 6.469 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5799, allocations: 0 / 0.8756 GB, free: 6.469 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.092e-05/0.5799, allocations: 23.98 kB / 0.8756 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.803e-06/0.58, allocations: 0 / 0.8756 GB, free: 6.445 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.287e-05/0.58, allocations: 8 kB / 0.8756 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.202e-06/0.58, allocations: 0 / 0.8756 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.024e-06/0.58, allocations: 0 / 0.8756 GB, free: 6.438 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002576/0.5802, allocations: 235.2 kB / 0.8759 GB, free: 6.191 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 4.845e-05/0.5803, allocations: 96.88 kB / 0.876 GB, free: 6.078 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.863e-05/0.5803, allocations: 3.984 kB / 0.876 GB, free: 6.074 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001012/0.5804, allocations: 12 kB / 0.876 GB, free: 6.062 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.064e-05/0.5805, allocations: 11.92 kB / 0.876 GB, free: 6.051 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.175e-05/0.5805, allocations: 4 kB / 0.876 GB, free: 6.047 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001386/0.5807, allocations: 182 kB / 0.8762 GB, free: 5.871 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.6e-07/0.5807, allocations: 3.938 kB / 0.8762 GB, free: 5.867 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000355/0.581, allocations: 71.88 kB / 0.8762 GB, free: 5.797 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 (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.0003102/0.5813, allocations: 195.1 kB / 0.8764 GB, free: 5.598 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0001334/0.5815, allocations: 83.89 kB / 0.8765 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.703e-06/0.5815, allocations: 0 / 0.8765 GB, free: 5.516 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 5.636e-05/0.5816, allocations: 39.98 kB / 0.8765 GB, free: 5.477 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000324/0.5819, allocations: 46.97 kB / 0.8766 GB, free: 5.434 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003907/0.5823, allocations: 229.4 kB / 0.8768 GB, free: 5.188 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002982/0.5826, allocations: 0.743 MB / 0.8775 GB, free: 4.418 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.687e-05/0.5826, allocations: 8.891 kB / 0.8775 GB, free: 4.406 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.656e-05/0.5827, allocations: 15.42 kB / 0.8775 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of SimCode: time 2.51e-07/0.5827, allocations: 0 / 0.8775 GB, free: 4.391 MB / 0.5417 GB Notification: Performance of Templates: time 0.004883/0.5876, allocations: 2.13 MB / 0.8796 GB, free: 2.281 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)