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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009866/0.0009866, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.001012/0.001012, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.302/1.302, allocations: 223.3 MB / 240 MB, free: 5.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001753/0.001753, allocations: 271.1 kB / 291.4 MB, free: 1.949 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9335/0.9335, allocations: 169.5 MB / 0.5 GB, free: 14.21 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004034/0.0004035, allocations: 14.58 kB / 0.598 GB, free: 28.23 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1458/0.1462, allocations: 88.55 MB / 0.6845 GB, free: 15.46 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.001623/0.1479, allocations: 1.391 MB / 0.6858 GB, free: 14.06 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006099/0.1485, allocations: 435.8 kB / 0.6863 GB, free: 13.64 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.09e-05/0.1485, allocations: 4.812 kB / 0.6863 GB, free: 13.63 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002257/0.1488, allocations: 83.5 kB / 0.6863 GB, free: 13.55 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 9.639e-05/0.1489, allocations: 57.59 kB / 0.6864 GB, free: 13.5 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001723/0.149, allocations: 39.89 kB / 0.6864 GB, free: 13.46 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001669/0.1492, allocations: 159.4 kB / 0.6866 GB, free: 13.3 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.517e-05/0.1493, allocations: 8.953 kB / 0.6866 GB, free: 13.29 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.788e-05/0.1493, allocations: 39.86 kB / 0.6866 GB, free: 13.25 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.785e-05/0.1495, allocations: 63.75 kB / 0.6867 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.52e-05/0.1495, allocations: 7.438 kB / 0.6867 GB, free: 13.19 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001205/0.1496, allocations: 59.88 kB / 0.6868 GB, free: 13.13 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.47e-05/0.1497, allocations: 51.86 kB / 0.6868 GB, free: 13.08 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 5.157e-05/0.1497, allocations: 57.58 kB / 0.6869 GB, free: 13.02 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001552/0.1499, allocations: 123.9 kB / 0.687 GB, free: 12.89 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.128e-06/0.1499, allocations: 0 / 0.687 GB, free: 12.89 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1499, allocations: 0 / 0.687 GB, free: 12.89 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.316e-06/0.1499, allocations: 0 / 0.687 GB, free: 12.89 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.0004998/0.1504, allocations: 459.6 kB / 0.6874 GB, free: 12.4 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.223e-05/0.1505, allocations: 12.59 kB / 0.6874 GB, free: 12.39 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.743e-05/0.1505, allocations: 20.61 kB / 0.6874 GB, free: 12.37 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001491/0.1507, allocations: 210.5 kB / 0.6876 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.102e-05/0.1507, allocations: 9.625 kB / 0.6877 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.835e-06/0.1507, allocations: 0 / 0.6877 GB, free: 12.12 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001698/0.1509, allocations: 62.36 kB / 0.6877 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.1509, allocations: 0 / 0.6877 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-06/0.1509, allocations: 1.188 kB / 0.6877 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.547e-06/0.1509, allocations: 0 / 0.6877 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.1511, allocations: 58.91 kB / 0.6878 GB, free: 12 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004247/0.1515, allocations: 315.4 kB / 0.6881 GB, free: 11.64 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001267/0.1517, allocations: 53.23 kB / 0.6881 GB, free: 11.58 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.111e-05/0.1518, allocations: 36.89 kB / 0.6882 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.316e-05/0.1518, allocations: 4 kB / 0.6882 GB, free: 11.54 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.95e-05/0.1518, allocations: 31.34 kB / 0.6882 GB, free: 11.5 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.103e-06/0.1518, allocations: 0 / 0.6882 GB, free: 11.5 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003793/0.1522, allocations: 125.1 kB / 0.6883 GB, free: 11.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.128e-05/0.1523, allocations: 52.47 kB / 0.6884 GB, free: 11.31 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002273/0.1525, allocations: 258.7 kB / 0.6886 GB, free: 11.05 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.251e-05/0.1525, allocations: 26.7 kB / 0.6886 GB, free: 11.02 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.587e-05/0.1526, allocations: 132.1 kB / 0.6888 GB, free: 10.89 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.641e-05/0.1526, allocations: 11.97 kB / 0.6888 GB, free: 10.88 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.189e-06/0.1526, allocations: 4 kB / 0.6888 GB, free: 10.88 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001084/0.1528, allocations: 330.8 kB / 0.6891 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.856e-05/0.1529, allocations: 27.97 kB / 0.6891 GB, free: 10.52 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.674e-05/0.1529, allocations: 27.98 kB / 0.6891 GB, free: 10.49 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.638e-05/0.153, allocations: 24.05 kB / 0.6892 GB, free: 10.46 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.403e-06/0.153, allocations: 0 / 0.6892 GB, free: 10.46 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002097/0.1533, allocations: 105.4 kB / 0.6893 GB, free: 10.36 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.277e-05/0.1533, allocations: 8 kB / 0.6893 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.818e-06/0.1533, allocations: 0 / 0.6893 GB, free: 10.35 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.659e-06/0.1533, allocations: 3.984 kB / 0.6893 GB, free: 10.34 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.026e-05/0.1534, allocations: 11.95 kB / 0.6893 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1534, allocations: 0 / 0.6893 GB, free: 10.33 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.5e-05/0.1535, allocations: 11.98 kB / 0.6893 GB, free: 10.32 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1535, allocations: 0 / 0.6893 GB, free: 10.32 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001063/0.1536, allocations: 138.5 kB / 0.6894 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.255e-05/0.1536, allocations: 19.75 kB / 0.6895 GB, free: 10.16 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002477/0.1539, allocations: 102.5 kB / 0.6896 GB, free: 10.04 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.1539, allocations: 11.91 kB / 0.6896 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.949e-06/0.1539, allocations: 3.953 kB / 0.6896 GB, free: 10.03 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.597e-06/0.1539, allocations: 3.984 kB / 0.6896 GB, free: 10.02 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002016/0.1541, allocations: 205.6 kB / 0.6898 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.062e-06/0.1541, allocations: 0 / 0.6898 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.869e-05/0.1542, allocations: 15.98 kB / 0.6898 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.1542, allocations: 0 / 0.6898 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.801e-06/0.1542, allocations: 0 / 0.6898 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.072e-06/0.1542, allocations: 0 / 0.6898 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.71e-07/0.1542, allocations: 0 / 0.6898 GB, free: 9.758 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002498/0.1545, allocations: 207.1 kB / 0.69 GB, free: 9.539 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.651e-05/0.1545, allocations: 92.91 kB / 0.6901 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.115e-05/0.1546, allocations: 0 / 0.6901 GB, free: 9.43 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.211e-05/0.1547, allocations: 8.031 kB / 0.6901 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.157e-05/0.1547, allocations: 7.984 kB / 0.6901 GB, free: 9.414 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.547e-06/0.1547, allocations: 0 / 0.6901 GB, free: 9.414 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001565/0.1549, allocations: 186 kB / 0.6903 GB, free: 9.238 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1549, allocations: 0 / 0.6903 GB, free: 9.238 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002637/0.1551, allocations: 43.94 kB / 0.6903 GB, free: 9.195 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001607/0.1553, allocations: 125.1 kB / 0.6904 GB, free: 9.066 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.1555, allocations: 51.97 kB / 0.6905 GB, free: 9.016 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.1555, allocations: 0 / 0.6905 GB, free: 9.016 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.346e-05/0.1556, allocations: 39.97 kB / 0.6905 GB, free: 8.977 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004166/0.1561, allocations: 33.28 kB / 0.6905 GB, free: 8.945 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004944/0.1566, allocations: 366.4 kB / 0.6909 GB, free: 8.562 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002787/0.1569, allocations: 0.7277 MB / 0.6916 GB, free: 7.809 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 3.711e-05/0.1569, allocations: 4.188 kB / 0.6916 GB, free: 7.805 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.895e-05/0.1569, allocations: 11.44 kB / 0.6916 GB, free: 7.793 MB / 494.1 MB Notification: Performance of SimCode: time 1.984e-06/0.1569, allocations: 0 / 0.6916 GB, free: 7.793 MB / 494.1 MB Notification: Performance of Templates: time 0.004096/0.161, allocations: 1.626 MB / 0.6932 GB, free: 6.203 MB / 494.1 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)