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.001077/0.001077, allocations: 104 kB / 16.35 MB, free: 5.824 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.001095/0.001095, allocations: 191.2 kB / 17.29 MB, free: 5.48 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.257/1.257, allocations: 222.9 MB / 241 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002087/0.002087, allocations: 283.2 kB / 291.4 MB, free: 14.48 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9123/0.9123, allocations: 169.3 MB / 0.4989 GB, free: 4.441 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001724/0.001724, allocations: 90.83 kB / 0.5967 GB, free: 14.45 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.15/0.1517, allocations: 86.98 MB / 0.6816 GB, free: 7.457 MB / 494.1 MB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.00283/0.1546, allocations: 1.696 MB / 0.6833 GB, free: 5.742 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006334/0.1553, allocations: 478.8 kB / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.368e-05/0.1553, allocations: 0 / 0.6837 GB, free: 5.273 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003523/0.1557, allocations: 139.5 kB / 0.6838 GB, free: 5.137 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 6.871e-05/0.1557, allocations: 63.62 kB / 0.6839 GB, free: 5.074 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002182/0.156, allocations: 59.86 kB / 0.684 GB, free: 5.016 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001356/0.1561, allocations: 103.4 kB / 0.6841 GB, free: 4.914 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.362e-05/0.1562, allocations: 15.91 kB / 0.6841 GB, free: 4.898 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.638e-05/0.1562, allocations: 31.86 kB / 0.6841 GB, free: 4.867 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.963e-05/0.1563, allocations: 51.77 kB / 0.6842 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.293e-05/0.1563, allocations: 0 / 0.6842 GB, free: 4.816 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001564/0.1565, allocations: 87.78 kB / 0.6842 GB, free: 4.73 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 7.976e-05/0.1566, allocations: 59.84 kB / 0.6843 GB, free: 4.672 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 6.114e-05/0.1567, allocations: 63.56 kB / 0.6844 GB, free: 4.609 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002211/0.1569, allocations: 183.4 kB / 0.6845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.44e-06/0.1569, allocations: 0 / 0.6845 GB, free: 4.43 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.072e-06/0.1569, allocations: 3.938 kB / 0.6845 GB, free: 4.426 MB / 494.1 MB Notification: Performance of Transformations before backend: time 8.215e-06/0.1569, allocations: 0 / 0.6845 GB, free: 4.426 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.0005484/0.1575, allocations: 478.3 kB / 0.685 GB, free: 3.91 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.143e-05/0.1575, allocations: 8.031 kB / 0.685 GB, free: 3.902 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.965e-05/0.1575, allocations: 20.66 kB / 0.685 GB, free: 3.883 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001581/0.1577, allocations: 211.8 kB / 0.6852 GB, free: 3.641 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.133e-05/0.1577, allocations: 8.375 kB / 0.6852 GB, free: 3.633 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.1577, allocations: 4.375 kB / 0.6852 GB, free: 3.629 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001638/0.1579, allocations: 58.16 kB / 0.6853 GB, free: 3.566 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.526e-06/0.1579, allocations: 3.938 kB / 0.6853 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.494e-06/0.1579, allocations: 0 / 0.6853 GB, free: 3.562 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.606e-06/0.1579, allocations: 4 kB / 0.6853 GB, free: 3.559 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001615/0.1581, allocations: 39.95 kB / 0.6853 GB, free: 3.52 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004165/0.1585, allocations: 308.8 kB / 0.6856 GB, free: 3.168 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001241/0.1587, allocations: 58.42 kB / 0.6857 GB, free: 3.102 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.222e-05/0.1588, allocations: 24.89 kB / 0.6857 GB, free: 3.074 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.013e-05/0.1588, allocations: 4 kB / 0.6857 GB, free: 3.07 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.022e-05/0.1588, allocations: 38.56 kB / 0.6857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of pre-optimization done (n=2): time 1.342e-06/0.1588, allocations: 0 / 0.6857 GB, free: 3.023 MB / 494.1 MB Notification: Performance of matching and sorting (n=2): time 0.000344/0.1592, allocations: 105.5 kB / 0.6858 GB, free: 2.914 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.926e-05/0.1592, allocations: 51.41 kB / 0.6859 GB, free: 2.852 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002292/0.1595, allocations: 254.7 kB / 0.6861 GB, free: 2.602 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.277e-05/0.1595, allocations: 25.7 kB / 0.6862 GB, free: 2.57 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.925e-05/0.1596, allocations: 148.1 kB / 0.6863 GB, free: 2.422 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.418e-05/0.1596, allocations: 7.906 kB / 0.6863 GB, free: 2.414 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.842e-05/0.1596, allocations: 13.72 kB / 0.6863 GB, free: 2.395 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001135/0.1597, allocations: 326.8 kB / 0.6866 GB, free: 2.066 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.163e-05/0.1598, allocations: 23.97 kB / 0.6867 GB, free: 2.043 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.705e-05/0.1599, allocations: 15.98 kB / 0.6867 GB, free: 2.027 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001464/0.1601, allocations: 56.81 kB / 0.6867 GB, free: 1.969 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.577e-06/0.1601, allocations: 3.938 kB / 0.6867 GB, free: 1.965 MB / 494.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002012/0.1603, allocations: 85.47 kB / 0.6868 GB, free: 1.875 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.273e-05/0.1603, allocations: 8 kB / 0.6868 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.23e-06/0.1603, allocations: 0 / 0.6868 GB, free: 1.867 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.306e-05/0.1603, allocations: 3.938 kB / 0.6868 GB, free: 1.863 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.799e-05/0.1604, allocations: 15.95 kB / 0.6868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.238e-06/0.1604, allocations: 0 / 0.6868 GB, free: 1.848 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.342e-05/0.1605, allocations: 7.906 kB / 0.6869 GB, free: 1.84 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.913e-06/0.1605, allocations: 4 kB / 0.6869 GB, free: 1.836 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 9.021e-05/0.1606, allocations: 137.8 kB / 0.687 GB, free: 1.691 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.185e-05/0.1606, allocations: 15.81 kB / 0.687 GB, free: 1.676 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002456/0.1609, allocations: 98.52 kB / 0.6871 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.613e-06/0.1609, allocations: 0 / 0.6871 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.456e-06/0.1609, allocations: 0 / 0.6871 GB, free: 1.566 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.196e-06/0.1609, allocations: 7.984 kB / 0.6871 GB, free: 1.559 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001914/0.1611, allocations: 209.5 kB / 0.6873 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.71e-07/0.1611, allocations: 0 / 0.6873 GB, free: 1.305 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.195e-05/0.1612, allocations: 4 kB / 0.6873 GB, free: 1.301 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.456e-06/0.1612, allocations: 3.984 kB / 0.6873 GB, free: 1.297 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.426e-06/0.1612, allocations: 8 kB / 0.6873 GB, free: 1.289 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.1612, allocations: 3.938 kB / 0.6873 GB, free: 1.285 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1612, allocations: 4.031 kB / 0.6873 GB, free: 1.281 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000232/0.1614, allocations: 183.2 kB / 0.6875 GB, free: 1.086 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.098e-05/0.1615, allocations: 92.92 kB / 0.6876 GB, free: 0.9766 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.171e-05/0.1615, allocations: 4 kB / 0.6876 GB, free: 0.9727 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.441e-05/0.1616, allocations: 7.984 kB / 0.6876 GB, free: 0.9648 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.518e-05/0.1617, allocations: 8.031 kB / 0.6876 GB, free: 0.957 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.436e-06/0.1617, allocations: 0 / 0.6876 GB, free: 0.957 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0001541/0.1618, allocations: 189.9 kB / 0.6878 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1619, allocations: 0 / 0.6878 GB, free: 0.7734 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.000253/0.1621, allocations: 32 kB / 0.6878 GB, free: 0.7422 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.0001629/0.1623, allocations: 115.2 kB / 0.6879 GB, free: 0.6211 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0002027/0.1625, allocations: 51.89 kB / 0.688 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.683e-06/0.1625, allocations: 4.062 kB / 0.688 GB, free: 0.5664 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 8.069e-05/0.1626, allocations: 19.98 kB / 0.688 GB, free: 0.5469 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003987/0.163, allocations: 49.64 kB / 0.688 GB, free: 0.5 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004743/0.1635, allocations: 318.4 kB / 0.6884 GB, free: 168 kB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2239/0.3874, allocations: 0.7292 MB / 0.6891 GB, free: 17.56 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.904e-05/0.3875, allocations: 8.891 kB / 0.6891 GB, free: 17.56 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.537e-05/0.3875, allocations: 10.62 kB / 0.6891 GB, free: 17.55 MB / 494.1 MB Notification: Performance of SimCode: time 5.21e-07/0.3875, allocations: 1.906 kB / 0.6891 GB, free: 17.55 MB / 494.1 MB Notification: Performance of Templates: time 0.004626/0.3922, allocations: 1.762 MB / 0.6908 GB, free: 17.53 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 -s gbode -lv LOG_STATS > BuildingSystems_BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist.pipe 2>&1)