Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.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.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") translateModel(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009661/0.0009662, allocations: 172.2 kB / 16.76 MB, free: 4.93 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 3.0.0-master/package.mo): time 0.4638/0.4638, allocations: 86.27 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.407/1.407, allocations: 223.2 MB / 348.4 MB, free: 4.969 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.000862/0.000862, allocations: 91.77 kB / 420.2 MB, free: 9.621 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0005319/0.000532, allocations: 15.98 kB / 0.4901 GB, free: 7.977 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4012/0.4017, allocations: 71.02 MB / 0.5594 GB, free: 43.73 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.681/5.083, allocations: 1.931 GB / 2.491 GB, free: 125.7 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002363/5.084, allocations: 95.94 kB / 2.491 GB, free: 125.6 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.405/12.49, allocations: 2.058 GB / 4.549 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.523e-06/12.49, allocations: 0 / 4.549 GB, free: 7.316 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004052/12.49, allocations: 91.92 kB / 4.549 GB, free: 7.227 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 693 * Number of variables: 693 Notification: Performance of Generate backend data structure: time 0.0156/12.5, allocations: 3.919 MB / 4.553 GB, free: 3.234 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.191e-05/12.5, allocations: 12.02 kB / 4.553 GB, free: 3.223 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006904/12.51, allocations: 0.9175 MB / 4.554 GB, free: 2.301 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.4555/12.97, allocations: 2.862 MB / 4.557 GB, free: 48.3 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004259/12.97, allocations: 282.2 kB / 4.557 GB, free: 48.23 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0008408/12.97, allocations: 292.3 kB / 4.557 GB, free: 48.23 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007419/12.98, allocations: 3.226 MB / 4.56 GB, free: 47.97 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.389e-05/12.98, allocations: 10.06 kB / 4.56 GB, free: 47.97 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0003146/12.98, allocations: 114.4 kB / 4.56 GB, free: 47.97 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.000157/12.98, allocations: 101.2 kB / 4.561 GB, free: 47.96 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004891/12.98, allocations: 2.646 MB / 4.563 GB, free: 47.93 MB / 0.6823 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.01574/13, allocations: 13.24 MB / 4.576 GB, free: 41.05 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002408/13, allocations: 1.8 MB / 4.578 GB, free: 41.02 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001374/13, allocations: 1.098 MB / 4.579 GB, free: 41 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004373/13, allocations: 328.7 kB / 4.579 GB, free: 40.72 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.537e-05/13, allocations: 67.41 kB / 4.579 GB, free: 40.67 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=186): time 4.809e-06/13, allocations: 0 / 4.579 GB, free: 40.67 MB / 0.6823 GB Notification: Performance of matching and sorting (n=186): time 0.00507/13.01, allocations: 2.726 MB / 4.582 GB, free: 40.45 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.301e-05/13.01, allocations: 73.59 kB / 4.582 GB, free: 40.39 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00279/13.01, allocations: 1.953 MB / 4.584 GB, free: 40.17 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003037/13.01, allocations: 72.42 kB / 4.584 GB, free: 40.14 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.001186/13.01, allocations: 1.399 MB / 4.585 GB, free: 39.75 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0007858/13.01, allocations: 0.6573 MB / 4.586 GB, free: 39.41 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001093/13.01, allocations: 45.62 kB / 4.586 GB, free: 39.41 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001596/13.01, allocations: 388.2 kB / 4.586 GB, free: 39.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001267/13.01, allocations: 0.7911 MB / 4.587 GB, free: 39.1 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001804/13.01, allocations: 1.473 MB / 4.589 GB, free: 38.36 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00314/13.02, allocations: 2.228 MB / 4.591 GB, free: 37.88 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.271e-05/13.02, allocations: 3.609 kB / 4.591 GB, free: 37.88 MB / 0.6823 GB Notification: Performance of matching and sorting (n=261) (initialization): time 0.004686/13.02, allocations: 2.478 MB / 4.593 GB, free: 37.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003591/13.02, allocations: 474.5 kB / 4.594 GB, free: 37.13 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.98e-05/13.02, allocations: 12.81 kB / 4.594 GB, free: 37.13 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 5.743e-05/13.02, allocations: 22.25 kB / 4.594 GB, free: 37.13 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002665/13.03, allocations: 0.5636 MB / 4.594 GB, free: 37.12 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001474/13.03, allocations: 4.155 MB / 4.598 GB, free: 33.03 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003965/13.03, allocations: 384.7 kB / 4.599 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/13.03, allocations: 90.44 kB / 4.599 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.384e-05/13.03, allocations: 3.906 kB / 4.599 GB, free: 32.98 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003476/13.03, allocations: 2.21 MB / 4.601 GB, free: 32.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.962e-05/13.03, allocations: 13.44 kB / 4.601 GB, free: 32.93 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.072e-05/13.03, allocations: 24.78 kB / 4.601 GB, free: 32.93 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001658/13.04, allocations: 482.2 kB / 4.601 GB, free: 32.93 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.744e-05/13.04, allocations: 27.72 kB / 4.601 GB, free: 32.93 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003658/13.04, allocations: 365.8 kB / 4.602 GB, free: 32.88 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001774/13.04, allocations: 90.41 kB / 4.602 GB, free: 32.88 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 56 * 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 (261): * Single equations (assignments): 254 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.002198/13.04, allocations: 0.8662 MB / 4.603 GB, free: 32.69 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0008419/13.04, allocations: 271.2 kB / 4.603 GB, free: 32.56 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003391/13.05, allocations: 2.116 MB / 4.605 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.511e-05/13.05, allocations: 18.31 kB / 4.605 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.097e-06/13.05, allocations: 7.688 kB / 4.605 GB, free: 32.44 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002369/13.05, allocations: 1.887 MB / 4.607 GB, free: 32.13 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00933/13.06, allocations: 5.174 MB / 4.612 GB, free: 31.62 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.074e-05/13.06, allocations: 6.969 kB / 4.612 GB, free: 31.62 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002202/13.06, allocations: 0.5123 MB / 4.612 GB, free: 31.62 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.585e-05/13.06, allocations: 9.156 kB / 4.612 GB, free: 31.62 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001268/13.06, allocations: 56.12 kB / 4.613 GB, free: 31.62 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001204/13.06, allocations: 4.123 MB / 4.617 GB, free: 27.53 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.137e-06/13.06, allocations: 5.906 kB / 4.617 GB, free: 27.53 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004939/13.07, allocations: 3.384 MB / 4.62 GB, free: 27.07 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001866/13.07, allocations: 0.5775 MB / 4.62 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004776/13.07, allocations: 40.12 kB / 4.62 GB, free: 26.84 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002392/13.07, allocations: 253.7 kB / 4.621 GB, free: 26.83 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002213/13.07, allocations: 119 kB / 4.621 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001248/13.07, allocations: 75.41 kB / 4.621 GB, free: 26.82 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002005/13.07, allocations: 1.299 MB / 4.622 GB, free: 26.68 MB / 0.6823 GB Notification: Performance of sort global known variables: time 3.2e-07/13.07, allocations: 0 / 4.622 GB, free: 26.68 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006837/13.08, allocations: 2.151 MB / 4.624 GB, free: 26.55 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 20 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],vol.dynBal.mC[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mXi[1],vol1.dynBal.mC[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mXi[1],vol2.dynBal.mC[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mXi[1],vol3.dynBal.mC[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mXi[1],vol4.dynBal.mC[1]) * 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 (186): * Single equations (assignments): 179 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 7 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 7 {1,1,1,1,1,1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00739/13.09, allocations: 4.776 MB / 4.629 GB, free: 24.31 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.00658/13.1, allocations: 3.314 MB / 4.632 GB, free: 24.26 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.305e-05/13.1, allocations: 1.938 kB / 4.632 GB, free: 24.26 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001716/13.1, allocations: 1.04 MB / 4.633 GB, free: 24.25 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.009478/13.11, allocations: 1.581 MB / 4.635 GB, free: 24.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01175/13.12, allocations: 7.865 MB / 4.642 GB, free: 21.16 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002798/13.12, allocations: 2.186 MB / 4.645 GB, free: 36.41 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004581/13.13, allocations: 1.11 MB / 4.646 GB, free: 36.38 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007583/13.13, allocations: 231.2 kB / 4.646 GB, free: 36.38 MB / 0.698 GB Notification: Performance of SimCode: time 2.875e-06/13.13, allocations: 3.312 kB / 4.646 GB, free: 36.38 MB / 0.698 GB Notification: Performance of Templates: time 0.1517/13.28, allocations: 100.2 MB / 4.744 GB, free: 30.78 MB / 0.698 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.makefile (rm -f IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.sim & ./IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)