Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.conf.json 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/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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001052/0.001052, allocations: 111.1 kB / 16.42 MB, free: 6.52 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001064/0.001064, allocations: 187.9 kB / 17.35 MB, free: 5.738 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.34/1.34, allocations: 222.9 MB / 241.1 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002131/0.002131, allocations: 283.6 kB / 291.5 MB, free: 14.46 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9585/0.9585, allocations: 169.3 MB / 0.499 GB, free: 4.414 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 91.86 kB / 0.6821 GB, free: 7.004 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3584/0.3601, allocations: 86.99 MB / 0.767 GB, free: 3.953 MB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002511/0.3627, allocations: 1.695 MB / 0.7687 GB, free: 2.242 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0006628/0.3634, allocations: 0.5154 MB / 0.7692 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.092e-05/0.3634, allocations: 0 / 0.7692 GB, free: 1.727 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003636/0.3638, allocations: 147.4 kB / 0.7693 GB, free: 1.582 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 7.513e-05/0.3639, allocations: 51.69 kB / 0.7694 GB, free: 1.531 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002251/0.3641, allocations: 63.8 kB / 0.7695 GB, free: 1.469 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001296/0.3642, allocations: 103.5 kB / 0.7695 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.444e-05/0.3643, allocations: 11.66 kB / 0.7696 GB, free: 1.359 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 6.407e-05/0.3644, allocations: 39.78 kB / 0.7696 GB, free: 1.32 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 8.223e-05/0.3644, allocations: 43.83 kB / 0.7696 GB, free: 1.277 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.439e-05/0.3645, allocations: 7.938 kB / 0.7696 GB, free: 1.27 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.000171/0.3646, allocations: 91.83 kB / 0.7697 GB, free: 1.18 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 6.864e-05/0.3647, allocations: 55.88 kB / 0.7698 GB, free: 1.125 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.228e-05/0.3648, allocations: 63.55 kB / 0.7698 GB, free: 1.062 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0002358/0.365, allocations: 193.8 kB / 0.77 GB, free: 0.875 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.598e-06/0.365, allocations: 7.922 kB / 0.77 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.212e-06/0.365, allocations: 0 / 0.77 GB, free: 0.8672 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.688e-06/0.3651, allocations: 4 kB / 0.77 GB, free: 0.8633 MB / 0.5294 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.000504/0.3656, allocations: 478.2 kB / 0.7705 GB, free: 356 kB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.52e-05/0.3656, allocations: 12.03 kB / 0.7705 GB, free: 344 kB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.688e-05/0.3657, allocations: 20.66 kB / 0.7705 GB, free: 324 kB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001425/0.3658, allocations: 211.7 kB / 0.7707 GB, free: 72 kB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.014e-05/0.3658, allocations: 4.375 kB / 0.7707 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.074e-05/0.3658, allocations: 384 / 0.7707 GB, free: 68 kB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002031/0.366, allocations: 66.22 kB / 0.7708 GB, free: 16 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.3661, allocations: 7.938 kB / 0.7708 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.587e-06/0.3661, allocations: 0 / 0.7708 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.3661, allocations: 0 / 0.7708 GB, free: 15.99 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002012/0.3663, allocations: 63.89 kB / 0.7709 GB, free: 15.93 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004718/0.3668, allocations: 320.9 kB / 0.7712 GB, free: 15.56 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000149/0.3669, allocations: 70.48 kB / 0.7712 GB, free: 15.48 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001013/0.367, allocations: 40.89 kB / 0.7713 GB, free: 15.44 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 3.439e-05/0.3671, allocations: 7.984 kB / 0.7713 GB, free: 15.43 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.207e-05/0.3671, allocations: 42.56 kB / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.092e-06/0.3671, allocations: 0 / 0.7713 GB, free: 15.38 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0003883/0.3675, allocations: 137.4 kB / 0.7715 GB, free: 15.24 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.318e-05/0.3675, allocations: 51.41 kB / 0.7715 GB, free: 15.18 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002149/0.3678, allocations: 254.7 kB / 0.7718 GB, free: 14.93 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.141e-05/0.3678, allocations: 25.7 kB / 0.7718 GB, free: 14.9 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 8.134e-05/0.3679, allocations: 132.1 kB / 0.7719 GB, free: 14.77 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.503e-05/0.3679, allocations: 7.906 kB / 0.7719 GB, free: 14.76 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.985e-05/0.3679, allocations: 13.72 kB / 0.7719 GB, free: 14.74 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001031/0.368, allocations: 334.9 kB / 0.7722 GB, free: 14.4 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.743e-05/0.3681, allocations: 31.97 kB / 0.7723 GB, free: 14.37 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 8.58e-05/0.3682, allocations: 23.98 kB / 0.7723 GB, free: 14.35 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001823/0.3684, allocations: 64.81 kB / 0.7724 GB, free: 14.28 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.3684, allocations: 3.938 kB / 0.7724 GB, free: 14.28 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002262/0.3687, allocations: 117.4 kB / 0.7725 GB, free: 14.16 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.422e-05/0.3687, allocations: 6.5 kB / 0.7725 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.878e-06/0.3687, allocations: 3.938 kB / 0.7725 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.067e-05/0.3687, allocations: 0 / 0.7725 GB, free: 14.15 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.147e-05/0.3688, allocations: 11.98 kB / 0.7725 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.977e-06/0.3688, allocations: 0 / 0.7725 GB, free: 14.14 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.785e-05/0.3689, allocations: 7.938 kB / 0.7725 GB, free: 14.13 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.829e-06/0.3689, allocations: 0 / 0.7725 GB, free: 14.13 MB / 0.545 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001007/0.369, allocations: 148.2 kB / 0.7726 GB, free: 13.98 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.458e-05/0.369, allocations: 19.75 kB / 0.7727 GB, free: 13.96 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002677/0.3693, allocations: 118.4 kB / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.585e-06/0.3693, allocations: 0 / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.32e-07/0.3693, allocations: 0 / 0.7728 GB, free: 13.83 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 4.456e-05/0.3694, allocations: 96.83 kB / 0.7729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.088e-05/0.3694, allocations: 32 / 0.7729 GB, free: 13.72 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.942e-05/0.3695, allocations: 15.97 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.073e-05/0.3695, allocations: 3.938 kB / 0.7729 GB, free: 13.7 MB / 0.545 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0002703/0.3698, allocations: 168.9 kB / 0.773 GB, free: 13.53 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0002802/0.3701, allocations: 282.6 kB / 0.7733 GB, free: 13.23 MB / 0.545 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 9.597e-05/0.3702, allocations: 31.97 kB / 0.7733 GB, free: 13.2 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001626/0.3704, allocations: 186 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of Backend: time 2.5e-07/0.3704, allocations: 4 kB / 0.7735 GB, free: 13.02 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0004795/0.3709, allocations: 135.3 kB / 0.7737 GB, free: 12.88 MB / 0.545 GB Notification: Performance of SimCode: time 0.0007761/0.3717, allocations: 0.8199 MB / 0.7745 GB, free: 12.01 MB / 0.545 GB Notification: Performance of Templates: time 0.00434/0.376, allocations: 1.87 MB / 0.7763 GB, free: 10.18 MB / 0.545 GB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor.pipe 2>&1)