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.8091/0.8091, allocations: 143.4 MB / 159.2 MB, free: 4.859 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.001275/0.001275, allocations: 182.1 kB / 191.9 MB, free: 5.719 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.492/1.492, allocations: 222.9 MB / 447.3 MB, free: 5.871 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.001143/0.001143, allocations: 111.5 kB / 0.517 GB, free: 3.73 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001928/0.001927, allocations: 293.8 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001402/0.001402, allocations: 79.88 kB / 0.6885 GB, free: 3.871 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.3466, allocations: 81.3 MB / 0.7679 GB, free: 27.69 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.002649/0.3493, allocations: 1.764 MB / 0.7697 GB, free: 25.91 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005754/0.3499, allocations: 486.2 kB / 0.7701 GB, free: 25.44 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.978e-05/0.3499, allocations: 0 / 0.7701 GB, free: 25.44 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003597/0.3503, allocations: 146.1 kB / 0.7703 GB, free: 25.3 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.426e-05/0.3504, allocations: 47.73 kB / 0.7703 GB, free: 25.25 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001849/0.3505, allocations: 55.88 kB / 0.7704 GB, free: 25.2 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001574/0.3507, allocations: 203.4 kB / 0.7705 GB, free: 25 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.675e-05/0.3508, allocations: 19.92 kB / 0.7706 GB, free: 24.98 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.184e-05/0.3508, allocations: 23.86 kB / 0.7706 GB, free: 24.95 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.642e-05/0.3509, allocations: 63.75 kB / 0.7706 GB, free: 24.89 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.3509, allocations: 4 kB / 0.7707 GB, free: 24.89 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001366/0.3511, allocations: 83.84 kB / 0.7707 GB, free: 24.8 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.663e-05/0.3511, allocations: 55.8 kB / 0.7708 GB, free: 24.75 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.98e-05/0.3512, allocations: 59.61 kB / 0.7708 GB, free: 24.69 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001791/0.3514, allocations: 191.2 kB / 0.771 GB, free: 24.5 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.3514, allocations: 4 kB / 0.771 GB, free: 24.5 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3514, allocations: 0 / 0.771 GB, free: 24.5 MB / 458.7 MB Notification: Performance of Transformations before backend: time 3.917e-06/0.3514, allocations: 3.938 kB / 0.771 GB, free: 24.5 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.0004754/0.3519, allocations: 474.3 kB / 0.7715 GB, free: 23.98 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.475e-05/0.3519, allocations: 12.03 kB / 0.7715 GB, free: 23.97 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.878e-05/0.352, allocations: 24.64 kB / 0.7715 GB, free: 23.95 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.3521, allocations: 215.7 kB / 0.7717 GB, free: 23.7 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.099e-05/0.3521, allocations: 384 / 0.7717 GB, free: 23.7 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.258e-06/0.3521, allocations: 4.375 kB / 0.7717 GB, free: 23.7 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001552/0.3523, allocations: 54.23 kB / 0.7718 GB, free: 23.64 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.637e-06/0.3523, allocations: 3.938 kB / 0.7718 GB, free: 23.64 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.3523, allocations: 0 / 0.7718 GB, free: 23.64 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.869e-06/0.3523, allocations: 0 / 0.7718 GB, free: 23.64 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001555/0.3525, allocations: 43.89 kB / 0.7718 GB, free: 23.59 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003514/0.3528, allocations: 312.9 kB / 0.7721 GB, free: 23.24 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000109/0.353, allocations: 50.48 kB / 0.7722 GB, free: 23.18 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.607e-05/0.353, allocations: 24.91 kB / 0.7722 GB, free: 23.15 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.154e-05/0.3531, allocations: 0 / 0.7722 GB, free: 23.15 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.901e-05/0.3531, allocations: 50.48 kB / 0.7722 GB, free: 23.09 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 8.31e-07/0.3531, allocations: 0 / 0.7722 GB, free: 23.09 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003215/0.3534, allocations: 101.5 kB / 0.7723 GB, free: 22.99 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.869e-05/0.3535, allocations: 55.41 kB / 0.7724 GB, free: 22.92 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001649/0.3536, allocations: 250.7 kB / 0.7726 GB, free: 22.67 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.224e-06/0.3536, allocations: 29.7 kB / 0.7727 GB, free: 22.64 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.234e-05/0.3537, allocations: 132.2 kB / 0.7728 GB, free: 22.5 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.459e-05/0.3537, allocations: 7.906 kB / 0.7728 GB, free: 22.5 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.544e-05/0.3538, allocations: 21.64 kB / 0.7728 GB, free: 22.47 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.774e-05/0.3538, allocations: 326.8 kB / 0.7731 GB, free: 22.14 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.878e-05/0.3539, allocations: 19.98 kB / 0.7731 GB, free: 22.12 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.65e-05/0.354, allocations: 19.97 kB / 0.7732 GB, free: 22.1 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001366/0.3541, allocations: 60.81 kB / 0.7732 GB, free: 22.04 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.994e-06/0.3541, allocations: 3.938 kB / 0.7732 GB, free: 22.04 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002056/0.3543, allocations: 85.39 kB / 0.7733 GB, free: 21.95 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.318e-05/0.3543, allocations: 9.547 kB / 0.7733 GB, free: 21.94 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.667e-06/0.3544, allocations: 0 / 0.7733 GB, free: 21.94 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.118e-05/0.3544, allocations: 0 / 0.7733 GB, free: 21.94 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.89e-05/0.3545, allocations: 8 kB / 0.7733 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.158e-06/0.3545, allocations: 4.031 kB / 0.7733 GB, free: 21.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.823e-05/0.3545, allocations: 7.984 kB / 0.7733 GB, free: 21.92 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.929e-06/0.3545, allocations: 0 / 0.7733 GB, free: 21.92 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 6.956e-05/0.3546, allocations: 137.8 kB / 0.7735 GB, free: 21.77 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.819e-05/0.3546, allocations: 15.81 kB / 0.7735 GB, free: 21.76 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002175/0.3549, allocations: 106.4 kB / 0.7736 GB, free: 21.65 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.693e-06/0.3549, allocations: 4 kB / 0.7736 GB, free: 21.64 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.3549, allocations: 0 / 0.7736 GB, free: 21.64 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3549, allocations: 0 / 0.7736 GB, free: 21.64 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001385/0.355, allocations: 205.6 kB / 0.7738 GB, free: 21.39 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.11e-07/0.355, allocations: 0 / 0.7738 GB, free: 21.39 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.187e-05/0.3551, allocations: 15.98 kB / 0.7738 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.302e-06/0.3551, allocations: 0 / 0.7738 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.48e-06/0.3551, allocations: 0 / 0.7738 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.51e-07/0.3551, allocations: 0 / 0.7738 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.41e-07/0.3551, allocations: 0 / 0.7738 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004/0.3555, allocations: 0.7899 MB / 0.7746 GB, free: 20.53 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.369e-05/0.3556, allocations: 96.81 kB / 0.7747 GB, free: 20.42 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.992e-05/0.3556, allocations: 0 / 0.7747 GB, free: 20.42 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.665e-05/0.3557, allocations: 12.02 kB / 0.7747 GB, free: 20.41 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.63e-05/0.3557, allocations: 7.938 kB / 0.7747 GB, free: 20.4 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.3558, allocations: 8 kB / 0.7747 GB, free: 20.39 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001083/0.3559, allocations: 189.9 kB / 0.7749 GB, free: 20.21 MB / 458.7 MB Notification: Performance of sort global known variables: time 1e-07/0.3559, allocations: 0 / 0.7749 GB, free: 20.21 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003303/0.3562, allocations: 39.94 kB / 0.7749 GB, free: 20.17 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.000144/0.3564, allocations: 123.7 kB / 0.775 GB, free: 20.04 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002014/0.3566, allocations: 47.95 kB / 0.7751 GB, free: 19.99 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.475e-06/0.3566, allocations: 0 / 0.7751 GB, free: 19.99 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.075e-05/0.3567, allocations: 19.98 kB / 0.7751 GB, free: 19.97 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004177/0.3571, allocations: 46.52 kB / 0.7751 GB, free: 19.93 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004574/0.3576, allocations: 458.7 kB / 0.7756 GB, free: 19.44 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001415/0.3577, allocations: 0.7316 MB / 0.7763 GB, free: 18.68 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.983e-05/0.3578, allocations: 8 kB / 0.7763 GB, free: 18.68 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.614e-05/0.3578, allocations: 15.38 kB / 0.7763 GB, free: 18.66 MB / 458.7 MB Notification: Performance of SimCode: time 2.4e-07/0.3578, allocations: 0 / 0.7763 GB, free: 18.66 MB / 458.7 MB Notification: Performance of Templates: time 0.00346/0.3612, allocations: 1.682 MB / 0.778 GB, free: 17.01 MB / 458.7 MB 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)