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 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.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.7775/0.7775, allocations: 143.4 MB / 159.2 MB, free: 4.824 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.001132/0.001132, allocations: 188.4 kB / 191.9 MB, free: 5.711 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.475/1.475, allocations: 222.9 MB / 447.3 MB, free: 5.844 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.001277/0.001276, allocations: 103.2 kB / 0.517 GB, free: 3.711 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001837/0.001837, allocations: 283.8 kB / 0.5973 GB, free: 49.36 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001516/0.001516, allocations: 75.89 kB / 0.6885 GB, free: 3.84 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3626/0.3641, allocations: 81.3 MB / 0.7679 GB, free: 27.64 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wDerPhi): time 0.002592/0.3667, allocations: 1.772 MB / 0.7697 GB, free: 25.86 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.001005/0.3678, allocations: 1.008 MB / 0.7706 GB, free: 24.85 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.995e-05/0.3678, allocations: 4 kB / 0.7706 GB, free: 24.85 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003757/0.3682, allocations: 142.1 kB / 0.7708 GB, free: 24.71 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.692e-05/0.3683, allocations: 55.73 kB / 0.7708 GB, free: 24.66 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002281/0.3685, allocations: 75.77 kB / 0.7709 GB, free: 24.58 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001408/0.3687, allocations: 215.3 kB / 0.7711 GB, free: 24.37 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.743e-05/0.3687, allocations: 8 kB / 0.7711 GB, free: 24.36 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.768e-05/0.3687, allocations: 35.8 kB / 0.7712 GB, free: 24.33 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.228e-05/0.3688, allocations: 71.67 kB / 0.7712 GB, free: 24.26 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.261e-05/0.3689, allocations: 4 kB / 0.7712 GB, free: 24.25 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002078/0.3691, allocations: 143.7 kB / 0.7714 GB, free: 24.11 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.666e-05/0.3691, allocations: 51.81 kB / 0.7714 GB, free: 24.06 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.075e-05/0.3692, allocations: 63.55 kB / 0.7715 GB, free: 24 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002305/0.3694, allocations: 239.2 kB / 0.7717 GB, free: 23.77 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.478e-06/0.3695, allocations: 0 / 0.7717 GB, free: 23.77 MB / 458.7 MB Notification: Performance of FrontEnd: time 9.32e-07/0.3695, allocations: 0 / 0.7717 GB, free: 23.77 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.54e-06/0.3695, allocations: 0 / 0.7717 GB, free: 23.77 MB / 458.7 MB 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.0005508/0.37, allocations: 490.2 kB / 0.7722 GB, free: 23.24 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.041e-05/0.3701, allocations: 16.03 kB / 0.7722 GB, free: 23.22 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.66e-05/0.3701, allocations: 16.75 kB / 0.7722 GB, free: 23.21 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001096/0.3702, allocations: 227.6 kB / 0.7724 GB, free: 22.95 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.129e-05/0.3703, allocations: 384 / 0.7724 GB, free: 22.95 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.3703, allocations: 384 / 0.7724 GB, free: 22.95 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001668/0.3705, allocations: 65.8 kB / 0.7725 GB, free: 22.88 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.255e-06/0.3705, allocations: 0 / 0.7725 GB, free: 22.88 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.776e-06/0.3705, allocations: 0 / 0.7725 GB, free: 22.88 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.3705, allocations: 0 / 0.7725 GB, free: 22.88 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001671/0.3707, allocations: 63.94 kB / 0.7725 GB, free: 22.82 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003839/0.3711, allocations: 332.8 kB / 0.7729 GB, free: 22.44 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001208/0.3712, allocations: 62.48 kB / 0.7729 GB, free: 22.37 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.343e-05/0.3713, allocations: 44.83 kB / 0.773 GB, free: 22.32 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.488e-05/0.3713, allocations: 8 kB / 0.773 GB, free: 22.32 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.524e-05/0.3713, allocations: 30.56 kB / 0.773 GB, free: 22.28 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.222e-06/0.3714, allocations: 4 kB / 0.773 GB, free: 22.27 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003491/0.3717, allocations: 137.3 kB / 0.7731 GB, free: 22.13 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.01e-05/0.3717, allocations: 55.53 kB / 0.7732 GB, free: 22.07 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001661/0.3719, allocations: 258.7 kB / 0.7734 GB, free: 21.81 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 6.813e-06/0.3719, allocations: 25.7 kB / 0.7735 GB, free: 21.78 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.561e-05/0.372, allocations: 140.1 kB / 0.7736 GB, free: 21.64 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.236e-05/0.372, allocations: 7.844 kB / 0.7736 GB, free: 21.63 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.372, allocations: 13.72 kB / 0.7736 GB, free: 21.61 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.767e-05/0.3721, allocations: 338.8 kB / 0.7739 GB, free: 21.27 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.853e-05/0.3722, allocations: 23.98 kB / 0.774 GB, free: 21.25 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.34e-05/0.3723, allocations: 35.97 kB / 0.774 GB, free: 21.21 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000143/0.3724, allocations: 60.81 kB / 0.7741 GB, free: 21.15 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.3724, allocations: 0 / 0.7741 GB, free: 21.15 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001834/0.3726, allocations: 105.4 kB / 0.7742 GB, free: 21.04 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.079e-05/0.3726, allocations: 12.09 kB / 0.7742 GB, free: 21.03 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.659e-06/0.3726, allocations: 0 / 0.7742 GB, free: 21.03 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3727, allocations: 3.984 kB / 0.7742 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.292e-05/0.3727, allocations: 8 kB / 0.7742 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.28e-06/0.3728, allocations: 0 / 0.7742 GB, free: 21.02 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.929e-05/0.3728, allocations: 11.98 kB / 0.7742 GB, free: 21 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.021e-06/0.3728, allocations: 0 / 0.7742 GB, free: 21 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.233e-05/0.3729, allocations: 138.5 kB / 0.7743 GB, free: 20.86 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.945e-05/0.3729, allocations: 19.72 kB / 0.7743 GB, free: 20.84 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002336/0.3732, allocations: 118.5 kB / 0.7745 GB, free: 20.72 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.136e-06/0.3732, allocations: 0 / 0.7745 GB, free: 20.72 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.439e-06/0.3732, allocations: 3.938 kB / 0.7745 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.069e-06/0.3732, allocations: 7.969 kB / 0.7745 GB, free: 20.71 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001514/0.3734, allocations: 217.6 kB / 0.7747 GB, free: 20.45 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.3734, allocations: 0 / 0.7747 GB, free: 20.45 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.126e-05/0.3734, allocations: 11.98 kB / 0.7747 GB, free: 20.43 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.423e-06/0.3734, allocations: 4.031 kB / 0.7747 GB, free: 20.43 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.803e-06/0.3735, allocations: 0 / 0.7747 GB, free: 20.43 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.3735, allocations: 0 / 0.7747 GB, free: 20.43 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.513e-06/0.3735, allocations: 7.938 kB / 0.7747 GB, free: 20.42 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004263/0.3739, allocations: 0.825 MB / 0.7755 GB, free: 19.54 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.724e-05/0.374, allocations: 92.86 kB / 0.7756 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.881e-05/0.374, allocations: 0 / 0.7756 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.376e-05/0.3741, allocations: 4 kB / 0.7756 GB, free: 19.43 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.181e-05/0.3741, allocations: 15.92 kB / 0.7756 GB, free: 19.41 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.236e-06/0.3741, allocations: 0 / 0.7756 GB, free: 19.41 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001214/0.3743, allocations: 189.9 kB / 0.7758 GB, free: 19.23 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.3743, allocations: 4 kB / 0.7758 GB, free: 19.22 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003565/0.3746, allocations: 48 kB / 0.7758 GB, free: 19.18 MB / 458.7 MB 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001902/0.3748, allocations: 148.7 kB / 0.776 GB, free: 19.02 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002052/0.375, allocations: 63.89 kB / 0.776 GB, free: 18.96 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.375, allocations: 0 / 0.776 GB, free: 18.96 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.399e-05/0.3751, allocations: 31.97 kB / 0.7761 GB, free: 18.93 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004237/0.3756, allocations: 52.09 kB / 0.7761 GB, free: 18.88 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005784/0.3762, allocations: 475.1 kB / 0.7766 GB, free: 18.38 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001991/0.3764, allocations: 0.7355 MB / 0.7773 GB, free: 17.62 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 4.428e-05/0.3764, allocations: 11.88 kB / 0.7773 GB, free: 17.61 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.052e-05/0.3764, allocations: 11.44 kB / 0.7773 GB, free: 17.59 MB / 458.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3764, allocations: 0 / 0.7773 GB, free: 17.59 MB / 458.7 MB Notification: Performance of Templates: time 0.00417/0.3806, allocations: 1.837 MB / 0.7791 GB, free: 15.79 MB / 458.7 MB 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)