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.8319/0.8319, allocations: 141.7 MB / 154.3 MB, free: 15.47 MB / 138.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001116/0.001115, allocations: 182.3 kB / 187.3 MB, free: 11.88 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.407/1.407, allocations: 221.3 MB / 441.4 MB, free: 4.598 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.000881/0.0008806, allocations: 101.3 kB / 0.5124 GB, free: 24.24 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001781/0.001782, allocations: 270.4 kB / 0.5939 GB, free: 7.938 MB / 442.7 MB Notification: Performance of FrontEnd - loaded program: time 3.511e-05/3.513e-05, allocations: 4 kB / 0.6834 GB, free: 12.21 MB / 0.5261 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4566/0.4567, allocations: 82.76 MB / 0.7643 GB, free: 108.7 MB / 0.5261 GB Notification: Performance of FrontEnd - scodeFlatten: time 0.1472/0.6039, allocations: 112.4 MB / 0.874 GB, free: 12.14 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0004376/0.6044, allocations: 91.81 kB / 0.8741 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 0.03061/0.635, allocations: 6.158 MB / 0.8801 GB, free: 5.824 MB / 0.5417 GB Notification: Performance of FrontEnd: time 2.966e-06/0.6351, allocations: 3.938 kB / 0.8801 GB, free: 5.82 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 9.177e-06/0.6351, allocations: 0 / 0.8801 GB, free: 5.82 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.0007586/0.6359, allocations: 462 kB / 0.8806 GB, free: 5.324 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 6.031e-05/0.636, allocations: 8.031 kB / 0.8806 GB, free: 5.316 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.161e-05/0.6361, allocations: 19.72 kB / 0.8806 GB, free: 5.297 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000278/0.6364, allocations: 206.6 kB / 0.8808 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.734e-05/0.6364, allocations: 0 / 0.8808 GB, free: 5.059 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.957e-05/0.6364, allocations: 4 kB / 0.8808 GB, free: 5.055 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002787/0.6367, allocations: 85.62 kB / 0.8809 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.047e-05/0.6367, allocations: 0 / 0.8809 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.761e-05/0.6368, allocations: 0 / 0.8809 GB, free: 4.965 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.953e-06/0.6368, allocations: 4 kB / 0.8809 GB, free: 4.961 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002671/0.6371, allocations: 95.86 kB / 0.881 GB, free: 4.867 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009677/0.6381, allocations: 384.8 kB / 0.8813 GB, free: 4.441 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002914/0.6384, allocations: 110.5 kB / 0.8814 GB, free: 4.324 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001639/0.6385, allocations: 56.88 kB / 0.8815 GB, free: 4.266 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 8.345e-05/0.6386, allocations: 19.98 kB / 0.8815 GB, free: 4.246 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.879e-05/0.6387, allocations: 34.56 kB / 0.8815 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 1.764e-06/0.6387, allocations: 0 / 0.8815 GB, free: 4.203 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.0004489/0.6392, allocations: 145.3 kB / 0.8817 GB, free: 4.055 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.461e-05/0.6392, allocations: 51.41 kB / 0.8817 GB, free: 3.992 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003983/0.6397, allocations: 231.1 kB / 0.8819 GB, free: 3.758 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 2.901e-05/0.6397, allocations: 25.7 kB / 0.882 GB, free: 3.727 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001397/0.6399, allocations: 140.1 kB / 0.8821 GB, free: 3.586 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 3.25e-05/0.6399, allocations: 11.84 kB / 0.8821 GB, free: 3.574 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 1.031e-05/0.6399, allocations: 0 / 0.8821 GB, free: 3.574 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001994/0.6401, allocations: 330.8 kB / 0.8824 GB, free: 3.242 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001328/0.6403, allocations: 47.91 kB / 0.8825 GB, free: 3.195 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001311/0.6405, allocations: 43.95 kB / 0.8825 GB, free: 3.152 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001601/0.6406, allocations: 43.97 kB / 0.8826 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.705e-06/0.6406, allocations: 0 / 0.8826 GB, free: 3.109 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0003855/0.6411, allocations: 149.4 kB / 0.8827 GB, free: 2.957 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.875e-05/0.6411, allocations: 4 kB / 0.8827 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.095e-06/0.6411, allocations: 1.406 kB / 0.8827 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.447e-05/0.6411, allocations: 0 / 0.8827 GB, free: 2.953 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001726/0.6413, allocations: 19.98 kB / 0.8827 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.466e-06/0.6413, allocations: 0 / 0.8827 GB, free: 2.934 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001434/0.6415, allocations: 11.98 kB / 0.8827 GB, free: 2.922 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.54e-05/0.6416, allocations: 11.98 kB / 0.8828 GB, free: 2.91 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 0.0001047/0.6417, allocations: 105 kB / 0.8829 GB, free: 2.801 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.648e-05/0.6418, allocations: 23.72 kB / 0.8829 GB, free: 2.777 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006139/0.6424, allocations: 196.2 kB / 0.8831 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.417e-06/0.6424, allocations: 0 / 0.8831 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.919e-06/0.6424, allocations: 0 / 0.8831 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.238e-06/0.6424, allocations: 0 / 0.8831 GB, free: 2.582 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004508/0.6429, allocations: 245.5 kB / 0.8833 GB, free: 2.293 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.6429, allocations: 0 / 0.8833 GB, free: 2.293 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001435/0.6431, allocations: 19.98 kB / 0.8833 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.256e-06/0.6431, allocations: 0 / 0.8833 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.613e-05/0.6431, allocations: 0 / 0.8833 GB, free: 2.273 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.295e-06/0.6431, allocations: 4 kB / 0.8833 GB, free: 2.27 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.713e-06/0.6431, allocations: 0 / 0.8833 GB, free: 2.27 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004615/0.6436, allocations: 247.1 kB / 0.8836 GB, free: 2.012 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 9.19e-05/0.6437, allocations: 88.92 kB / 0.8836 GB, free: 1.906 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.176e-05/0.6438, allocations: 8 kB / 0.8836 GB, free: 1.898 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001926/0.644, allocations: 8 kB / 0.8837 GB, free: 1.891 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.037e-05/0.6441, allocations: 11.92 kB / 0.8837 GB, free: 1.879 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.107e-05/0.6441, allocations: 4.094 kB / 0.8837 GB, free: 1.875 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0002951/0.6444, allocations: 191.1 kB / 0.8839 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of sort global known variables: time 3.146e-06/0.6444, allocations: 0 / 0.8839 GB, free: 1.691 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.000676/0.6451, allocations: 87.8 kB / 0.8839 GB, free: 1.605 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.000564/0.6457, allocations: 200.7 kB / 0.8841 GB, free: 1.406 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.0002435/0.646, allocations: 75.97 kB / 0.8842 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.646, allocations: 0 / 0.8842 GB, free: 1.332 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.0001104/0.6461, allocations: 51.98 kB / 0.8842 GB, free: 1.281 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005923/0.6467, allocations: 41.03 kB / 0.8843 GB, free: 1.242 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007225/0.6475, allocations: 238.4 kB / 0.8845 GB, free: 0.9883 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000488/0.648, allocations: 0.7433 MB / 0.8852 GB, free: 224 kB / 0.5417 GB Notification: Performance of simCode: alias equations: time 8.236e-05/0.6481, allocations: 8.188 kB / 0.8852 GB, free: 212 kB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.086e-05/0.6481, allocations: 11.44 kB / 0.8853 GB, free: 200 kB / 0.5417 GB Notification: Performance of SimCode: time 7.41e-07/0.6481, allocations: 0 / 0.8853 GB, free: 200 kB / 0.5417 GB Notification: Performance of Templates: time 0.01038/0.6585, allocations: 2.687 MB / 0.8879 GB, free: 13.54 MB / 0.5573 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)