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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo", uses=false) Using package NcDataReader2 with version 2.5.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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.7357/0.7357, allocations: 140.1 MB / 156 MB, free: 5.152 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.0009364/0.0009365, allocations: 180.6 kB / 188.5 MB, free: 15.81 MB / 154.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.485/1.485, allocations: 205.4 MB / 426.3 MB, free: 8.469 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008077/0.0008074, allocations: 86.41 kB / 0.4945 GB, free: 8.406 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001619/0.001619, allocations: 261.7 kB / 0.5728 GB, free: 66.22 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004495/0.0004496, allocations: 20 kB / 0.662 GB, free: 6.805 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.347/0.3474, allocations: 79.3 MB / 0.7395 GB, free: 46.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1329/0.4804, allocations: 111 MB / 0.8478 GB, free: 15.21 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002807/0.4807, allocations: 87.94 kB / 0.8479 GB, free: 15.12 MB / 0.5261 GB Notification: Performance of FrontEnd - DAE generated: time 0.01518/0.4959, allocations: 6.006 MB / 0.8538 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of FrontEnd: time 2.294e-06/0.496, allocations: 0 / 0.8538 GB, free: 9.02 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.232e-05/0.496, allocations: 4 kB / 0.8538 GB, free: 9.016 MB / 0.5261 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.0006032/0.4966, allocations: 494.4 kB / 0.8543 GB, free: 8.48 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.841e-05/0.4967, allocations: 8.031 kB / 0.8543 GB, free: 8.473 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.476e-05/0.4967, allocations: 20.66 kB / 0.8543 GB, free: 8.453 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.4969, allocations: 219.7 kB / 0.8545 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.39e-05/0.497, allocations: 384 / 0.8545 GB, free: 8.199 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.697e-05/0.497, allocations: 4.375 kB / 0.8545 GB, free: 8.195 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002358/0.4972, allocations: 94.19 kB / 0.8546 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.265e-06/0.4972, allocations: 192 / 0.8546 GB, free: 8.098 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.004e-05/0.4973, allocations: 15.92 kB / 0.8546 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.73e-06/0.4973, allocations: 0 / 0.8546 GB, free: 8.082 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002753/0.4976, allocations: 123.9 kB / 0.8547 GB, free: 7.961 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006528/0.4982, allocations: 396.6 kB / 0.8551 GB, free: 7.523 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002138/0.4985, allocations: 126.4 kB / 0.8552 GB, free: 7.391 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001776/0.4987, allocations: 72.8 kB / 0.8553 GB, free: 7.316 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 6.311e-05/0.4988, allocations: 23.97 kB / 0.8553 GB, free: 7.293 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.256e-05/0.4988, allocations: 38.55 kB / 0.8554 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.713e-06/0.4988, allocations: 0 / 0.8554 GB, free: 7.246 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.000692/0.4995, allocations: 241.4 kB / 0.8556 GB, free: 7.004 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.176e-05/0.4996, allocations: 53.56 kB / 0.8556 GB, free: 6.941 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003373/0.4999, allocations: 254.7 kB / 0.8559 GB, free: 6.684 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.5, allocations: 29.7 kB / 0.8559 GB, free: 6.648 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001204/0.5001, allocations: 132.1 kB / 0.856 GB, free: 6.516 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.771e-05/0.5001, allocations: 7.906 kB / 0.856 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.815e-06/0.5001, allocations: 0 / 0.856 GB, free: 6.508 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001452/0.5003, allocations: 326.8 kB / 0.8564 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001838/0.5005, allocations: 67.97 kB / 0.8564 GB, free: 6.113 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001857/0.5007, allocations: 63.94 kB / 0.8565 GB, free: 6.051 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003446/0.501, allocations: 124.8 kB / 0.8566 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.5011, allocations: 0 / 0.8566 GB, free: 5.926 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0004647/0.5015, allocations: 189.2 kB / 0.8568 GB, free: 5.734 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.07e-05/0.5016, allocations: 8 kB / 0.8568 GB, free: 5.727 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.881e-06/0.5016, allocations: 3.938 kB / 0.8568 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.492e-05/0.5016, allocations: 0 / 0.8568 GB, free: 5.723 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001305/0.5017, allocations: 15.98 kB / 0.8568 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.133e-06/0.5018, allocations: 0 / 0.8568 GB, free: 5.707 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001018/0.5019, allocations: 7.984 kB / 0.8568 GB, free: 5.699 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.258e-05/0.5019, allocations: 8 kB / 0.8568 GB, free: 5.691 MB / 0.5261 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 0.0001503/0.5021, allocations: 141.8 kB / 0.857 GB, free: 5.543 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.214e-05/0.5021, allocations: 15.81 kB / 0.857 GB, free: 5.527 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006264/0.5028, allocations: 218.4 kB / 0.8572 GB, free: 5.305 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.577e-06/0.5028, allocations: 7.938 kB / 0.8572 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.94e-06/0.5028, allocations: 0 / 0.8572 GB, free: 5.297 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.5e-06/0.5028, allocations: 3.984 kB / 0.8572 GB, free: 5.293 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003422/0.5032, allocations: 245.5 kB / 0.8574 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.5032, allocations: 0 / 0.8574 GB, free: 5.004 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.184e-05/0.5033, allocations: 15.98 kB / 0.8574 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.286e-06/0.5033, allocations: 0 / 0.8574 GB, free: 4.988 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.382e-05/0.5033, allocations: 4 kB / 0.8574 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.737e-06/0.5033, allocations: 0 / 0.8574 GB, free: 4.984 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.5033, allocations: 3.984 kB / 0.8574 GB, free: 4.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004875/0.5038, allocations: 287.1 kB / 0.8577 GB, free: 4.684 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.293e-05/0.5039, allocations: 92.83 kB / 0.8578 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.16e-05/0.5039, allocations: 0 / 0.8578 GB, free: 4.574 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001361/0.5041, allocations: 15.98 kB / 0.8578 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.523e-05/0.5041, allocations: 0 / 0.8578 GB, free: 4.559 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.854e-05/0.5042, allocations: 12 kB / 0.8578 GB, free: 4.547 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0002303/0.5044, allocations: 193.9 kB / 0.858 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.7e-07/0.5044, allocations: 0 / 0.858 GB, free: 4.355 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0005185/0.5049, allocations: 79.86 kB / 0.8581 GB, free: 4.277 MB / 0.5261 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 (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.0004355/0.5054, allocations: 191.1 kB / 0.8583 GB, free: 4.082 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.000341/0.5057, allocations: 111.9 kB / 0.8584 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.5058, allocations: 0 / 0.8584 GB, free: 3.973 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 0.0001564/0.5059, allocations: 59.97 kB / 0.8584 GB, free: 3.914 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005651/0.5065, allocations: 48.45 kB / 0.8585 GB, free: 3.867 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007758/0.5073, allocations: 394.1 kB / 0.8589 GB, free: 3.453 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003768/0.5077, allocations: 0.7355 MB / 0.8596 GB, free: 2.691 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 7.018e-05/0.5078, allocations: 11.98 kB / 0.8596 GB, free: 2.68 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.18e-05/0.5078, allocations: 11.44 kB / 0.8596 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of SimCode: time 2.8e-07/0.5078, allocations: 0 / 0.8596 GB, free: 2.672 MB / 0.5261 GB Notification: Performance of Templates: time 0.007994/0.5158, allocations: 2.515 MB / 0.8621 GB, free: 184 kB / 0.5261 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)