Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.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.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.7897/0.7897, allocations: 141.8 MB / 149.3 MB, free: 9.23 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.001141/0.001141, allocations: 180.8 kB / 182.2 MB, free: 9.453 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.366/1.366, allocations: 221.5 MB / 436.4 MB, free: 13.34 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.0008377/0.0008379, allocations: 93.69 kB / 0.5074 GB, free: 10.15 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001692/0.001692, allocations: 274.1 kB / 0.5889 GB, free: 54.7 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 2.051e-05/2.055e-05, allocations: 4 kB / 0.6765 GB, free: 12.86 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4791/0.4792, allocations: 82.77 MB / 0.7574 GB, free: 32.06 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1521/0.6313, allocations: 109.8 MB / 0.8646 GB, free: 2.133 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.00022/0.6316, allocations: 87.81 kB / 0.8646 GB, free: 2.051 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01126/0.6428, allocations: 4.731 MB / 0.8693 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of FrontEnd: time 1.553e-06/0.6429, allocations: 0 / 0.8693 GB, free: 13.24 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 8.296e-06/0.6429, allocations: 0 / 0.8693 GB, free: 13.24 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.0004458/0.6433, allocations: 442 kB / 0.8697 GB, free: 12.76 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.225e-05/0.6434, allocations: 15.95 kB / 0.8697 GB, free: 12.75 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.233e-05/0.6434, allocations: 19.72 kB / 0.8697 GB, free: 12.73 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001772/0.6436, allocations: 202.6 kB / 0.8699 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.32e-05/0.6436, allocations: 0 / 0.8699 GB, free: 12.49 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.235e-05/0.6437, allocations: 7.938 kB / 0.8699 GB, free: 12.48 MB / 0.5417 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.176e-05/0.6438, allocations: 15.98 kB / 0.8699 GB, free: 12.47 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 7.755e-05/0.6438, allocations: 41.69 kB / 0.87 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.207e-06/0.6439, allocations: 0 / 0.87 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.084e-05/0.6439, allocations: 4 kB / 0.87 GB, free: 12.42 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.268e-06/0.6439, allocations: 4 kB / 0.87 GB, free: 12.41 MB / 0.5417 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00046/0.6443, allocations: 289.4 kB / 0.8703 GB, free: 12.09 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 7.153e-05/0.6444, allocations: 38.5 kB / 0.8703 GB, free: 12.05 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.378e-05/0.6445, allocations: 20.91 kB / 0.8703 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 4.861e-05/0.6445, allocations: 7.984 kB / 0.8703 GB, free: 12.02 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.419e-05/0.6446, allocations: 30.56 kB / 0.8704 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=2): time 9.42e-07/0.6446, allocations: 0 / 0.8704 GB, free: 11.98 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2): time 0.000231/0.6448, allocations: 69.41 kB / 0.8704 GB, free: 11.9 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.824e-05/0.6449, allocations: 51.41 kB / 0.8705 GB, free: 11.84 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002082/0.6451, allocations: 214.3 kB / 0.8707 GB, free: 11.62 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 1.384e-05/0.6451, allocations: 25.73 kB / 0.8707 GB, free: 11.59 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001015/0.6452, allocations: 140.1 kB / 0.8708 GB, free: 11.45 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 1.555e-05/0.6452, allocations: 11.84 kB / 0.8708 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.078e-06/0.6452, allocations: 0 / 0.8708 GB, free: 11.43 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 0.0001329/0.6454, allocations: 334.8 kB / 0.8712 GB, free: 11.1 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.048e-05/0.6454, allocations: 8 kB / 0.8712 GB, free: 11.09 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 1.957e-05/0.6454, allocations: 8 kB / 0.8712 GB, free: 11.08 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 4.227e-05/0.6455, allocations: 15.92 kB / 0.8712 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.6455, allocations: 0 / 0.8712 GB, free: 11.07 MB / 0.5417 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000109/0.6456, allocations: 69.56 kB / 0.8713 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.644e-05/0.6456, allocations: 4 kB / 0.8713 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.101e-06/0.6456, allocations: 0 / 0.8713 GB, free: 10.99 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.563e-05/0.6457, allocations: 4 kB / 0.8713 GB, free: 10.98 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.766e-05/0.6458, allocations: 11.98 kB / 0.8713 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.969e-06/0.6458, allocations: 0 / 0.8713 GB, free: 10.97 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.244e-05/0.6458, allocations: 11.98 kB / 0.8713 GB, free: 10.96 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.814e-05/0.6459, allocations: 8.031 kB / 0.8713 GB, free: 10.95 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.687e-05/0.6459, allocations: 104.9 kB / 0.8714 GB, free: 10.84 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.504e-05/0.646, allocations: 19.72 kB / 0.8714 GB, free: 10.82 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001615/0.6461, allocations: 78.8 kB / 0.8715 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.274e-06/0.6462, allocations: 0 / 0.8715 GB, free: 10.74 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.39e-06/0.6462, allocations: 4 kB / 0.8715 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.056e-06/0.6462, allocations: 3.938 kB / 0.8715 GB, free: 10.73 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001896/0.6464, allocations: 182.2 kB / 0.8717 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.353e-06/0.6464, allocations: 0 / 0.8717 GB, free: 10.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.62e-05/0.6465, allocations: 19.98 kB / 0.8717 GB, free: 10.5 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.587e-06/0.6465, allocations: 3.984 kB / 0.8717 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.6465, allocations: 0 / 0.8717 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.62e-07/0.6465, allocations: 0 / 0.8717 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.354e-06/0.6465, allocations: 0 / 0.8717 GB, free: 10.49 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001955/0.6467, allocations: 163.3 kB / 0.8719 GB, free: 10.32 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 5.552e-05/0.6468, allocations: 104.8 kB / 0.872 GB, free: 10.2 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.559e-05/0.6468, allocations: 3.953 kB / 0.872 GB, free: 10.19 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.837e-05/0.6469, allocations: 11.98 kB / 0.872 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.611e-05/0.6469, allocations: 0 / 0.872 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.423e-06/0.647, allocations: 4 kB / 0.872 GB, free: 10.18 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.0001535/0.6471, allocations: 178 kB / 0.8721 GB, free: 10 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6471, allocations: 0 / 0.8721 GB, free: 10 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.0002595/0.6474, allocations: 35.94 kB / 0.8722 GB, free: 9.969 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.000242/0.6476, allocations: 147.2 kB / 0.8723 GB, free: 9.816 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 8.289e-05/0.6477, allocations: 20 kB / 0.8723 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.593e-06/0.6477, allocations: 0 / 0.8723 GB, free: 9.797 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 2.636e-05/0.6478, allocations: 19.98 kB / 0.8724 GB, free: 9.777 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003339/0.6481, allocations: 36.59 kB / 0.8724 GB, free: 9.742 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004008/0.6485, allocations: 205.2 kB / 0.8726 GB, free: 9.52 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003499/0.6489, allocations: 0.7431 MB / 0.8733 GB, free: 8.75 MB / 0.5417 GB Notification: Performance of simCode: alias equations: time 4.283e-05/0.6489, allocations: 4.188 kB / 0.8733 GB, free: 8.742 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.14e-05/0.649, allocations: 7.438 kB / 0.8733 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of SimCode: time 2.2e-07/0.649, allocations: 0 / 0.8733 GB, free: 8.734 MB / 0.5417 GB Notification: Performance of Templates: time 0.004617/0.6536, allocations: 1.646 MB / 0.8749 GB, free: 7.121 MB / 0.5417 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)