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.001439/0.001439, allocations: 102.7 kB / 16.27 MB, free: 6.414 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.001469/0.001469, allocations: 189.7 kB / 17.2 MB, free: 5.953 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.298/1.298, allocations: 222.9 MB / 240.9 MB, free: 15.21 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002408/0.002408, allocations: 298.1 kB / 291.3 MB, free: 14.53 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 1.125/1.125, allocations: 178.5 MB / 0.5079 GB, free: 12.95 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.002651/0.002651, allocations: 99.83 kB / 0.6071 GB, free: 9.309 MB / 462.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1627/0.1653, allocations: 89.13 MB / 0.6941 GB, free: 96 kB / 0.5294 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.phiSor): time 0.002996/0.1684, allocations: 1.706 MB / 0.6958 GB, free: 14.36 MB / 0.545 GB Notification: Performance of NFInst.instExpressions: time 0.0007312/0.1691, allocations: 0.5096 MB / 0.6963 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.079e-05/0.1692, allocations: 4 kB / 0.6963 GB, free: 13.85 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.0003925/0.1696, allocations: 147.4 kB / 0.6965 GB, free: 13.7 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 7.394e-05/0.1697, allocations: 51.73 kB / 0.6965 GB, free: 13.65 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002335/0.1699, allocations: 67.8 kB / 0.6966 GB, free: 13.59 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.17, allocations: 103.4 kB / 0.6967 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 4.958e-05/0.1701, allocations: 8 kB / 0.6967 GB, free: 13.48 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 5.8e-05/0.1702, allocations: 35.91 kB / 0.6967 GB, free: 13.44 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 8.724e-05/0.1703, allocations: 55.69 kB / 0.6968 GB, free: 13.39 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 1.486e-05/0.1703, allocations: 4 kB / 0.6968 GB, free: 13.38 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001778/0.1705, allocations: 83.84 kB / 0.6968 GB, free: 13.3 MB / 0.545 GB Notification: Performance of NFScalarize.scalarize: time 8.599e-05/0.1706, allocations: 55.81 kB / 0.6969 GB, free: 13.25 MB / 0.545 GB Notification: Performance of NFVerifyModel.verify: time 6.718e-05/0.1706, allocations: 59.55 kB / 0.697 GB, free: 13.19 MB / 0.545 GB Notification: Performance of NFConvertDAE.convert: time 0.0002557/0.1709, allocations: 191.6 kB / 0.6971 GB, free: 13 MB / 0.545 GB Notification: Performance of FrontEnd - DAE generated: time 3.987e-06/0.1709, allocations: 0 / 0.6971 GB, free: 13 MB / 0.545 GB Notification: Performance of FrontEnd: time 3.106e-06/0.1709, allocations: 3.984 kB / 0.6971 GB, free: 13 MB / 0.545 GB Notification: Performance of Transformations before backend: time 8.035e-06/0.1709, allocations: 0 / 0.6971 GB, free: 13 MB / 0.545 GB 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.0005973/0.1715, allocations: 482.3 kB / 0.6976 GB, free: 12.48 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.144e-05/0.1716, allocations: 8.031 kB / 0.6976 GB, free: 12.47 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.397e-05/0.1716, allocations: 20.66 kB / 0.6976 GB, free: 12.45 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001693/0.1718, allocations: 215.7 kB / 0.6978 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.949e-06/0.1718, allocations: 384 / 0.6978 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.478e-06/0.1718, allocations: 4.375 kB / 0.6978 GB, free: 12.2 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001839/0.172, allocations: 74.14 kB / 0.6979 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.614e-05/0.172, allocations: 3.938 kB / 0.6979 GB, free: 12.12 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.306e-06/0.172, allocations: 4 kB / 0.6979 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.737e-06/0.1721, allocations: 0 / 0.6979 GB, free: 12.11 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001894/0.1722, allocations: 55.95 kB / 0.698 GB, free: 12.06 MB / 0.545 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004732/0.1727, allocations: 328.8 kB / 0.6983 GB, free: 11.69 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000156/0.1729, allocations: 70.42 kB / 0.6984 GB, free: 11.61 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001003/0.173, allocations: 36.89 kB / 0.6984 GB, free: 11.57 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 4.115e-05/0.1731, allocations: 15.94 kB / 0.6984 GB, free: 11.55 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.836e-05/0.1731, allocations: 34.56 kB / 0.6984 GB, free: 11.51 MB / 0.545 GB Notification: Performance of pre-optimization done (n=2): time 1.102e-06/0.1731, allocations: 0 / 0.6984 GB, free: 11.51 MB / 0.545 GB Notification: Performance of matching and sorting (n=2): time 0.0004104/0.1735, allocations: 137.4 kB / 0.6986 GB, free: 11.37 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.268e-05/0.1736, allocations: 55.34 kB / 0.6986 GB, free: 11.3 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002764/0.1738, allocations: 254.7 kB / 0.6989 GB, free: 11.05 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 1.852e-05/0.1739, allocations: 29.7 kB / 0.6989 GB, free: 11.01 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0001065/0.174, allocations: 128.1 kB / 0.699 GB, free: 10.88 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 1.666e-05/0.174, allocations: 7.906 kB / 0.699 GB, free: 10.88 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.931e-05/0.174, allocations: 17.59 kB / 0.699 GB, free: 10.85 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001673/0.1742, allocations: 338.9 kB / 0.6994 GB, free: 10.51 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.434e-05/0.1743, allocations: 27.97 kB / 0.6994 GB, free: 10.48 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001076/0.1744, allocations: 27.98 kB / 0.6994 GB, free: 10.46 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001717/0.1746, allocations: 60.81 kB / 0.6995 GB, free: 10.39 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.506e-06/0.1746, allocations: 3.938 kB / 0.6995 GB, free: 10.39 MB / 0.545 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002316/0.1749, allocations: 117.4 kB / 0.6996 GB, free: 10.27 MB / 0.545 GB Notification: Performance of prepare postOptimizeDAE: time 1.331e-05/0.1749, allocations: 4 kB / 0.6996 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.829e-06/0.1749, allocations: 0 / 0.6996 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.223e-05/0.1749, allocations: 0 / 0.6996 GB, free: 10.27 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.927e-05/0.175, allocations: 11.98 kB / 0.6996 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.283e-05/0.175, allocations: 7.922 kB / 0.6996 GB, free: 10.25 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.158e-05/0.1751, allocations: 4 kB / 0.6996 GB, free: 10.24 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1751, allocations: 0 / 0.6996 GB, free: 10.24 MB / 0.545 GB 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 0.0001144/0.1752, allocations: 145.1 kB / 0.6998 GB, free: 10.09 MB / 0.545 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.518e-05/0.1753, allocations: 19.81 kB / 0.6998 GB, free: 10.07 MB / 0.545 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000276/0.1755, allocations: 114.5 kB / 0.6999 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.773e-06/0.1756, allocations: 0 / 0.6999 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.1756, allocations: 0 / 0.6999 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.285e-06/0.1756, allocations: 0 / 0.6999 GB, free: 9.949 MB / 0.545 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002732/0.1758, allocations: 217.6 kB / 0.7001 GB, free: 9.688 MB / 0.545 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.885e-06/0.1759, allocations: 8.031 kB / 0.7001 GB, free: 9.68 MB / 0.545 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.871e-05/0.1759, allocations: 11.98 kB / 0.7001 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.074e-06/0.1759, allocations: 0 / 0.7001 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.302e-06/0.1759, allocations: 0 / 0.7001 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.426e-06/0.1759, allocations: 0 / 0.7001 GB, free: 9.668 MB / 0.545 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.62e-07/0.1759, allocations: 3.938 kB / 0.7001 GB, free: 9.664 MB / 0.545 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002875/0.1762, allocations: 211.2 kB / 0.7003 GB, free: 9.441 MB / 0.545 GB Notification: Performance of postOpt removeConstants (simulation): time 5.718e-05/0.1763, allocations: 88.92 kB / 0.7004 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.12e-05/0.1763, allocations: 0 / 0.7004 GB, free: 9.336 MB / 0.545 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001078/0.1764, allocations: 11.98 kB / 0.7004 GB, free: 9.324 MB / 0.545 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.127e-05/0.1765, allocations: 3.938 kB / 0.7004 GB, free: 9.32 MB / 0.545 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.815e-06/0.1765, allocations: 0 / 0.7004 GB, free: 9.32 MB / 0.545 GB Notification: Performance of sorting global known variables: time 0.0001788/0.1767, allocations: 193.9 kB / 0.7006 GB, free: 9.137 MB / 0.545 GB Notification: Performance of sort global known variables: time 1.11e-07/0.1767, allocations: 0 / 0.7006 GB, free: 9.137 MB / 0.545 GB Notification: Performance of remove unused functions: time 0.0002583/0.1769, allocations: 39.94 kB / 0.7006 GB, free: 9.098 MB / 0.545 GB 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.0002/0.1771, allocations: 133.4 kB / 0.7008 GB, free: 8.961 MB / 0.545 GB Notification: Performance of simCode: created initialization part: time 0.0002324/0.1774, allocations: 63.89 kB / 0.7008 GB, free: 8.898 MB / 0.545 GB Notification: Performance of simCode: created event and clocks part: time 1.533e-06/0.1774, allocations: 0 / 0.7008 GB, free: 8.898 MB / 0.545 GB Notification: Performance of simCode: created simulation system equations: time 9.765e-05/0.1775, allocations: 31.97 kB / 0.7009 GB, free: 8.867 MB / 0.545 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004444/0.178, allocations: 48.53 kB / 0.7009 GB, free: 8.82 MB / 0.545 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000565/0.1785, allocations: 375.8 kB / 0.7013 GB, free: 8.418 MB / 0.545 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003807/0.1789, allocations: 0.7391 MB / 0.702 GB, free: 7.652 MB / 0.545 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.236e-05/0.1789, allocations: 7.438 kB / 0.702 GB, free: 7.645 MB / 0.545 GB Notification: Performance of SimCode: time 2.21e-07/0.179, allocations: 0 / 0.702 GB, free: 7.645 MB / 0.545 GB Notification: Performance of Templates: time 0.003749/0.1827, allocations: 1.852 MB / 0.7038 GB, free: 5.816 MB / 0.545 GB 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)