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.0012/0.0012, allocations: 115.3 kB / 15.34 MB, free: 0.5117 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.001259/0.001259, allocations: 192.8 kB / 16.25 MB, free: 6.637 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.309/1.309, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002174/0.002174, allocations: 282.9 kB / 290.3 MB, free: 2.129 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9189/0.9189, allocations: 169.2 MB / 0.4978 GB, free: 14.09 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001705/0.001705, allocations: 94.95 kB / 0.5947 GB, free: 28.14 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1439/0.1457, allocations: 86.98 MB / 0.6796 GB, free: 1.078 MB / 478.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002569/0.1483, allocations: 1.762 MB / 0.6813 GB, free: 15.31 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006079/0.1489, allocations: 0.5042 MB / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.915e-05/0.1489, allocations: 0 / 0.6818 GB, free: 14.81 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003467/0.1493, allocations: 147.7 kB / 0.682 GB, free: 14.66 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.553e-05/0.1494, allocations: 55.73 kB / 0.682 GB, free: 14.61 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002078/0.1496, allocations: 59.81 kB / 0.6821 GB, free: 14.55 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.1497, allocations: 103.5 kB / 0.6822 GB, free: 14.45 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.411e-05/0.1498, allocations: 11.92 kB / 0.6822 GB, free: 14.44 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.151e-05/0.1498, allocations: 31.91 kB / 0.6822 GB, free: 14.41 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.856e-05/0.1499, allocations: 67.69 kB / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.165e-05/0.1499, allocations: 4 kB / 0.6823 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1501, allocations: 91.78 kB / 0.6824 GB, free: 14.25 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.833e-05/0.1502, allocations: 63.8 kB / 0.6824 GB, free: 14.18 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.32e-05/0.1502, allocations: 59.61 kB / 0.6825 GB, free: 14.12 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002091/0.1504, allocations: 187.3 kB / 0.6827 GB, free: 13.94 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1505, allocations: 4 kB / 0.6827 GB, free: 13.94 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.1505, allocations: 0 / 0.6827 GB, free: 13.94 MB / 494.1 MB Notification: Performance of Transformations before backend: time 9.148e-06/0.1505, allocations: 0 / 0.6827 GB, free: 13.94 MB / 494.1 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.0005775/0.1511, allocations: 478.3 kB / 0.6831 GB, free: 13.42 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.348e-05/0.1511, allocations: 8.031 kB / 0.6831 GB, free: 13.41 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.513e-05/0.1512, allocations: 24.59 kB / 0.6832 GB, free: 13.39 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001778/0.1513, allocations: 219.7 kB / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.636e-06/0.1514, allocations: 384 / 0.6834 GB, free: 13.14 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.689e-05/0.1514, allocations: 8.375 kB / 0.6834 GB, free: 13.13 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002019/0.1516, allocations: 58.23 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.16e-05/0.1516, allocations: 3.938 kB / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.008e-05/0.1516, allocations: 0 / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.1516, allocations: 0 / 0.6834 GB, free: 13.07 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001751/0.1518, allocations: 59.94 kB / 0.6835 GB, free: 13.01 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004626/0.1523, allocations: 340.8 kB / 0.6838 GB, free: 12.62 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1524, allocations: 62.48 kB / 0.6839 GB, free: 12.55 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.999e-05/0.1525, allocations: 32.89 kB / 0.6839 GB, free: 12.52 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.706e-05/0.1526, allocations: 16 kB / 0.6839 GB, free: 12.5 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.656e-05/0.1526, allocations: 30.56 kB / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.072e-06/0.1526, allocations: 0 / 0.684 GB, free: 12.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003551/0.153, allocations: 137.4 kB / 0.6841 GB, free: 12.32 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.652e-05/0.153, allocations: 51.41 kB / 0.6841 GB, free: 12.26 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002061/0.1532, allocations: 258.8 kB / 0.6844 GB, free: 12 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.193e-05/0.1532, allocations: 29.7 kB / 0.6844 GB, free: 11.97 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.305e-05/0.1533, allocations: 136.1 kB / 0.6846 GB, free: 11.83 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.365e-05/0.1533, allocations: 7.844 kB / 0.6846 GB, free: 11.82 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.863e-05/0.1533, allocations: 13.72 kB / 0.6846 GB, free: 11.8 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.726e-05/0.1535, allocations: 326.8 kB / 0.6849 GB, free: 11.48 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.959e-05/0.1535, allocations: 31.97 kB / 0.6849 GB, free: 11.45 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.749e-05/0.1536, allocations: 31.97 kB / 0.6849 GB, free: 11.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001502/0.1538, allocations: 64.81 kB / 0.685 GB, free: 11.35 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1538, allocations: 3.938 kB / 0.685 GB, free: 11.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002038/0.154, allocations: 105.4 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.063e-05/0.154, allocations: 4 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.154, allocations: 4 kB / 0.6851 GB, free: 11.23 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.114e-05/0.154, allocations: 4.094 kB / 0.6851 GB, free: 11.22 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.507e-05/0.1541, allocations: 11.98 kB / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.646e-06/0.1541, allocations: 0 / 0.6851 GB, free: 11.21 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.428e-05/0.1542, allocations: 19.83 kB / 0.6852 GB, free: 11.19 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.618e-06/0.1542, allocations: 0 / 0.6852 GB, free: 11.19 MB / 494.1 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 8.406e-05/0.1543, allocations: 134.4 kB / 0.6853 GB, free: 11.05 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.1543, allocations: 23.8 kB / 0.6853 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002451/0.1546, allocations: 114.5 kB / 0.6854 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1546, allocations: 0 / 0.6854 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.026e-06/0.1546, allocations: 0 / 0.6854 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.923e-06/0.1546, allocations: 0 / 0.6854 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000202/0.1548, allocations: 225.5 kB / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.21e-07/0.1548, allocations: 0 / 0.6856 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.441e-05/0.1549, allocations: 11.98 kB / 0.6856 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.362e-06/0.1549, allocations: 0 / 0.6856 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.943e-06/0.1549, allocations: 0 / 0.6856 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1549, allocations: 4.031 kB / 0.6856 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.81e-07/0.1549, allocations: 0 / 0.6856 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002502/0.1552, allocations: 211.2 kB / 0.6858 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.261e-05/0.1552, allocations: 88.92 kB / 0.6859 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.996e-05/0.1553, allocations: 0 / 0.6859 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.025e-05/0.1554, allocations: 4.031 kB / 0.6859 GB, free: 10.29 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.18e-05/0.1554, allocations: 11.97 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.8e-06/0.1554, allocations: 4 kB / 0.6859 GB, free: 10.27 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001407/0.1556, allocations: 189.9 kB / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.473e-06/0.1556, allocations: 0 / 0.6861 GB, free: 10.09 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002626/0.1558, allocations: 47.86 kB / 0.6862 GB, free: 10.04 MB / 494.1 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.0001562/0.156, allocations: 119.9 kB / 0.6863 GB, free: 9.918 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002238/0.1562, allocations: 63.95 kB / 0.6864 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.1562, allocations: 0 / 0.6864 GB, free: 9.855 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.543e-05/0.1563, allocations: 31.97 kB / 0.6864 GB, free: 9.824 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003947/0.1567, allocations: 52.52 kB / 0.6864 GB, free: 9.773 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004626/0.1572, allocations: 366.3 kB / 0.6868 GB, free: 9.391 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002749/0.1575, allocations: 0.7314 MB / 0.6875 GB, free: 8.633 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.677e-05/0.1575, allocations: 4 kB / 0.6875 GB, free: 8.629 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.91e-05/0.1576, allocations: 11.44 kB / 0.6875 GB, free: 8.617 MB / 494.1 MB Notification: Performance of SimCode: time 3.21e-07/0.1576, allocations: 0 / 0.6875 GB, free: 8.617 MB / 494.1 MB Notification: Performance of Templates: time 0.004144/0.1617, allocations: 1.735 MB / 0.6892 GB, free: 6.922 MB / 494.1 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)