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.006992/0.006992, allocations: 99.88 kB / 15.73 MB, free: 6.047 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.001733/0.001733, allocations: 185.3 kB / 16.67 MB, free: 5.977 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.312 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002044/0.002044, allocations: 294 kB / 290.8 MB, free: 1.898 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9543/0.9543, allocations: 169.3 MB / 0.4983 GB, free: 13.78 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001838/0.001838, allocations: 99.86 kB / 0.6814 GB, free: 15.5 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1985/0.2003, allocations: 86.98 MB / 0.7664 GB, free: 8.441 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.HAM.HeatAndMoistureTransport.Functions.Examples.myPhiMoist): time 0.003129/0.2035, allocations: 1.701 MB / 0.768 GB, free: 6.727 MB / 0.5606 GB Notification: Performance of NFInst.instExpressions: time 0.0006988/0.2042, allocations: 470.7 kB / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.585e-05/0.2043, allocations: 0 / 0.7685 GB, free: 6.266 MB / 0.5606 GB Notification: Performance of NFTyping.typeComponents: time 0.0004141/0.2047, allocations: 155.4 kB / 0.7686 GB, free: 6.113 MB / 0.5606 GB Notification: Performance of NFTyping.typeBindings: time 6.951e-05/0.2048, allocations: 51.73 kB / 0.7687 GB, free: 6.062 MB / 0.5606 GB Notification: Performance of NFTyping.typeClassSections: time 0.0002519/0.2051, allocations: 63.73 kB / 0.7687 GB, free: 6 MB / 0.5606 GB Notification: Performance of NFFlatten.flatten: time 0.0001421/0.2052, allocations: 99.5 kB / 0.7688 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of NFFlatten.resolveConnections: time 4.995e-05/0.2053, allocations: 7.938 kB / 0.7688 GB, free: 5.895 MB / 0.5606 GB Notification: Performance of NFEvalConstants.evaluate: time 7.796e-05/0.2053, allocations: 43.78 kB / 0.7689 GB, free: 5.852 MB / 0.5606 GB Notification: Performance of NFSimplifyModel.simplify: time 8.945e-05/0.2054, allocations: 43.83 kB / 0.7689 GB, free: 5.809 MB / 0.5606 GB Notification: Performance of NFPackage.collectConstants: time 1.652e-05/0.2055, allocations: 3.984 kB / 0.7689 GB, free: 5.805 MB / 0.5606 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0001777/0.2056, allocations: 91.84 kB / 0.769 GB, free: 5.715 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 8.245e-05/0.2057, allocations: 55.8 kB / 0.7691 GB, free: 5.66 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 7.103e-05/0.2058, allocations: 63.56 kB / 0.7691 GB, free: 5.598 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.0002322/0.2061, allocations: 179.4 kB / 0.7693 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.481e-06/0.2061, allocations: 0 / 0.7693 GB, free: 5.422 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.764e-06/0.2061, allocations: 3.938 kB / 0.7693 GB, free: 5.418 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 7.644e-06/0.2061, allocations: 4 kB / 0.7693 GB, free: 5.414 MB / 0.5606 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.0005515/0.2066, allocations: 482.2 kB / 0.7698 GB, free: 4.895 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 3.674e-05/0.2067, allocations: 15.97 kB / 0.7698 GB, free: 4.879 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.681e-05/0.2067, allocations: 20.75 kB / 0.7698 GB, free: 4.859 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001518/0.2069, allocations: 211.7 kB / 0.77 GB, free: 4.613 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.138e-05/0.2069, allocations: 8.375 kB / 0.77 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.071e-05/0.2069, allocations: 384 / 0.77 GB, free: 4.605 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001657/0.2071, allocations: 50.23 kB / 0.7701 GB, free: 4.551 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.2071, allocations: 7.938 kB / 0.7701 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.285e-06/0.2071, allocations: 0 / 0.7701 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.2071, allocations: 0 / 0.7701 GB, free: 4.543 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001732/0.2073, allocations: 43.95 kB / 0.7701 GB, free: 4.5 MB / 0.5606 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004518/0.2078, allocations: 320.8 kB / 0.7704 GB, free: 4.137 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.2079, allocations: 46.48 kB / 0.7705 GB, free: 4.082 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 9.004e-05/0.208, allocations: 28.89 kB / 0.7705 GB, free: 4.051 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 3.918e-05/0.2081, allocations: 4 kB / 0.7705 GB, free: 4.047 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.727e-05/0.2081, allocations: 42.55 kB / 0.7705 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=2): time 1.192e-06/0.2081, allocations: 0 / 0.7705 GB, free: 3.996 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2): time 0.0003629/0.2085, allocations: 109.3 kB / 0.7706 GB, free: 3.883 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.612e-05/0.2085, allocations: 51.41 kB / 0.7707 GB, free: 3.82 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000257/0.2088, allocations: 258.7 kB / 0.7709 GB, free: 3.562 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 1.338e-05/0.2088, allocations: 25.7 kB / 0.771 GB, free: 3.531 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 8.298e-05/0.2089, allocations: 136.2 kB / 0.7711 GB, free: 3.395 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 1.72e-05/0.2089, allocations: 3.906 kB / 0.7711 GB, free: 3.391 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.215e-05/0.2089, allocations: 17.7 kB / 0.7711 GB, free: 3.367 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001445/0.2091, allocations: 326.8 kB / 0.7714 GB, free: 3.039 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 8.484e-05/0.2092, allocations: 23.97 kB / 0.7714 GB, free: 3.016 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 7.01e-05/0.2093, allocations: 15.98 kB / 0.7715 GB, free: 3 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001544/0.2094, allocations: 52.88 kB / 0.7715 GB, free: 2.945 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.739e-06/0.2094, allocations: 11.88 kB / 0.7715 GB, free: 2.934 MB / 0.5606 GB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0002085/0.2097, allocations: 85.41 kB / 0.7716 GB, free: 2.844 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 1.579e-05/0.2097, allocations: 8 kB / 0.7716 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.2097, allocations: 0 / 0.7716 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.2097, allocations: 0 / 0.7716 GB, free: 2.836 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.735e-05/0.2098, allocations: 8.031 kB / 0.7716 GB, free: 2.828 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.015e-06/0.2098, allocations: 7.984 kB / 0.7716 GB, free: 2.82 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.964e-05/0.2099, allocations: 4 kB / 0.7716 GB, free: 2.816 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.971e-06/0.2099, allocations: 0 / 0.7716 GB, free: 2.816 MB / 0.5606 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.0001018/0.21, allocations: 142.3 kB / 0.7718 GB, free: 2.668 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.167e-05/0.21, allocations: 19.72 kB / 0.7718 GB, free: 2.648 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002497/0.2103, allocations: 102.5 kB / 0.7719 GB, free: 2.539 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.107e-06/0.2103, allocations: 4 kB / 0.7719 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.116e-06/0.2103, allocations: 0 / 0.7719 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.154e-06/0.2103, allocations: 0 / 0.7719 GB, free: 2.535 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001946/0.2105, allocations: 209.6 kB / 0.7721 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.2105, allocations: 0 / 0.7721 GB, free: 2.281 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.225e-05/0.2106, allocations: 11.98 kB / 0.7721 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.053e-06/0.2106, allocations: 0 / 0.7721 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.2106, allocations: 0 / 0.7721 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.062e-06/0.2106, allocations: 0 / 0.7721 GB, free: 2.27 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.164e-06/0.2106, allocations: 4.031 kB / 0.7721 GB, free: 2.266 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002459/0.2109, allocations: 191.2 kB / 0.7723 GB, free: 2.062 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 5.169e-05/0.2109, allocations: 92.83 kB / 0.7724 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.011e-05/0.2109, allocations: 0 / 0.7724 GB, free: 1.953 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.485e-05/0.211, allocations: 11.92 kB / 0.7724 GB, free: 1.941 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.913e-05/0.2111, allocations: 4 kB / 0.7724 GB, free: 1.938 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.216e-06/0.2111, allocations: 4.031 kB / 0.7724 GB, free: 1.934 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0001596/0.2113, allocations: 189.9 kB / 0.7726 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of sort global known variables: time 1.5e-07/0.2113, allocations: 0 / 0.7726 GB, free: 1.746 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.0002655/0.2115, allocations: 32 kB / 0.7726 GB, free: 1.715 MB / 0.5606 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.0001735/0.2117, allocations: 119.2 kB / 0.7727 GB, free: 1.59 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.0002126/0.2119, allocations: 47.95 kB / 0.7728 GB, free: 1.543 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.2119, allocations: 4.062 kB / 0.7728 GB, free: 1.539 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 8.431e-05/0.212, allocations: 23.98 kB / 0.7728 GB, free: 1.516 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004159/0.2125, allocations: 50.2 kB / 0.7728 GB, free: 1.469 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004899/0.213, allocations: 322.4 kB / 0.7731 GB, free: 1.125 MB / 0.5606 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002941/0.2133, allocations: 0.7314 MB / 0.7739 GB, free: 376 kB / 0.5606 GB Notification: Performance of simCode: alias equations: time 3.573e-05/0.2133, allocations: 7.75 kB / 0.7739 GB, free: 368 kB / 0.5606 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.883e-05/0.2133, allocations: 11.38 kB / 0.7739 GB, free: 356 kB / 0.5606 GB Notification: Performance of SimCode: time 3.21e-07/0.2133, allocations: 4 kB / 0.7739 GB, free: 352 kB / 0.5606 GB Notification: Performance of Templates: time 0.3271/0.5404, allocations: 1.787 MB / 0.7756 GB, free: 14.3 MB / 0.5606 GB 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)