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/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.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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007863/0.0007862, allocations: 86.72 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.0008416/0.0008416, 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.314/1.314, allocations: 223.3 MB / 240 MB, free: 5.363 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.00177/0.00177, allocations: 274 kB / 291.3 MB, free: 1.93 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9467/0.9467, allocations: 169.5 MB / 0.5 GB, free: 14.2 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004194/0.0004195, allocations: 15.2 kB / 0.598 GB, free: 28.27 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1387/0.1391, allocations: 88.55 MB / 0.6845 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.wSor): time 0.00159/0.1407, allocations: 1.39 MB / 0.6858 GB, free: 14.04 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006109/0.1413, allocations: 484.3 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.977e-05/0.1414, allocations: 0.6875 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002278/0.1416, allocations: 84.06 kB / 0.6864 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.924e-05/0.1417, allocations: 59.72 kB / 0.6864 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001823/0.1419, allocations: 36.52 kB / 0.6865 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001677/0.1421, allocations: 163.9 kB / 0.6866 GB, free: 13.24 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.023e-05/0.1421, allocations: 12.58 kB / 0.6866 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.468e-05/0.1422, allocations: 46.17 kB / 0.6867 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001037/0.1423, allocations: 67.77 kB / 0.6867 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.349e-05/0.1424, allocations: 0 / 0.6867 GB, free: 13.12 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001383/0.1425, allocations: 55.95 kB / 0.6868 GB, free: 13.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.008e-05/0.1426, allocations: 55.8 kB / 0.6869 GB, free: 13.01 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.164e-05/0.1426, allocations: 53.58 kB / 0.6869 GB, free: 12.95 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001682/0.1428, allocations: 128.7 kB / 0.687 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.428e-06/0.1428, allocations: 3.938 kB / 0.687 GB, free: 12.82 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.543e-06/0.1428, allocations: 4.906 kB / 0.687 GB, free: 12.82 MB / 494.1 MB Notification: Performance of Transformations before backend: time 4.167e-06/0.1428, allocations: 0 / 0.687 GB, free: 12.82 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.0005252/0.1434, allocations: 463.9 kB / 0.6875 GB, free: 12.32 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.549e-05/0.1434, allocations: 12.69 kB / 0.6875 GB, free: 12.3 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.833e-05/0.1434, allocations: 19.77 kB / 0.6875 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001455/0.1436, allocations: 203.9 kB / 0.6877 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.177e-05/0.1436, allocations: 4 kB / 0.6877 GB, free: 12.05 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.475e-05/0.1436, allocations: 11.92 kB / 0.6877 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001844/0.1438, allocations: 64.98 kB / 0.6878 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.973e-06/0.1438, allocations: 0 / 0.6878 GB, free: 11.97 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.387e-06/0.1439, allocations: 4 kB / 0.6878 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.1439, allocations: 0 / 0.6878 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001934/0.1441, allocations: 69.38 kB / 0.6879 GB, free: 11.9 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000468/0.1446, allocations: 339.8 kB / 0.6882 GB, free: 11.52 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001454/0.1447, allocations: 70.48 kB / 0.6882 GB, free: 11.44 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.578e-05/0.1448, allocations: 40.89 kB / 0.6883 GB, free: 11.4 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.514e-05/0.1449, allocations: 15.98 kB / 0.6883 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.294e-05/0.1449, allocations: 30.56 kB / 0.6883 GB, free: 11.34 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.292e-06/0.1449, allocations: 4 kB / 0.6883 GB, free: 11.34 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003975/0.1453, allocations: 149.4 kB / 0.6885 GB, free: 11.19 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.4e-05/0.1454, allocations: 55.53 kB / 0.6885 GB, free: 11.12 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002396/0.1456, allocations: 262.6 kB / 0.6888 GB, free: 10.86 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.169e-05/0.1456, allocations: 25.7 kB / 0.6888 GB, free: 10.83 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.951e-05/0.1457, allocations: 128.1 kB / 0.6889 GB, free: 10.7 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.768e-05/0.1457, allocations: 11.89 kB / 0.6889 GB, free: 10.69 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.066e-06/0.1457, allocations: 0 / 0.6889 GB, free: 10.69 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001196/0.1459, allocations: 330.8 kB / 0.6892 GB, free: 10.36 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.487e-05/0.146, allocations: 35.98 kB / 0.6893 GB, free: 10.32 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.048e-05/0.1461, allocations: 35.97 kB / 0.6893 GB, free: 10.29 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.891e-05/0.1462, allocations: 35.97 kB / 0.6894 GB, free: 10.25 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.633e-06/0.1462, allocations: 0 / 0.6894 GB, free: 10.25 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002202/0.1464, allocations: 117.4 kB / 0.6895 GB, free: 10.13 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.507e-05/0.1464, allocations: 6.344 kB / 0.6895 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.098e-06/0.1464, allocations: 7.938 kB / 0.6895 GB, free: 10.12 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.26e-05/0.1465, allocations: 7.938 kB / 0.6895 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.1465, allocations: 16.02 kB / 0.6895 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.989e-06/0.1466, allocations: 0 / 0.6895 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.735e-05/0.1466, allocations: 11.98 kB / 0.6895 GB, free: 10.08 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.13e-06/0.1466, allocations: 3.938 kB / 0.6895 GB, free: 10.08 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 9.806e-05/0.1467, allocations: 134.4 kB / 0.6896 GB, free: 9.938 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.326e-05/0.1468, allocations: 15.81 kB / 0.6897 GB, free: 9.922 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002773/0.1471, allocations: 134.5 kB / 0.6898 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.478e-06/0.1471, allocations: 3.953 kB / 0.6898 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.797e-06/0.1471, allocations: 0 / 0.6898 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.234e-06/0.1471, allocations: 0 / 0.6898 GB, free: 9.773 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000206/0.1473, allocations: 217.6 kB / 0.69 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.454e-06/0.1473, allocations: 4 kB / 0.69 GB, free: 9.508 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.883e-05/0.1474, allocations: 12.03 kB / 0.69 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.814e-06/0.1474, allocations: 0 / 0.69 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.075e-06/0.1474, allocations: 3.984 kB / 0.69 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.1474, allocations: 0 / 0.69 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.196e-06/0.1474, allocations: 3.953 kB / 0.69 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002653/0.1477, allocations: 215.2 kB / 0.6902 GB, free: 9.262 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.526e-05/0.1477, allocations: 88.92 kB / 0.6903 GB, free: 9.156 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.441e-05/0.1478, allocations: 7.984 kB / 0.6903 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.6e-05/0.1479, allocations: 12 kB / 0.6903 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.585e-05/0.1479, allocations: 3.984 kB / 0.6903 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1479, allocations: 3.953 kB / 0.6903 GB, free: 9.129 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001546/0.1481, allocations: 190 kB / 0.6905 GB, free: 8.949 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1481, allocations: 0 / 0.6905 GB, free: 8.949 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002888/0.1484, allocations: 39.92 kB / 0.6906 GB, free: 8.91 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.000181/0.1486, allocations: 119.2 kB / 0.6907 GB, free: 8.785 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.000231/0.1488, allocations: 75.89 kB / 0.6907 GB, free: 8.711 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1488, allocations: 0 / 0.6907 GB, free: 8.711 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.524e-05/0.1489, allocations: 39.97 kB / 0.6908 GB, free: 8.672 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004319/0.1494, allocations: 36.66 kB / 0.6908 GB, free: 8.637 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005241/0.1499, allocations: 368.3 kB / 0.6912 GB, free: 8.25 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002803/0.1502, allocations: 0.7355 MB / 0.6919 GB, free: 7.488 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.099e-05/0.1502, allocations: 8.188 kB / 0.6919 GB, free: 7.48 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.561e-05/0.1503, allocations: 11.44 kB / 0.6919 GB, free: 7.469 MB / 494.1 MB Notification: Performance of SimCode: time 3.31e-07/0.1503, allocations: 0 / 0.6919 GB, free: 7.469 MB / 494.1 MB Notification: Performance of Templates: time 0.004142/0.1544, allocations: 1.632 MB / 0.6935 GB, free: 5.867 MB / 494.1 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)