Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.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.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") translateModel(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.8103/0.8103, allocations: 143.4 MB / 159.2 MB, free: 4.879 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.001131/0.001131, allocations: 194.1 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.433/1.433, allocations: 222.9 MB / 447.3 MB, free: 5.883 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.001073/0.001073, allocations: 107.7 kB / 0.517 GB, free: 3.723 MB / 410.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001966/0.001966, allocations: 286.9 kB / 0.5973 GB, free: 49.39 MB / 410.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001339/0.001339, allocations: 75.88 kB / 0.6885 GB, free: 3.863 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3642/0.3656, allocations: 81.29 MB / 0.7679 GB, free: 27.69 MB / 458.7 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.002427/0.368, allocations: 1.76 MB / 0.7696 GB, free: 25.92 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005643/0.3686, allocations: 0.5215 MB / 0.7701 GB, free: 25.4 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.847e-05/0.3687, allocations: 0 / 0.7701 GB, free: 25.4 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000376/0.369, allocations: 146.1 kB / 0.7703 GB, free: 25.26 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 8.458e-05/0.3692, allocations: 51.73 kB / 0.7703 GB, free: 25.21 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001762/0.3693, allocations: 51.88 kB / 0.7704 GB, free: 25.16 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001427/0.3695, allocations: 211.4 kB / 0.7706 GB, free: 24.95 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.485e-05/0.3695, allocations: 11.98 kB / 0.7706 GB, free: 24.94 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.628e-05/0.3696, allocations: 27.86 kB / 0.7706 GB, free: 24.91 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 8.006e-05/0.3697, allocations: 67.64 kB / 0.7707 GB, free: 24.84 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 1.529e-05/0.3697, allocations: 4 kB / 0.7707 GB, free: 24.84 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001386/0.3698, allocations: 87.83 kB / 0.7708 GB, free: 24.75 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 7.113e-05/0.3699, allocations: 59.8 kB / 0.7708 GB, free: 24.7 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 4.699e-05/0.37, allocations: 63.56 kB / 0.7709 GB, free: 24.63 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000185/0.3702, allocations: 187.4 kB / 0.7711 GB, free: 24.45 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.507e-06/0.3702, allocations: 0 / 0.7711 GB, free: 24.45 MB / 458.7 MB Notification: Performance of FrontEnd: time 8.62e-07/0.3702, allocations: 0 / 0.7711 GB, free: 24.45 MB / 458.7 MB Notification: Performance of Transformations before backend: time 7.364e-06/0.3702, allocations: 0 / 0.7711 GB, free: 24.45 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.0004421/0.3706, allocations: 478.3 kB / 0.7715 GB, free: 23.93 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.136e-05/0.3707, allocations: 8.031 kB / 0.7715 GB, free: 23.93 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.244e-05/0.3707, allocations: 20.66 kB / 0.7715 GB, free: 23.91 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.3708, allocations: 223.6 kB / 0.7718 GB, free: 23.65 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.716e-06/0.3708, allocations: 384 / 0.7718 GB, free: 23.65 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.047e-06/0.3708, allocations: 8.375 kB / 0.7718 GB, free: 23.64 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001526/0.371, allocations: 58.23 kB / 0.7718 GB, free: 23.58 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.644e-06/0.371, allocations: 3.938 kB / 0.7718 GB, free: 23.58 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.184e-06/0.371, allocations: 0 / 0.7718 GB, free: 23.58 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.848e-06/0.371, allocations: 0 / 0.7718 GB, free: 23.58 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001605/0.3712, allocations: 59.94 kB / 0.7719 GB, free: 23.52 MB / 458.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003629/0.3716, allocations: 332.9 kB / 0.7722 GB, free: 23.14 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001181/0.3717, allocations: 62.42 kB / 0.7723 GB, free: 23.07 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.17e-05/0.3718, allocations: 36.89 kB / 0.7723 GB, free: 23.04 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.348e-05/0.3718, allocations: 15.98 kB / 0.7723 GB, free: 23.02 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.319e-05/0.3719, allocations: 38.56 kB / 0.7723 GB, free: 22.97 MB / 458.7 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.3719, allocations: 3.938 kB / 0.7724 GB, free: 22.97 MB / 458.7 MB Notification: Performance of matching and sorting (n=2): time 0.0003234/0.3722, allocations: 133.4 kB / 0.7725 GB, free: 22.83 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.347e-05/0.3722, allocations: 55.34 kB / 0.7725 GB, free: 22.77 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.3724, allocations: 258.7 kB / 0.7728 GB, free: 22.51 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 8.125e-06/0.3724, allocations: 29.83 kB / 0.7728 GB, free: 22.47 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.535e-05/0.3725, allocations: 132.1 kB / 0.7729 GB, free: 22.34 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.369e-05/0.3725, allocations: 7.906 kB / 0.7729 GB, free: 22.33 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.522e-05/0.3725, allocations: 9.719 kB / 0.7729 GB, free: 22.32 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 6.492e-05/0.3726, allocations: 330.8 kB / 0.7733 GB, free: 21.98 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.094e-05/0.3727, allocations: 27.97 kB / 0.7733 GB, free: 21.96 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.151e-05/0.3728, allocations: 31.97 kB / 0.7733 GB, free: 21.93 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001436/0.3729, allocations: 64.88 kB / 0.7734 GB, free: 21.86 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.893e-06/0.3729, allocations: 3.938 kB / 0.7734 GB, free: 21.86 MB / 458.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001892/0.3731, allocations: 113.3 kB / 0.7735 GB, free: 21.74 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.467e-05/0.3731, allocations: 4.938 kB / 0.7735 GB, free: 21.73 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.168e-06/0.3732, allocations: 0 / 0.7735 GB, free: 21.73 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.092e-05/0.3732, allocations: 4.031 kB / 0.7735 GB, free: 21.73 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.8e-05/0.3733, allocations: 19.92 kB / 0.7735 GB, free: 21.71 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.538e-06/0.3733, allocations: 3.984 kB / 0.7735 GB, free: 21.71 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.898e-05/0.3733, allocations: 7.984 kB / 0.7735 GB, free: 21.7 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.3733, allocations: 0 / 0.7735 GB, free: 21.7 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.618e-05/0.3734, allocations: 142.5 kB / 0.7737 GB, free: 21.55 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.892e-05/0.3734, allocations: 19.81 kB / 0.7737 GB, free: 21.53 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002181/0.3737, allocations: 110.5 kB / 0.7738 GB, free: 21.42 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.394e-06/0.3737, allocations: 3.984 kB / 0.7738 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.687e-06/0.3737, allocations: 0 / 0.7738 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.3737, allocations: 0 / 0.7738 GB, free: 21.41 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001536/0.3739, allocations: 221.5 kB / 0.774 GB, free: 21.15 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.963e-06/0.3739, allocations: 0 / 0.774 GB, free: 21.15 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.077e-05/0.3739, allocations: 15.92 kB / 0.774 GB, free: 21.13 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.552e-06/0.3739, allocations: 0 / 0.774 GB, free: 21.13 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.511e-06/0.3739, allocations: 0 / 0.774 GB, free: 21.13 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.3739, allocations: 4.031 kB / 0.774 GB, free: 21.13 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.112e-06/0.3739, allocations: 0 / 0.774 GB, free: 21.13 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004014/0.3744, allocations: 0.8172 MB / 0.7748 GB, free: 20.25 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.292e-05/0.3744, allocations: 100.8 kB / 0.7749 GB, free: 20.14 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.712e-05/0.3744, allocations: 3.938 kB / 0.7749 GB, free: 20.13 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.379e-05/0.3745, allocations: 4 kB / 0.7749 GB, free: 20.13 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.35e-05/0.3745, allocations: 7.922 kB / 0.7749 GB, free: 20.12 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.246e-06/0.3746, allocations: 0 / 0.7749 GB, free: 20.12 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.0001176/0.3747, allocations: 190 kB / 0.7751 GB, free: 19.94 MB / 458.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3747, allocations: 0 / 0.7751 GB, free: 19.94 MB / 458.7 MB Notification: Performance of remove unused functions: time 0.0003475/0.375, allocations: 43.98 kB / 0.7752 GB, free: 19.89 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.0001839/0.3752, allocations: 123.2 kB / 0.7753 GB, free: 19.77 MB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.0002132/0.3755, allocations: 59.95 kB / 0.7753 GB, free: 19.71 MB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 2.605e-06/0.3755, allocations: 0 / 0.7753 GB, free: 19.71 MB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 8.71e-05/0.3756, allocations: 35.91 kB / 0.7754 GB, free: 19.67 MB / 458.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004563/0.376, allocations: 42.33 kB / 0.7754 GB, free: 19.63 MB / 458.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005311/0.3766, allocations: 466.8 kB / 0.7759 GB, free: 19.14 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000199/0.3768, allocations: 0.7394 MB / 0.7766 GB, free: 18.37 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 3.991e-05/0.3768, allocations: 8 kB / 0.7766 GB, free: 18.36 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.749e-05/0.3768, allocations: 7.438 kB / 0.7766 GB, free: 18.36 MB / 458.7 MB Notification: Performance of SimCode: time 2.11e-07/0.3768, allocations: 0 / 0.7766 GB, free: 18.36 MB / 458.7 MB Notification: Performance of Templates: time 0.004014/0.3809, allocations: 1.72 MB / 0.7783 GB, free: 16.66 MB / 458.7 MB make -j1 -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.makefile (rm -f BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; mkfifo BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe >> ../files/BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.sim & ./BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor -abortSlowSimulation -alarm=480 -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor.pipe 2>&1)