Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.conf.json 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/IBPSA 3.0.0-master/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IBPSA with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/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) Running command: translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") translateModel(IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00137/0.00137, allocations: 175.7 kB / 16.76 MB, free: 5.027 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4962/0.4962, allocations: 86.28 MB / 103.8 MB, free: 14.55 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.361/1.361, allocations: 223.2 MB / 348.4 MB, free: 4.949 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008406/0.0008408, allocations: 95.39 kB / 420.2 MB, free: 9.633 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004084/0.0004084, allocations: 12 kB / 0.4901 GB, free: 7.988 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3453/0.3457, allocations: 71.02 MB / 0.5594 GB, free: 43.76 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.9405/1.286, allocations: 404 MB / 0.954 GB, free: 227.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000219/1.286, allocations: 91.02 kB / 0.9541 GB, free: 227.7 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.976/4.263, allocations: 0.971 GB / 1.925 GB, free: 45.57 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.503e-06/4.263, allocations: 0 / 1.925 GB, free: 45.57 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 0.0002595/4.263, allocations: 53.23 kB / 1.925 GB, free: 45.57 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 343 * Number of variables: 343 Notification: Performance of Generate backend data structure: time 0.006834/4.27, allocations: 2.68 MB / 1.928 GB, free: 44.43 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/4.27, allocations: 10.09 kB / 1.928 GB, free: 44.43 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009828/4.271, allocations: 262.7 kB / 1.928 GB, free: 44.3 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02734/4.299, allocations: 13.91 MB / 1.942 GB, free: 43.28 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001177/4.299, allocations: 102.6 kB / 1.942 GB, free: 43.27 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0004553/4.299, allocations: 142 kB / 1.942 GB, free: 43.27 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003168/4.302, allocations: 1.461 MB / 1.943 GB, free: 43.01 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 6.036e-05/4.302, allocations: 10.48 kB / 1.943 GB, free: 43.01 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000186/4.303, allocations: 52.12 kB / 1.943 GB, free: 43.01 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.555e-05/4.303, allocations: 37.5 kB / 1.943 GB, free: 43.01 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001974/4.305, allocations: 0.998 MB / 1.944 GB, free: 43 MB / 0.6198 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009038/4.314, allocations: 8.029 MB / 1.952 GB, free: 38.19 MB / 0.6198 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001353/4.315, allocations: 0.7559 MB / 1.953 GB, free: 38.16 MB / 0.6198 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005382/4.316, allocations: 364 kB / 1.953 GB, free: 38.15 MB / 0.6198 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001693/4.317, allocations: 2.829 MB / 1.956 GB, free: 34.96 MB / 0.6198 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.614e-05/4.317, allocations: 42.81 kB / 1.956 GB, free: 34.92 MB / 0.6198 GB Notification: Performance of pre-optimization done (n=83): time 4.218e-06/4.317, allocations: 2.344 kB / 1.956 GB, free: 34.92 MB / 0.6198 GB Notification: Performance of matching and sorting (n=83): time 0.002287/4.32, allocations: 1.116 MB / 1.957 GB, free: 34.76 MB / 0.6198 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.119e-05/4.32, allocations: 59.62 kB / 1.957 GB, free: 34.7 MB / 0.6198 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002743/4.323, allocations: 1.568 MB / 1.959 GB, free: 34.47 MB / 0.6198 GB Notification: Performance of collectPreVariables (initialization): time 0.0001168/4.323, allocations: 42.14 kB / 1.959 GB, free: 34.44 MB / 0.6198 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008033/4.323, allocations: 0.9369 MB / 1.96 GB, free: 34.11 MB / 0.6198 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003028/4.324, allocations: 301.8 kB / 1.96 GB, free: 33.92 MB / 0.6198 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.179e-05/4.324, allocations: 21.97 kB / 1.96 GB, free: 33.92 MB / 0.6198 GB Notification: Performance of setup shared object (initialization): time 0.0001059/4.324, allocations: 349.5 kB / 1.96 GB, free: 33.62 MB / 0.6198 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006078/4.325, allocations: 315.5 kB / 1.961 GB, free: 33.62 MB / 0.6198 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007895/4.325, allocations: 0.7186 MB / 1.961 GB, free: 33.14 MB / 0.6198 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001372/4.327, allocations: 1.073 MB / 1.962 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.353e-05/4.327, allocations: 3.844 kB / 1.962 GB, free: 32.71 MB / 0.6198 GB Notification: Performance of matching and sorting (n=144) (initialization): time 0.002477/4.329, allocations: 1.241 MB / 1.964 GB, free: 32.56 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002514/4.33, allocations: 442.5 kB / 1.964 GB, free: 32.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.509e-05/4.33, allocations: 15.78 kB / 1.964 GB, free: 32.06 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.386e-05/4.33, allocations: 15.72 kB / 1.964 GB, free: 32.06 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007664/4.33, allocations: 261.6 kB / 1.964 GB, free: 32.06 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.206e-05/4.33, allocations: 36.53 kB / 1.964 GB, free: 32.06 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001729/4.332, allocations: 206.3 kB / 1.965 GB, free: 31.99 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001504/4.332, allocations: 66.27 kB / 1.965 GB, free: 31.99 MB / 0.6198 GB Notification: Performance of prepare postOptimizeDAE: time 9.467e-06/4.332, allocations: 3.844 kB / 1.965 GB, free: 31.99 MB / 0.6198 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001743/4.334, allocations: 1.042 MB / 1.966 GB, free: 31.97 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.886e-05/4.334, allocations: 14.62 kB / 1.966 GB, free: 31.97 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.777e-05/4.334, allocations: 23.53 kB / 1.966 GB, free: 31.96 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007235/4.335, allocations: 262.6 kB / 1.966 GB, free: 31.96 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.611e-05/4.335, allocations: 29.91 kB / 1.966 GB, free: 31.96 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001529/4.336, allocations: 169.7 kB / 1.966 GB, free: 31.91 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001448/4.337, allocations: 73.08 kB / 1.966 GB, free: 31.91 MB / 0.6198 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 52 * 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 (140): * Single equations (assignments): 136 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 0.0009829/4.338, allocations: 478.5 kB / 1.967 GB, free: 31.71 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004675/4.338, allocations: 192 kB / 1.967 GB, free: 31.61 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00315/4.341, allocations: 1.687 MB / 1.968 GB, free: 31.51 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-05/4.341, allocations: 22.67 kB / 1.968 GB, free: 31.51 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.816e-06/4.341, allocations: 0 / 1.968 GB, free: 31.51 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001496/4.343, allocations: 1.139 MB / 1.97 GB, free: 31.32 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005967/4.349, allocations: 3.406 MB / 1.973 GB, free: 30.63 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.838e-05/4.349, allocations: 15.11 kB / 1.973 GB, free: 30.63 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006665/4.35, allocations: 203.1 kB / 1.973 GB, free: 30.63 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.499e-05/4.35, allocations: 7.781 kB / 1.973 GB, free: 30.63 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.456e-05/4.35, allocations: 48.45 kB / 1.973 GB, free: 30.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.387e-05/4.35, allocations: 21.38 kB / 1.973 GB, free: 30.63 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-06/4.35, allocations: 7.219 kB / 1.973 GB, free: 30.63 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003101/4.353, allocations: 2.197 MB / 1.975 GB, free: 30.12 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001072/4.354, allocations: 454.9 kB / 1.976 GB, free: 29.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005296/4.354, allocations: 30.06 kB / 1.976 GB, free: 29.89 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001344/4.356, allocations: 102.7 kB / 1.976 GB, free: 29.88 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/4.356, allocations: 114.6 kB / 1.976 GB, free: 29.88 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001827/4.356, allocations: 61.64 kB / 1.976 GB, free: 29.88 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.002198/4.358, allocations: 1.045 MB / 1.977 GB, free: 29.73 MB / 0.6198 GB Notification: Performance of sort global known variables: time 3.71e-07/4.358, allocations: 2.031 kB / 1.977 GB, free: 29.73 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.004597/4.363, allocations: 1.154 MB / 1.978 GB, free: 29.57 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 26 * Number of states: 6 (pip.del.x,pip.timDel.x,pip.vol_b.dynBal.U,pip.vol_a.dynBal.U,pipNoMix.del.x,pipNoMix.timDel.x) * 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 (128): * Single equations (assignments): 101 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 27 * 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.002586/4.366, allocations: 1.277 MB / 1.979 GB, free: 29.26 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.002947/4.369, allocations: 1.795 MB / 1.981 GB, free: 28.98 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 9.488e-06/4.369, allocations: 5.062 kB / 1.981 GB, free: 28.98 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.0011/4.37, allocations: 0.7952 MB / 1.982 GB, free: 28.85 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006271/4.376, allocations: 0.9103 MB / 1.983 GB, free: 28.84 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/4.383, allocations: 4.473 MB / 1.987 GB, free: 26.73 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001003/4.384, allocations: 1.435 MB / 1.989 GB, free: 25.97 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.002369/4.386, allocations: 0.5287 MB / 1.989 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000466/4.387, allocations: 182.7 kB / 1.989 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of SimCode: time 8.81e-07/4.387, allocations: 0 / 1.989 GB, free: 25.89 MB / 0.6198 GB Notification: Performance of Templates: time 0.06341/4.45, allocations: 44.51 MB / 2.033 GB, free: 22.56 MB / 0.6198 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.makefile (rm -f IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.sim & ./IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.FixedResistances.Examples.PlugFlowPipe.pipe 2>&1)