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: "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001065/0.001065, allocations: 176.7 kB / 8.008 MB, free: 1.066 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5135/0.5135, allocations: 90.91 MB / 99.34 MB, free: 2.227 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.517/1.517, allocations: 221.5 MB / 343.2 MB, free: 1.609 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.0009506/0.0009505, allocations: 93.17 kB / 415.9 MB, free: 11.18 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 1.889e-05/1.891e-05, allocations: 4 kB / 494.6 MB, free: 52.31 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1396/0.1396, allocations: 72.31 MB / 0.5536 GB, free: 12.2 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.851/4.99, allocations: 1.933 GB / 2.486 GB, free: 225.3 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003245/4.991, allocations: 88.59 kB / 2.486 GB, free: 225.3 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.506/13.5, allocations: 2.049 GB / 4.535 GB, free: 51.23 MB / 0.6823 GB Notification: Performance of FrontEnd: time 3.467e-06/13.5, allocations: 2.812 kB / 4.535 GB, free: 51.23 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0005574/13.5, allocations: 103.5 kB / 4.535 GB, free: 51.21 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.01271/13.51, allocations: 3.485 MB / 4.539 GB, free: 49.72 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.057e-05/13.51, allocations: 9.344 kB / 4.539 GB, free: 49.72 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.007756/13.52, allocations: 0.9257 MB / 4.54 GB, free: 49.52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.009389/13.53, allocations: 2.897 MB / 4.543 GB, free: 48.94 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002827/13.53, allocations: 168.4 kB / 4.543 GB, free: 48.87 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.001197/13.53, allocations: 174.6 kB / 4.543 GB, free: 48.87 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.006933/13.54, allocations: 2.446 MB / 4.545 GB, free: 48.86 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.009431/13.55, allocations: 2.746 MB / 4.548 GB, free: 48.61 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 0.0001511/13.55, allocations: 10.25 kB / 4.548 GB, free: 48.61 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0009357/13.55, allocations: 3.375 kB / 4.548 GB, free: 48.61 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001329/13.55, allocations: 101.1 kB / 4.548 GB, free: 48.6 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.02113/13.57, allocations: 12.71 MB / 4.561 GB, free: 41.49 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002818/13.57, allocations: 1.587 MB / 4.562 GB, free: 41.45 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001499/13.57, allocations: 1.011 MB / 4.563 GB, free: 41.42 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005109/13.57, allocations: 325.9 kB / 4.563 GB, free: 41.14 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.243e-05/13.57, allocations: 62.31 kB / 4.563 GB, free: 41.1 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=182): time 3.767e-06/13.57, allocations: 0 / 4.563 GB, free: 41.1 MB / 0.6823 GB Notification: Performance of matching and sorting (n=182): time 0.004875/13.58, allocations: 1.866 MB / 4.565 GB, free: 40.89 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.261e-05/13.58, allocations: 78.05 kB / 4.565 GB, free: 40.82 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003146/13.58, allocations: 1.428 MB / 4.567 GB, free: 40.61 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0003256/13.58, allocations: 31.8 kB / 4.567 GB, free: 40.58 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.00121/13.58, allocations: 1.405 MB / 4.568 GB, free: 40.01 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0006819/13.58, allocations: 0.6155 MB / 4.569 GB, free: 39.6 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000123/13.58, allocations: 0 / 4.569 GB, free: 39.6 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001577/13.58, allocations: 389.7 kB / 4.569 GB, free: 39.3 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001132/13.58, allocations: 0.7279 MB / 4.57 GB, free: 39.29 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001493/13.59, allocations: 1.348 MB / 4.571 GB, free: 38.57 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001516/13.59, allocations: 0.986 MB / 4.572 GB, free: 38.54 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.901e-05/13.59, allocations: 7.25 kB / 4.572 GB, free: 38.54 MB / 0.6823 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003938/13.59, allocations: 2.236 MB / 4.574 GB, free: 38.34 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 0.001329/13.59, allocations: 5.484 MB / 4.58 GB, free: 32.5 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.078e-05/13.59, allocations: 17.09 kB / 4.58 GB, free: 32.5 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.444e-05/13.59, allocations: 26.62 kB / 4.58 GB, free: 32.5 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002402/13.6, allocations: 0.518 MB / 4.58 GB, free: 32.5 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00173/13.6, allocations: 4.177 MB / 4.584 GB, free: 28.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004289/13.6, allocations: 342 kB / 4.585 GB, free: 28.31 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004732/13.6, allocations: 97.33 kB / 4.585 GB, free: 28.31 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 1.557e-05/13.6, allocations: 2.969 kB / 4.585 GB, free: 28.31 MB / 0.6823 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004223/13.61, allocations: 1.927 MB / 4.587 GB, free: 28.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.489e-05/13.61, allocations: 16.14 kB / 4.587 GB, free: 28.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.794e-05/13.61, allocations: 24.69 kB / 4.587 GB, free: 28.26 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001851/13.61, allocations: 474 kB / 4.587 GB, free: 28.26 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.078e-05/13.61, allocations: 33.83 kB / 4.587 GB, free: 28.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004078/13.61, allocations: 330.9 kB / 4.587 GB, free: 28.18 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003578/13.61, allocations: 85.91 kB / 4.588 GB, free: 28.18 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.0009073/13.61, allocations: 158 kB / 4.588 GB, free: 28.07 MB / 0.6823 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.004225/13.62, allocations: 1.767 MB / 4.589 GB, free: 27.86 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001077/13.62, allocations: 264.9 kB / 4.59 GB, free: 27.73 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003706/13.62, allocations: 1.894 MB / 4.591 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.434e-05/13.62, allocations: 18.88 kB / 4.591 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.538e-06/13.62, allocations: 0 / 4.591 GB, free: 27.61 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002281/13.63, allocations: 1.743 MB / 4.593 GB, free: 27.3 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0105/13.64, allocations: 4.661 MB / 4.598 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.066e-05/13.64, allocations: 3.469 kB / 4.598 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002389/13.64, allocations: 0.4922 MB / 4.598 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.31e-05/13.64, allocations: 11.31 kB / 4.598 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001782/13.64, allocations: 27.47 kB / 4.598 GB, free: 26.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001332/13.64, allocations: 4.134 MB / 4.602 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.656e-06/13.64, allocations: 5 kB / 4.602 GB, free: 22.71 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004527/13.64, allocations: 3.212 MB / 4.605 GB, free: 21.97 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001909/13.65, allocations: 0.55 MB / 4.606 GB, free: 21.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000787/13.65, allocations: 16.84 kB / 4.606 GB, free: 21.72 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003226/13.65, allocations: 220.3 kB / 4.606 GB, free: 21.7 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002192/13.65, allocations: 119.3 kB / 4.606 GB, free: 21.7 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001954/13.65, allocations: 69.38 kB / 4.606 GB, free: 21.7 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001904/13.65, allocations: 1.063 MB / 4.607 GB, free: 21.55 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.392e-06/13.65, allocations: 0 / 4.607 GB, free: 21.55 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.006479/13.66, allocations: 1.929 MB / 4.609 GB, free: 21.28 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.01283/13.67, allocations: 9.612 MB / 4.619 GB, free: 17.12 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.006645/13.68, allocations: 3.067 MB / 4.622 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 1.939e-05/13.68, allocations: 3.938 kB / 4.622 GB, free: 17.07 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001907/13.68, allocations: 0.9409 MB / 4.623 GB, free: 17.06 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.008871/13.69, allocations: 1.45 MB / 4.624 GB, free: 17.03 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0153/13.7, allocations: 6.205 MB / 4.63 GB, free: 15.09 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002476/13.71, allocations: 2.254 MB / 4.632 GB, free: 14.29 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.006068/13.71, allocations: 1.266 MB / 4.634 GB, free: 14.15 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001984/13.72, allocations: 1.234 MB / 4.635 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of SimCode: time 1.182e-06/13.72, allocations: 0 / 4.635 GB, free: 14.14 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7617/14.48, allocations: 105.6 MB / 4.738 GB, free: 69.69 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002116/14.48, allocations: 167.4 kB / 4.738 GB, free: 69.5 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 6.256/20.73, allocations: 2.875 kB / 4.738 GB, free: 69.5 MB / 0.698 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource_fmu --startTime=0 --stopTime=600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Sources_Examples_TraceSubstancesFlowSource.fmu > IBPSA_latest_IBPSA.Fluid.Sources.Examples.TraceSubstancesFlowSource.pipe 2>&1)