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.001001/0.001001, allocations: 92.08 kB / 15.06 MB, free: 1.098 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.001237/0.001237, allocations: 172.7 kB / 15.95 MB, free: 208 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.31/1.31, allocations: 223.3 MB / 240 MB, free: 5.41 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.001829/0.001829, allocations: 274.9 kB / 291.4 MB, free: 1.953 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9375/0.9375, allocations: 169.5 MB / 0.5 GB, free: 14.19 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004308/0.0004309, allocations: 13.84 kB / 0.598 GB, free: 28.4 MB / 430.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1376, allocations: 88.55 MB / 0.6845 GB, free: 15.43 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.001589/0.1392, allocations: 1.391 MB / 0.6858 GB, free: 14.03 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006155/0.1399, allocations: 472.8 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.787e-05/0.1399, allocations: 1.719 kB / 0.6863 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000236/0.1401, allocations: 95.47 kB / 0.6864 GB, free: 13.48 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 8.852e-05/0.1402, allocations: 51.8 kB / 0.6864 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001902/0.1404, allocations: 47.81 kB / 0.6865 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001693/0.1406, allocations: 156.4 kB / 0.6866 GB, free: 13.23 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.271e-05/0.1407, allocations: 7.984 kB / 0.6866 GB, free: 13.22 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.037e-05/0.1407, allocations: 45.91 kB / 0.6867 GB, free: 13.18 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001018/0.1408, allocations: 67.75 kB / 0.6867 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.413e-05/0.1409, allocations: 4 kB / 0.6867 GB, free: 13.11 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001273/0.141, allocations: 59.81 kB / 0.6868 GB, free: 13.05 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 6.721e-05/0.1411, allocations: 59.86 kB / 0.6869 GB, free: 12.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.83e-05/0.1411, allocations: 51.95 kB / 0.6869 GB, free: 12.93 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001605/0.1413, allocations: 127.9 kB / 0.687 GB, free: 12.81 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.881e-06/0.1413, allocations: 4 kB / 0.687 GB, free: 12.8 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.303e-06/0.1413, allocations: 4 kB / 0.687 GB, free: 12.8 MB / 494.1 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.1413, allocations: 0 / 0.687 GB, free: 12.8 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.0004886/0.1418, allocations: 463.4 kB / 0.6875 GB, free: 12.3 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.044e-05/0.1418, allocations: 13.28 kB / 0.6875 GB, free: 12.29 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.805e-05/0.1419, allocations: 19.77 kB / 0.6875 GB, free: 12.27 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001333/0.142, allocations: 202.6 kB / 0.6877 GB, free: 12.04 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.458e-06/0.142, allocations: 9.344 kB / 0.6877 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.815e-06/0.1421, allocations: 0 / 0.6877 GB, free: 12.03 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001725/0.1422, allocations: 66.42 kB / 0.6878 GB, free: 11.96 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.045e-06/0.1423, allocations: 4.484 kB / 0.6878 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.059e-05/0.1423, allocations: 9.703 kB / 0.6878 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.997e-06/0.1423, allocations: 0 / 0.6878 GB, free: 11.95 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001907/0.1425, allocations: 74.69 kB / 0.6879 GB, free: 11.88 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004238/0.1429, allocations: 334.5 kB / 0.6882 GB, free: 11.5 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001435/0.1431, allocations: 67.27 kB / 0.6882 GB, free: 11.43 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.662e-05/0.1432, allocations: 42.39 kB / 0.6883 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.648e-05/0.1432, allocations: 9.438 kB / 0.6883 GB, free: 11.38 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.013e-05/0.1432, allocations: 34.56 kB / 0.6883 GB, free: 11.33 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.042e-06/0.1432, allocations: 0.625 kB / 0.6883 GB, free: 11.33 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.0003795/0.1436, allocations: 157.3 kB / 0.6885 GB, free: 11.17 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.085e-05/0.1437, allocations: 51.41 kB / 0.6885 GB, free: 11.11 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002229/0.1439, allocations: 258.8 kB / 0.6888 GB, free: 10.85 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.167e-05/0.1439, allocations: 25.7 kB / 0.6888 GB, free: 10.82 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.154e-05/0.144, allocations: 132.1 kB / 0.6889 GB, free: 10.69 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.551e-05/0.144, allocations: 11.91 kB / 0.6889 GB, free: 10.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.075e-06/0.144, allocations: 0 / 0.6889 GB, free: 10.68 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.000101/0.1441, allocations: 326.8 kB / 0.6893 GB, free: 10.35 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.385e-05/0.1442, allocations: 35.97 kB / 0.6893 GB, free: 10.31 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001031/0.1444, allocations: 39.97 kB / 0.6893 GB, free: 10.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.139e-05/0.1445, allocations: 31.98 kB / 0.6894 GB, free: 10.24 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.1445, allocations: 0 / 0.6894 GB, free: 10.24 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002243/0.1447, allocations: 125.4 kB / 0.6895 GB, free: 10.11 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.281e-05/0.1447, allocations: 5.719 kB / 0.6895 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.837e-06/0.1447, allocations: 4 kB / 0.6895 GB, free: 10.11 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.017e-05/0.1447, allocations: 3.953 kB / 0.6895 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.178e-05/0.1448, allocations: 11.98 kB / 0.6895 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.147e-06/0.1448, allocations: 0 / 0.6895 GB, free: 10.09 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.446e-05/0.1449, allocations: 15.97 kB / 0.6895 GB, free: 10.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.789e-06/0.1449, allocations: 0 / 0.6895 GB, free: 10.07 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.983e-05/0.145, allocations: 134.5 kB / 0.6896 GB, free: 9.934 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.293e-05/0.1451, allocations: 15.81 kB / 0.6897 GB, free: 9.918 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002738/0.1453, allocations: 130.4 kB / 0.6898 GB, free: 9.777 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.156e-06/0.1454, allocations: 7.891 kB / 0.6898 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.426e-06/0.1454, allocations: 0 / 0.6898 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.274e-06/0.1454, allocations: 0 / 0.6898 GB, free: 9.77 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002047/0.1456, allocations: 213.6 kB / 0.69 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1456, allocations: 0 / 0.69 GB, free: 9.512 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.071e-05/0.1457, allocations: 15.98 kB / 0.69 GB, free: 9.496 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.204e-06/0.1457, allocations: 4.031 kB / 0.69 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.321e-06/0.1457, allocations: 0 / 0.69 GB, free: 9.492 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.266e-06/0.1457, allocations: 4 kB / 0.69 GB, free: 9.488 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.364e-06/0.1457, allocations: 3.953 kB / 0.69 GB, free: 9.484 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002723/0.146, allocations: 219.2 kB / 0.6902 GB, free: 9.254 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.657e-05/0.146, allocations: 88.92 kB / 0.6903 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.137e-05/0.1461, allocations: 0 / 0.6903 GB, free: 9.148 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.392e-05/0.1462, allocations: 11.98 kB / 0.6903 GB, free: 9.137 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.074e-05/0.1462, allocations: 3.938 kB / 0.6903 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.648e-06/0.1462, allocations: 3.953 kB / 0.6903 GB, free: 9.129 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000153/0.1464, allocations: 189.9 kB / 0.6905 GB, free: 8.949 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1464, allocations: 4.031 kB / 0.6905 GB, free: 8.945 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0002686/0.1466, allocations: 35.94 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.0001701/0.1468, allocations: 127.2 kB / 0.6907 GB, free: 8.777 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002225/0.1471, allocations: 75.94 kB / 0.6907 GB, free: 8.703 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.663e-06/0.1471, allocations: 0 / 0.6907 GB, free: 8.703 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 9.101e-05/0.1472, allocations: 35.98 kB / 0.6908 GB, free: 8.668 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004201/0.1476, allocations: 45.39 kB / 0.6908 GB, free: 8.625 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000499/0.1481, allocations: 368.3 kB / 0.6912 GB, free: 8.238 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002653/0.1484, allocations: 0.7277 MB / 0.6919 GB, free: 7.484 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.619e-05/0.1484, allocations: 16.16 kB / 0.6919 GB, free: 7.469 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.01e-05/0.1485, allocations: 11.44 kB / 0.6919 GB, free: 7.457 MB / 494.1 MB Notification: Performance of SimCode: time 2.7e-07/0.1485, allocations: 0 / 0.6919 GB, free: 7.457 MB / 494.1 MB Notification: Performance of Templates: time 0.00413/0.1526, allocations: 1.643 MB / 0.6935 GB, free: 5.848 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)