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/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.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/BuildingSystems 2.0.0-master/package.mo): time 0.8056/0.8056, allocations: 143.4 MB / 159.2 MB, free: 4.875 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.001272/0.001271, allocations: 184.5 kB / 191.9 MB, free: 5.73 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.394/1.394, allocations: 222.9 MB / 447.3 MB, free: 5.848 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.0009807/0.0009807, allocations: 103 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.001908/0.001908, allocations: 276.1 kB / 0.5973 GB, free: 49.37 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001506/0.001506, allocations: 79.88 kB / 0.6885 GB, free: 3.836 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3439/0.3454, allocations: 81.29 MB / 0.7679 GB, free: 27.67 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002464/0.3479, allocations: 1.765 MB / 0.7697 GB, free: 25.89 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005929/0.3485, allocations: 0.5215 MB / 0.7702 GB, free: 25.37 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.823e-05/0.3486, allocations: 4 kB / 0.7702 GB, free: 25.37 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003453/0.3489, allocations: 146.1 kB / 0.7703 GB, free: 25.23 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 5.386e-05/0.349, allocations: 55.73 kB / 0.7704 GB, free: 25.17 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001811/0.3492, allocations: 47.88 kB / 0.7704 GB, free: 25.12 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001479/0.3494, allocations: 215.3 kB / 0.7706 GB, free: 24.91 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.3494, allocations: 11.98 kB / 0.7706 GB, free: 24.9 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.094e-05/0.3495, allocations: 19.94 kB / 0.7706 GB, free: 24.88 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.825e-05/0.3496, allocations: 71.69 kB / 0.7707 GB, free: 24.81 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.28e-05/0.3496, allocations: 0 / 0.7707 GB, free: 24.81 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001452/0.3497, allocations: 83.84 kB / 0.7708 GB, free: 24.73 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 6.862e-05/0.3498, allocations: 59.78 kB / 0.7708 GB, free: 24.67 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.196e-05/0.3499, allocations: 67.56 kB / 0.7709 GB, free: 24.61 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000189/0.3501, allocations: 183.4 kB / 0.7711 GB, free: 24.43 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.118e-06/0.3501, allocations: 4 kB / 0.7711 GB, free: 24.42 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.042e-06/0.3501, allocations: 3.938 kB / 0.7711 GB, free: 24.42 MB / 458.7 MB Notification: Performance of Transformations before backend: time 4.468e-06/0.3501, allocations: 0 / 0.7711 GB, free: 24.42 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.0004655/0.3505, allocations: 481.2 kB / 0.7716 GB, free: 23.9 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.337e-05/0.3506, allocations: 8.031 kB / 0.7716 GB, free: 23.89 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.764e-05/0.3506, allocations: 24.66 kB / 0.7716 GB, free: 23.87 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001121/0.3507, allocations: 223.6 kB / 0.7718 GB, free: 23.62 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.153e-05/0.3508, allocations: 384 / 0.7718 GB, free: 23.62 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.676e-06/0.3508, allocations: 384 / 0.7718 GB, free: 23.62 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001601/0.3509, allocations: 58.23 kB / 0.7719 GB, free: 23.55 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.636e-06/0.351, allocations: 7.938 kB / 0.7719 GB, free: 23.55 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.947e-06/0.351, allocations: 4 kB / 0.7719 GB, free: 23.54 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.898e-06/0.351, allocations: 0 / 0.7719 GB, free: 23.54 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001623/0.3512, allocations: 63.92 kB / 0.7719 GB, free: 23.48 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003696/0.3515, allocations: 332.8 kB / 0.7722 GB, free: 23.11 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001269/0.3517, allocations: 66.48 kB / 0.7723 GB, free: 23.03 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.551e-05/0.3518, allocations: 36.89 kB / 0.7723 GB, free: 22.99 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.208e-05/0.3518, allocations: 8 kB / 0.7723 GB, free: 22.98 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.108e-05/0.3518, allocations: 38.5 kB / 0.7724 GB, free: 22.94 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.142e-06/0.3518, allocations: 0 / 0.7724 GB, free: 22.94 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003427/0.3522, allocations: 137.4 kB / 0.7725 GB, free: 22.8 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.912e-05/0.3522, allocations: 51.41 kB / 0.7726 GB, free: 22.73 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001857/0.3524, allocations: 258.7 kB / 0.7728 GB, free: 22.48 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 7.013e-06/0.3524, allocations: 29.83 kB / 0.7728 GB, free: 22.44 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.3525, allocations: 132.1 kB / 0.773 GB, free: 22.31 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.47e-05/0.3525, allocations: 7.891 kB / 0.773 GB, free: 22.3 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.585e-05/0.3525, allocations: 17.72 kB / 0.773 GB, free: 22.28 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 4.824e-05/0.3526, allocations: 330.8 kB / 0.7733 GB, free: 21.95 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.082e-05/0.3527, allocations: 27.97 kB / 0.7733 GB, free: 21.92 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.234e-05/0.3527, allocations: 31.97 kB / 0.7734 GB, free: 21.89 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001448/0.3529, allocations: 64.88 kB / 0.7734 GB, free: 21.82 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.434e-06/0.3529, allocations: 3.938 kB / 0.7734 GB, free: 21.82 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001864/0.3531, allocations: 109.3 kB / 0.7735 GB, free: 21.7 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.287e-05/0.3531, allocations: 8 kB / 0.7735 GB, free: 21.7 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.3531, allocations: 0 / 0.7735 GB, free: 21.7 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.267e-05/0.3531, allocations: 4.031 kB / 0.7735 GB, free: 21.69 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.186e-05/0.3532, allocations: 7.984 kB / 0.7736 GB, free: 21.68 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.651e-06/0.3532, allocations: 4 kB / 0.7736 GB, free: 21.68 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.85e-05/0.3533, allocations: 3.984 kB / 0.7736 GB, free: 21.68 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.781e-06/0.3533, allocations: 4 kB / 0.7736 GB, free: 21.67 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.736e-05/0.3534, allocations: 138.5 kB / 0.7737 GB, free: 21.53 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.853e-05/0.3534, allocations: 19.8 kB / 0.7737 GB, free: 21.51 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002244/0.3536, allocations: 114.5 kB / 0.7738 GB, free: 21.39 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.643e-06/0.3537, allocations: 7.875 kB / 0.7738 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.377e-06/0.3537, allocations: 0 / 0.7738 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.3537, allocations: 0 / 0.7738 GB, free: 21.38 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001436/0.3538, allocations: 221.5 kB / 0.774 GB, free: 21.12 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.82e-07/0.3538, allocations: 0 / 0.774 GB, free: 21.12 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.172e-05/0.3539, allocations: 11.98 kB / 0.7741 GB, free: 21.11 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.353e-06/0.3539, allocations: 0 / 0.7741 GB, free: 21.11 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.721e-06/0.3539, allocations: 0 / 0.7741 GB, free: 21.11 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.3539, allocations: 4.031 kB / 0.7741 GB, free: 21.1 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.72e-07/0.3539, allocations: 0 / 0.7741 GB, free: 21.1 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004064/0.3543, allocations: 0.8133 MB / 0.7749 GB, free: 20.23 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.206e-05/0.3544, allocations: 96.89 kB / 0.7749 GB, free: 20.12 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.89e-05/0.3544, allocations: 7.984 kB / 0.775 GB, free: 20.11 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.762e-05/0.3545, allocations: 12 kB / 0.775 GB, free: 20.1 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.938e-05/0.3545, allocations: 3.938 kB / 0.775 GB, free: 20.09 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.637e-06/0.3545, allocations: 3.984 kB / 0.775 GB, free: 20.09 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001072/0.3547, allocations: 190 kB / 0.7752 GB, free: 19.91 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3547, allocations: 0 / 0.7752 GB, free: 19.91 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.000334/0.355, allocations: 35.91 kB / 0.7752 GB, free: 19.87 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.0001489/0.3552, allocations: 131.2 kB / 0.7753 GB, free: 19.73 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.3554, allocations: 63.89 kB / 0.7754 GB, free: 19.67 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.3554, allocations: 0 / 0.7754 GB, free: 19.67 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.312e-05/0.3555, allocations: 31.97 kB / 0.7754 GB, free: 19.64 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004294/0.3559, allocations: 42.34 kB / 0.7754 GB, free: 19.6 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005119/0.3564, allocations: 462.8 kB / 0.7759 GB, free: 19.11 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001312/0.3566, allocations: 0.7355 MB / 0.7766 GB, free: 18.35 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.719e-05/0.3566, allocations: 11.98 kB / 0.7766 GB, free: 18.34 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.63e-05/0.3566, allocations: 7.438 kB / 0.7766 GB, free: 18.33 MB / 458.7 MB Notification: Performance of SimCode: time 1.052e-06/0.3566, allocations: 0 / 0.7766 GB, free: 18.33 MB / 458.7 MB Notification: Performance of Templates: time 0.003559/0.3602, allocations: 1.714 MB / 0.7783 GB, free: 16.64 MB / 458.7 MB 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)