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.001138/0.001138, allocations: 179.2 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.472/0.472, allocations: 90.8 MB / 104.5 MB, free: 9.797 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.252/1.252, allocations: 221.3 MB / 348.3 MB, free: 464 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009799/0.00098, allocations: 100.5 kB / 421.2 MB, free: 5.484 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.649e-05/3.659e-05, allocations: 3.984 kB / 0.4897 GB, free: 5.27 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3677/0.3677, allocations: 72.3 MB / 0.5603 GB, free: 40.43 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 4.085/4.453, allocations: 1.933 GB / 2.493 GB, free: 92 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002439/4.453, allocations: 90.58 kB / 2.494 GB, free: 91.91 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 7.25/11.7, allocations: 2.071 GB / 4.565 GB, free: 55.45 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.223e-06/11.7, allocations: 3.938 kB / 4.565 GB, free: 55.45 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0003846/11.7, allocations: 95.03 kB / 4.565 GB, free: 55.45 MB / 0.698 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.01022/11.71, allocations: 3.487 MB / 4.568 GB, free: 54.29 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/11.71, allocations: 11.53 kB / 4.568 GB, free: 54.29 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.001185/11.71, allocations: 385.6 kB / 4.569 GB, free: 54.24 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.006532/11.72, allocations: 0.9313 MB / 4.57 GB, free: 54.04 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.007663/11.73, allocations: 2.894 MB / 4.572 GB, free: 53.61 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0002232/11.73, allocations: 277.7 kB / 4.573 GB, free: 53.54 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005291/11.73, allocations: 297.5 kB / 4.573 GB, free: 53.54 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00533/11.74, allocations: 3.138 MB / 4.576 GB, free: 53.28 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 5.481e-05/11.74, allocations: 4.812 kB / 4.576 GB, free: 53.28 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002537/11.74, allocations: 114.3 kB / 4.576 GB, free: 53.28 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.533e-05/11.74, allocations: 104.3 kB / 4.576 GB, free: 53.27 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003848/11.74, allocations: 2.577 MB / 4.579 GB, free: 53.24 MB / 0.698 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.01638/11.76, allocations: 13.23 MB / 4.592 GB, free: 46.04 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002274/11.76, allocations: 1.622 MB / 4.593 GB, free: 46 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001332/11.76, allocations: 1.065 MB / 4.594 GB, free: 45.98 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004742/11.76, allocations: 331.7 kB / 4.595 GB, free: 45.7 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.254e-05/11.76, allocations: 55.94 kB / 4.595 GB, free: 45.66 MB / 0.698 GB Notification: Performance of pre-optimization done (n=182): time 3.987e-06/11.76, allocations: 0 / 4.595 GB, free: 45.66 MB / 0.698 GB Notification: Performance of matching and sorting (n=182): time 0.003785/11.76, allocations: 1.958 MB / 4.597 GB, free: 45.45 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.668e-05/11.76, allocations: 73.34 kB / 4.597 GB, free: 45.38 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002411/11.77, allocations: 1.69 MB / 4.598 GB, free: 45.16 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002275/11.77, allocations: 68.95 kB / 4.598 GB, free: 45.12 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007992/11.77, allocations: 1.409 MB / 4.6 GB, free: 44.59 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0005055/11.77, allocations: 0.6425 MB / 4.6 GB, free: 44.18 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.194e-05/11.77, allocations: 40.97 kB / 4.6 GB, free: 44.18 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.0001301/11.77, allocations: 391.3 kB / 4.601 GB, free: 43.87 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001024/11.77, allocations: 0.7592 MB / 4.602 GB, free: 43.86 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00132/11.77, allocations: 1.406 MB / 4.603 GB, free: 43.13 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001329/11.77, allocations: 1.032 MB / 4.604 GB, free: 43.1 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.508e-06/11.77, allocations: 6.219 kB / 4.604 GB, free: 43.1 MB / 0.698 GB Notification: Performance of matching and sorting (n=257) (initialization): time 0.003522/11.78, allocations: 2.413 MB / 4.606 GB, free: 42.89 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001132/11.78, allocations: 5.511 MB / 4.612 GB, free: 37.06 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.955e-05/11.78, allocations: 14.28 kB / 4.612 GB, free: 37.06 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.805e-05/11.78, allocations: 25 kB / 4.612 GB, free: 37.06 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002055/11.78, allocations: 0.5109 MB / 4.612 GB, free: 37.06 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001347/11.78, allocations: 4.158 MB / 4.616 GB, free: 32.96 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003211/11.78, allocations: 412.8 kB / 4.617 GB, free: 32.86 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001538/11.78, allocations: 88.45 kB / 4.617 GB, free: 32.86 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 9.388e-06/11.78, allocations: 3.344 kB / 4.617 GB, free: 32.86 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002974/11.79, allocations: 2.145 MB / 4.619 GB, free: 32.81 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.425e-05/11.79, allocations: 17.38 kB / 4.619 GB, free: 32.81 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/11.79, allocations: 28.53 kB / 4.619 GB, free: 32.81 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00154/11.79, allocations: 472 kB / 4.619 GB, free: 32.81 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.538e-05/11.79, allocations: 27.67 kB / 4.619 GB, free: 32.81 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003088/11.79, allocations: 397.4 kB / 4.62 GB, free: 32.71 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001391/11.79, allocations: 87.66 kB / 4.62 GB, free: 32.71 MB / 0.698 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.000433/11.79, allocations: 240.2 kB / 4.62 GB, free: 32.6 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003944/11.79, allocations: 269.8 kB / 4.62 GB, free: 32.47 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00304/11.8, allocations: 2.047 MB / 4.622 GB, free: 32.34 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.274e-05/11.8, allocations: 17.72 kB / 4.622 GB, free: 32.34 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.112e-06/11.8, allocations: 0 / 4.622 GB, free: 32.34 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.002104/11.8, allocations: 1.836 MB / 4.624 GB, free: 32.04 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007401/11.8, allocations: 5.111 MB / 4.629 GB, free: 31.5 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.903e-06/11.8, allocations: 5.531 kB / 4.629 GB, free: 31.5 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002091/11.81, allocations: 0.4964 MB / 4.63 GB, free: 31.5 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.488e-05/11.81, allocations: 9.844 kB / 4.63 GB, free: 31.5 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001161/11.81, allocations: 49.73 kB / 4.63 GB, free: 31.5 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001071/11.81, allocations: 4.125 MB / 4.634 GB, free: 27.41 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.499e-06/11.81, allocations: 7.266 kB / 4.634 GB, free: 27.4 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004888/11.81, allocations: 3.358 MB / 4.637 GB, free: 42.65 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001525/11.81, allocations: 0.5714 MB / 4.638 GB, free: 42.4 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003067/11.81, allocations: 46.77 kB / 4.638 GB, free: 42.39 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002006/11.82, allocations: 249 kB / 4.638 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001833/11.82, allocations: 113.3 kB / 4.638 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001183/11.82, allocations: 74.97 kB / 4.638 GB, free: 42.38 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001702/11.82, allocations: 1.288 MB / 4.639 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2e-07/11.82, allocations: 0 / 4.639 GB, free: 42.21 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00485/11.82, allocations: 2.141 MB / 4.641 GB, free: 41.97 MB / 0.7136 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.01075/11.83, allocations: 9.311 MB / 4.65 GB, free: 37.82 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.005849/11.84, allocations: 3.228 MB / 4.654 GB, free: 37.75 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 1.154e-05/11.84, allocations: 1.156 kB / 4.654 GB, free: 37.75 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001578/11.84, allocations: 0.9868 MB / 4.655 GB, free: 37.74 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007769/11.85, allocations: 1.573 MB / 4.656 GB, free: 37.7 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01023/11.86, allocations: 6.397 MB / 4.662 GB, free: 36.33 MB / 0.7136 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001703/11.86, allocations: 2.256 MB / 4.665 GB, free: 35.57 MB / 0.7136 GB Notification: Performance of simCode: alias equations: time 0.004596/11.87, allocations: 1.338 MB / 4.666 GB, free: 35.54 MB / 0.7136 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001712/11.87, allocations: 1.236 MB / 4.667 GB, free: 35.53 MB / 0.7136 GB Notification: Performance of SimCode: time 1.132e-06/11.87, allocations: 0 / 4.667 GB, free: 35.53 MB / 0.7136 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6553/12.52, allocations: 150.9 MB / 4.815 GB, free: 81.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001541/12.52, allocations: 219.8 kB / 4.815 GB, free: 81.71 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.006/19.53, allocations: 0 / 4.815 GB, free: 81.71 MB / 0.7292 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)