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 4.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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.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.0009897/0.0009898, allocations: 177.6 kB / 8.002 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4911/0.4911, allocations: 90.91 MB / 99.34 MB, free: 2.215 MB / 74.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.521/1.521, allocations: 221.5 MB / 343.2 MB, free: 1.57 MB / 266.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009245/0.0009244, allocations: 91.25 kB / 416 MB, free: 11.15 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.979e-05/1.981e-05, allocations: 7.125 kB / 494.5 MB, free: 52.4 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1465/0.1466, allocations: 72.32 MB / 0.5535 GB, free: 12.27 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.665/4.812, allocations: 1.932 GB / 2.486 GB, free: 225.4 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002764/4.812, allocations: 87.77 kB / 2.486 GB, free: 225.4 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.465/12.28, allocations: 2.049 GB / 4.535 GB, free: 51.38 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.613e-06/12.28, allocations: 0 / 4.535 GB, free: 51.38 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0004628/12.28, allocations: 96.33 kB / 4.535 GB, free: 51.37 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.01288/12.29, allocations: 3.483 MB / 4.539 GB, free: 49.88 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.015e-05/12.29, allocations: 11.53 kB / 4.539 GB, free: 49.88 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00745/12.3, allocations: 0.9213 MB / 4.54 GB, free: 49.68 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009489/12.31, allocations: 2.894 MB / 4.543 GB, free: 49.09 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002848/12.31, allocations: 176.5 kB / 4.543 GB, free: 49.02 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001234/12.31, allocations: 171.4 kB / 4.543 GB, free: 49.02 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006032/12.31, allocations: 2.449 MB / 4.545 GB, free: 49.01 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007439/12.32, allocations: 2.75 MB / 4.548 GB, free: 48.76 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 7.115e-05/12.32, allocations: 8.656 kB / 4.548 GB, free: 48.76 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002813/12.32, allocations: 1.859 kB / 4.548 GB, free: 48.76 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.649e-05/12.32, allocations: 102.5 kB / 4.548 GB, free: 48.75 MB / 0.6823 GB Warning: The model contains alias variables with conflicting start and/or 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.01407/12.34, allocations: 12.71 MB / 4.561 GB, free: 41.64 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001954/12.34, allocations: 1.575 MB / 4.562 GB, free: 41.6 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001172/12.34, allocations: 1.009 MB / 4.563 GB, free: 41.58 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004641/12.34, allocations: 330.8 kB / 4.563 GB, free: 41.29 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.91e-05/12.34, allocations: 63.69 kB / 4.563 GB, free: 41.25 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=182): time 4.959e-06/12.34, allocations: 0 / 4.563 GB, free: 41.25 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182): time 0.003535/12.34, allocations: 1.871 MB / 4.565 GB, free: 41.05 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.504e-05/12.34, allocations: 73.89 kB / 4.565 GB, free: 40.98 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00203/12.35, allocations: 1.429 MB / 4.567 GB, free: 40.77 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0002214/12.35, allocations: 31.8 kB / 4.567 GB, free: 40.73 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008575/12.35, allocations: 1.403 MB / 4.568 GB, free: 40.17 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005647/12.35, allocations: 0.6163 MB / 4.569 GB, free: 39.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.31e-05/12.35, allocations: 3.312 kB / 4.569 GB, free: 39.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001276/12.35, allocations: 385.8 kB / 4.569 GB, free: 39.45 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009775/12.35, allocations: 0.725 MB / 4.57 GB, free: 39.44 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001373/12.35, allocations: 1.355 MB / 4.571 GB, free: 38.72 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001418/12.35, allocations: 0.9906 MB / 4.572 GB, free: 38.7 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.449e-05/12.35, allocations: 3.344 kB / 4.572 GB, free: 38.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003997/12.36, allocations: 2.229 MB / 4.574 GB, free: 38.49 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001511/12.36, allocations: 5.49 MB / 4.58 GB, free: 32.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.403e-05/12.36, allocations: 18.25 kB / 4.58 GB, free: 32.65 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.495e-05/12.36, allocations: 22.09 kB / 4.58 GB, free: 32.65 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002268/12.36, allocations: 0.5269 MB / 4.58 GB, free: 32.65 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001496/12.36, allocations: 4.174 MB / 4.584 GB, free: 28.55 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003618/12.36, allocations: 345.8 kB / 4.585 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002283/12.37, allocations: 89.31 kB / 4.585 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.354e-05/12.37, allocations: 4.531 kB / 4.585 GB, free: 28.46 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003055/12.37, allocations: 1.925 MB / 4.587 GB, free: 28.42 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.29e-05/12.37, allocations: 16.92 kB / 4.587 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.339e-05/12.37, allocations: 27.22 kB / 4.587 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001661/12.37, allocations: 470.6 kB / 4.587 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.224e-05/12.37, allocations: 30.83 kB / 4.587 GB, free: 28.41 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003696/12.37, allocations: 329.4 kB / 4.587 GB, free: 28.34 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002518/12.37, allocations: 88.44 kB / 4.587 GB, free: 28.34 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 59 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (257): * Single equations (assignments): 250 * 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.0006678/12.37, allocations: 154.9 kB / 4.588 GB, free: 28.23 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009428/12.38, allocations: 260.6 kB / 4.588 GB, free: 28.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003543/12.38, allocations: 1.908 MB / 4.59 GB, free: 27.97 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/12.38, allocations: 15.84 kB / 4.59 GB, free: 27.97 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.798e-06/12.38, allocations: 0 / 4.59 GB, free: 27.97 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002198/12.38, allocations: 1.736 MB / 4.591 GB, free: 27.67 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00904/12.39, allocations: 4.668 MB / 4.596 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.808e-06/12.39, allocations: 6.188 kB / 4.596 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002239/12.39, allocations: 0.4956 MB / 4.596 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 3.304e-05/12.39, allocations: 8.938 kB / 4.596 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001441/12.39, allocations: 28.55 kB / 4.597 GB, free: 27.16 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001218/12.39, allocations: 4.13 MB / 4.601 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.618e-06/12.39, allocations: 7.531 kB / 4.601 GB, free: 23.07 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004391/12.4, allocations: 3.216 MB / 4.604 GB, free: 22.32 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001965/12.4, allocations: 0.5523 MB / 4.604 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0007861/12.4, allocations: 13.5 kB / 4.604 GB, free: 22.08 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003093/12.4, allocations: 224.2 kB / 4.604 GB, free: 22.05 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002186/12.4, allocations: 116.2 kB / 4.605 GB, free: 22.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002002/12.41, allocations: 72.5 kB / 4.605 GB, free: 22.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.002405/12.41, allocations: 1.062 MB / 4.606 GB, free: 21.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/12.41, allocations: 2.875 kB / 4.606 GB, free: 21.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.007048/12.41, allocations: 1.921 MB / 4.608 GB, free: 21.63 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.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.dynBal.mC[1],vol1.dynBal.medium.Xi[1],vol1.dynBal.U,vol1.dynBal.m,vol1.dynBal.mC[1],vol2.dynBal.medium.Xi[1],vol2.dynBal.U,vol2.dynBal.m,vol2.dynBal.mC[1],vol3.dynBal.medium.Xi[1],vol3.dynBal.U,vol3.dynBal.m,vol3.dynBal.mC[1],vol4.dynBal.medium.Xi[1],vol4.dynBal.U,vol4.dynBal.m,vol4.dynBal.mC[1]) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (182): * Single equations (assignments): 175 * 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.007504/12.42, allocations: 5.197 MB / 4.613 GB, free: 19.37 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006451/12.43, allocations: 3.067 MB / 4.616 GB, free: 19.29 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.39e-05/12.43, allocations: 0 / 4.616 GB, free: 19.29 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00171/12.43, allocations: 0.9481 MB / 4.617 GB, free: 19.24 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008626/12.44, allocations: 1.442 MB / 4.618 GB, free: 19.21 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01046/12.45, allocations: 5.455 MB / 4.623 GB, free: 17.37 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002278/12.45, allocations: 2.259 MB / 4.625 GB, free: 16.57 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.005464/12.46, allocations: 1.268 MB / 4.627 GB, free: 16.44 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006241/12.46, allocations: 173.6 kB / 4.627 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of SimCode: time 8.61e-07/12.46, allocations: 0 / 4.627 GB, free: 16.43 MB / 0.6823 GB Notification: Performance of Templates: time 0.6207/13.08, allocations: 73.22 MB / 4.698 GB, free: 70.76 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)