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 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.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 0.7651/0.7651, allocations: 140.1 MB / 156 MB, free: 5.148 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.001068/0.001068, allocations: 181.9 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.421/1.421, allocations: 205.4 MB / 426.3 MB, free: 8.453 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.0007749/0.0007747, allocations: 97.09 kB / 0.4945 GB, free: 8.395 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.0/package.mo): time 0.001795/0.001796, allocations: 267.9 kB / 0.5729 GB, free: 66.21 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004386/0.0004389, allocations: 20 kB / 0.662 GB, free: 6.801 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3771/0.3776, allocations: 79.3 MB / 0.7395 GB, free: 46.35 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1386/0.5163, allocations: 110.1 MB / 0.847 GB, free: 112 kB / 0.5105 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002989/0.5166, allocations: 91.94 kB / 0.8471 GB, free: 20 kB / 0.5105 GB Notification: Performance of FrontEnd - DAE generated: time 0.01418/0.5308, allocations: 5.44 MB / 0.8524 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of FrontEnd: time 4.188e-06/0.5309, allocations: 0 / 0.8524 GB, free: 10.48 MB / 0.5261 GB Notification: Performance of Transformations before backend: time 1.964e-05/0.5309, allocations: 4 kB / 0.8524 GB, free: 10.48 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.0006194/0.5316, allocations: 479.3 kB / 0.8528 GB, free: 9.957 MB / 0.5261 GB Notification: Performance of prepare preOptimizeDAE: time 4.709e-05/0.5316, allocations: 12.03 kB / 0.8529 GB, free: 9.945 MB / 0.5261 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.26e-05/0.5317, allocations: 20.66 kB / 0.8529 GB, free: 9.926 MB / 0.5261 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001885/0.5319, allocations: 219.7 kB / 0.8531 GB, free: 9.672 MB / 0.5261 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.625e-05/0.5319, allocations: 8.375 kB / 0.8531 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.133e-05/0.5319, allocations: 384 / 0.8531 GB, free: 9.664 MB / 0.5261 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002067/0.5321, allocations: 70.2 kB / 0.8532 GB, free: 9.59 MB / 0.5261 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.608e-06/0.5321, allocations: 4.188 kB / 0.8532 GB, free: 9.586 MB / 0.5261 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.532e-05/0.5322, allocations: 7.938 kB / 0.8532 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.671e-06/0.5322, allocations: 0 / 0.8532 GB, free: 9.578 MB / 0.5261 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002119/0.5324, allocations: 71.94 kB / 0.8532 GB, free: 9.508 MB / 0.5261 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006455/0.5331, allocations: 348.7 kB / 0.8536 GB, free: 9.117 MB / 0.5261 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0001734/0.5332, allocations: 78.47 kB / 0.8536 GB, free: 9.031 MB / 0.5261 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001075/0.5334, allocations: 44.89 kB / 0.8537 GB, free: 8.984 MB / 0.5261 GB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-05/0.5334, allocations: 7.984 kB / 0.8537 GB, free: 8.977 MB / 0.5261 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.117e-05/0.5335, allocations: 38.56 kB / 0.8537 GB, free: 8.93 MB / 0.5261 GB Notification: Performance of pre-optimization done (n=2): time 1.413e-06/0.5335, allocations: 3.938 kB / 0.8537 GB, free: 8.926 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2): time 0.0004415/0.5339, allocations: 165.4 kB / 0.8539 GB, free: 8.758 MB / 0.5261 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.309e-05/0.534, allocations: 55.44 kB / 0.8539 GB, free: 8.691 MB / 0.5261 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002571/0.5342, allocations: 254.7 kB / 0.8542 GB, free: 8.434 MB / 0.5261 GB Notification: Performance of collectPreVariables (initialization): time 1.342e-05/0.5343, allocations: 25.7 kB / 0.8542 GB, free: 8.402 MB / 0.5261 GB Notification: Performance of collectInitialEqns (initialization): time 9.771e-05/0.5344, allocations: 136.1 kB / 0.8543 GB, free: 8.266 MB / 0.5261 GB Notification: Performance of collectInitialBindings (initialization): time 2.039e-05/0.5344, allocations: 3.906 kB / 0.8543 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.669e-06/0.5344, allocations: 0 / 0.8543 GB, free: 8.262 MB / 0.5261 GB Notification: Performance of setup shared object (initialization): time 0.0001618/0.5346, allocations: 333 kB / 0.8547 GB, free: 7.93 MB / 0.5261 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000113/0.5347, allocations: 47.95 kB / 0.8547 GB, free: 7.883 MB / 0.5261 GB Notification: Performance of partitionIndependentBlocks (initialization): time 9.528e-05/0.5348, allocations: 31.97 kB / 0.8547 GB, free: 7.852 MB / 0.5261 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001934/0.535, allocations: 84.86 kB / 0.8548 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.803e-06/0.535, allocations: 0 / 0.8548 GB, free: 7.766 MB / 0.5261 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.000256/0.5353, allocations: 133.2 kB / 0.8549 GB, free: 7.629 MB / 0.5261 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.5353, allocations: 15.97 kB / 0.855 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.001e-06/0.5353, allocations: 0 / 0.855 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.541e-05/0.5353, allocations: 0 / 0.855 GB, free: 7.613 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001008/0.5354, allocations: 11.98 kB / 0.855 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.333e-06/0.5355, allocations: 0 / 0.855 GB, free: 7.602 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.925e-05/0.5356, allocations: 11.98 kB / 0.855 GB, free: 7.59 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.748e-05/0.5356, allocations: 8 kB / 0.855 GB, free: 7.582 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.0001242/0.5357, allocations: 137.8 kB / 0.8551 GB, free: 7.438 MB / 0.5261 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.926e-05/0.5358, allocations: 19.8 kB / 0.8551 GB, free: 7.418 MB / 0.5261 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003332/0.5361, allocations: 146.4 kB / 0.8553 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.116e-06/0.5361, allocations: 0 / 0.8553 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5361, allocations: 32 / 0.8553 GB, free: 7.266 MB / 0.5261 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.747e-06/0.5361, allocations: 4 kB / 0.8553 GB, free: 7.262 MB / 0.5261 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002492/0.5364, allocations: 221.5 kB / 0.8555 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.432e-06/0.5364, allocations: 0 / 0.8555 GB, free: 6.996 MB / 0.5261 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.213e-05/0.5365, allocations: 8 kB / 0.8555 GB, free: 6.988 MB / 0.5261 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.264e-06/0.5365, allocations: 4 kB / 0.8555 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.296e-06/0.5365, allocations: 0 / 0.8555 GB, free: 6.984 MB / 0.5261 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.918e-06/0.5365, allocations: 3.984 kB / 0.8555 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.293e-06/0.5365, allocations: 0 / 0.8555 GB, free: 6.98 MB / 0.5261 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003218/0.5368, allocations: 231.1 kB / 0.8557 GB, free: 6.738 MB / 0.5261 GB Notification: Performance of postOpt removeConstants (simulation): time 6.129e-05/0.5369, allocations: 92.91 kB / 0.8558 GB, free: 6.629 MB / 0.5261 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.196e-05/0.5369, allocations: 3.938 kB / 0.8558 GB, free: 6.625 MB / 0.5261 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.603e-05/0.537, allocations: 12.03 kB / 0.8558 GB, free: 6.613 MB / 0.5261 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.409e-05/0.5371, allocations: 7.922 kB / 0.8558 GB, free: 6.605 MB / 0.5261 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.224e-05/0.5371, allocations: 4 kB / 0.8559 GB, free: 6.602 MB / 0.5261 GB Notification: Performance of sorting global known variables: time 0.0001824/0.5373, allocations: 189.9 kB / 0.856 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of sort global known variables: time 1.4e-07/0.5373, allocations: 0 / 0.856 GB, free: 6.414 MB / 0.5261 GB Notification: Performance of remove unused functions: time 0.0003678/0.5377, allocations: 59.94 kB / 0.8561 GB, free: 6.355 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 (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.0003237/0.538, allocations: 171.1 kB / 0.8563 GB, free: 6.18 MB / 0.5261 GB Notification: Performance of simCode: created initialization part: time 0.0002466/0.5383, allocations: 75.95 kB / 0.8563 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of simCode: created event and clocks part: time 2.325e-06/0.5383, allocations: 0 / 0.8563 GB, free: 6.105 MB / 0.5261 GB Notification: Performance of simCode: created simulation system equations: time 9.49e-05/0.5384, allocations: 35.97 kB / 0.8564 GB, free: 6.07 MB / 0.5261 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004164/0.5388, allocations: 44.59 kB / 0.8564 GB, free: 6.027 MB / 0.5261 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005964/0.5394, allocations: 368.4 kB / 0.8568 GB, free: 5.637 MB / 0.5261 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003051/0.5397, allocations: 0.7355 MB / 0.8575 GB, free: 4.875 MB / 0.5261 GB Notification: Performance of simCode: alias equations: time 5.614e-05/0.5398, allocations: 8 kB / 0.8575 GB, free: 4.867 MB / 0.5261 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.36e-05/0.5398, allocations: 11.44 kB / 0.8575 GB, free: 4.859 MB / 0.5261 GB Notification: Performance of SimCode: time 2.3e-07/0.5398, allocations: 3.938 kB / 0.8575 GB, free: 4.855 MB / 0.5261 GB Notification: Performance of Templates: time 0.005798/0.5456, allocations: 2.14 MB / 0.8596 GB, free: 2.734 MB / 0.5261 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)