Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 106 kB / 16.27 MB, free: 6.41 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001214/0.001214, allocations: 184.1 kB / 17.2 MB, free: 5.953 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.294/1.294, allocations: 222.9 MB / 240.9 MB, free: 15.23 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7354/0.7354, allocations: 122.9 MB / 413.9 MB, free: 15.93 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001299/0.001299, allocations: 71.88 kB / 0.4912 GB, free: 7.348 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3114/0.3127, allocations: 77.91 MB / 0.5673 GB, free: 32.83 MB / 446.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Sensors.Examples.TraceSubstances): time 0.4769/0.7896, allocations: 195.1 MB / 0.7578 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01494/0.8046, allocations: 14.33 MB / 0.7718 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001242/0.8059, allocations: 37.94 kB / 0.7718 GB, free: 1.703 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001325/0.8072, allocations: 0.4943 MB / 0.7723 GB, free: 1.699 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004205/0.8114, allocations: 1.885 MB / 0.7741 GB, free: 1.625 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.002239/0.8137, allocations: 0.8631 MB / 0.775 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.002876/0.8166, allocations: 2.566 MB / 0.7775 GB, free: 1.602 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001447/0.818, allocations: 1.119 MB / 0.7786 GB, free: 1.48 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004145/0.8222, allocations: 1.604 MB / 0.7801 GB, free: 1.445 MB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001552/0.8238, allocations: 0.9235 MB / 0.781 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002914/0.8241, allocations: 108.3 kB / 0.7811 GB, free: 1.441 MB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002247/0.8263, allocations: 1.096 MB / 0.7822 GB, free: 1.43 MB / 0.5762 GB Notification: Performance of NFScalarize.scalarize: time 0.0005315/0.8269, allocations: 0.4893 MB / 0.7827 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFVerifyModel.verify: time 0.001003/0.8279, allocations: 0.6362 MB / 0.7833 GB, free: 1.426 MB / 0.5762 GB Notification: Performance of NFConvertDAE.convert: time 0.002133/0.83, allocations: 1.884 MB / 0.7851 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.83, allocations: 0 / 0.7851 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of FrontEnd: time 1.212e-06/0.83, allocations: 0 / 0.7851 GB, free: 1.316 MB / 0.5762 GB Notification: Performance of Transformations before backend: time 1.586e-05/0.83, allocations: 1 kB / 0.7851 GB, free: 1.316 MB / 0.5762 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.001894/0.8319, allocations: 1.453 MB / 0.7866 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 3.319e-05/0.832, allocations: 7.562 kB / 0.7866 GB, free: 16.54 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001554/0.8321, allocations: 146.1 kB / 0.7867 GB, free: 16.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001275/0.8334, allocations: 254.1 kB / 0.7869 GB, free: 16.44 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00101/0.8345, allocations: 0.7533 MB / 0.7877 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.94e-05/0.8345, allocations: 67.75 kB / 0.7877 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001201/0.8346, allocations: 99.19 kB / 0.7878 GB, free: 16.12 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001382/0.836, allocations: 1.17 MB / 0.789 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.272e-05/0.8361, allocations: 5 kB / 0.789 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.174e-05/0.8362, allocations: 42.66 kB / 0.789 GB, free: 15.89 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.476e-05/0.8362, allocations: 37.45 kB / 0.7891 GB, free: 15.88 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001139/0.8373, allocations: 0.904 MB / 0.79 GB, free: 15.88 MB / 0.5919 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.004757/0.8421, allocations: 5.766 MB / 0.7956 GB, free: 12.11 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007395/0.8429, allocations: 0.5458 MB / 0.7961 GB, free: 12.08 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000361/0.8432, allocations: 315.5 kB / 0.7964 GB, free: 12.07 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005809/0.8438, allocations: 308.6 kB / 0.7967 GB, free: 11.79 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.075e-05/0.8439, allocations: 39.03 kB / 0.7967 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=49): time 2.044e-06/0.8439, allocations: 0 / 0.7967 GB, free: 11.75 MB / 0.5919 GB Notification: Performance of matching and sorting (n=49): time 0.001323/0.8452, allocations: 0.8072 MB / 0.7975 GB, free: 11.66 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.491e-05/0.8452, allocations: 57.03 kB / 0.7976 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007327/0.846, allocations: 0.7504 MB / 0.7983 GB, free: 11.46 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 4.639e-05/0.846, allocations: 35.58 kB / 0.7984 GB, free: 11.43 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002923/0.8463, allocations: 0.5115 MB / 0.7989 GB, free: 11.18 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001381/0.8465, allocations: 177.6 kB / 0.799 GB, free: 11.07 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001775/0.8467, allocations: 142.6 kB / 0.7992 GB, free: 11.05 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001102/0.8468, allocations: 332 kB / 0.7995 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003206/0.8471, allocations: 249.1 kB / 0.7997 GB, free: 10.75 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005523/0.8477, allocations: 0.5572 MB / 0.8003 GB, free: 10.39 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008565/0.8485, allocations: 0.7977 MB / 0.801 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.84e-06/0.8486, allocations: 3.156 kB / 0.801 GB, free: 10.11 MB / 0.5919 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001057/0.8496, allocations: 0.8515 MB / 0.8019 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 1.636e-05/0.8496, allocations: 8.156 kB / 0.8019 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.075e-05/0.8497, allocations: 8.5 kB / 0.8019 GB, free: 10.02 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.08e-05/0.8497, allocations: 15.62 kB / 0.8019 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005007/0.8502, allocations: 152.8 kB / 0.802 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.433e-05/0.8502, allocations: 19.11 kB / 0.8021 GB, free: 10.01 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006897/0.8509, allocations: 91.48 kB / 0.8022 GB, free: 9.965 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.156e-05/0.851, allocations: 36.62 kB / 0.8022 GB, free: 9.965 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 36 * 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 (86): * Single equations (assignments): 86 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0003715/0.8513, allocations: 330.8 kB / 0.8025 GB, free: 9.848 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001248/0.8515, allocations: 87.08 kB / 0.8026 GB, free: 9.805 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008825/0.8524, allocations: 0.6149 MB / 0.8032 GB, free: 9.75 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.075e-06/0.8524, allocations: 9.844 kB / 0.8032 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.749e-06/0.8524, allocations: 0 / 0.8032 GB, free: 9.746 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006739/0.8531, allocations: 0.5223 MB / 0.8037 GB, free: 9.676 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002072/0.8552, allocations: 1.667 MB / 0.8053 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.476e-06/0.8552, allocations: 2.75 kB / 0.8053 GB, free: 9.293 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004879/0.8557, allocations: 116.2 kB / 0.8054 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.943e-06/0.8557, allocations: 4.719 kB / 0.8055 GB, free: 9.289 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.313e-05/0.8557, allocations: 16.28 kB / 0.8055 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.8557, allocations: 5.906 kB / 0.8055 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.275e-06/0.8557, allocations: 2.469 kB / 0.8055 GB, free: 9.285 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001136/0.8569, allocations: 1.018 MB / 0.8065 GB, free: 9.043 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002874/0.8572, allocations: 224 kB / 0.8067 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001049/0.8573, allocations: 14.59 kB / 0.8067 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004497/0.8577, allocations: 12.7 kB / 0.8067 GB, free: 8.902 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.847e-05/0.8578, allocations: 41.11 kB / 0.8068 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.399e-05/0.8579, allocations: 16.16 kB / 0.8068 GB, free: 8.898 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0005349/0.8584, allocations: 0.5123 MB / 0.8073 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of sort global known variables: time 1.41e-07/0.8584, allocations: 0 / 0.8073 GB, free: 8.805 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.0008319/0.8592, allocations: 303.5 kB / 0.8076 GB, free: 8.762 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,vol.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 (49): * Single equations (assignments): 49 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001834/0.8611, allocations: 1.672 MB / 0.8092 GB, free: 7.973 MB / 0.5919 GB Notification: Performance of simCode: created initialization part: time 0.001077/0.8622, allocations: 0.7099 MB / 0.8099 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of simCode: created event and clocks part: time 3.707e-06/0.8622, allocations: 4.5 kB / 0.8099 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of simCode: created simulation system equations: time 0.0003314/0.8625, allocations: 270.8 kB / 0.8101 GB, free: 7.957 MB / 0.5919 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00186/0.8644, allocations: 455.9 kB / 0.8106 GB, free: 7.898 MB / 0.5919 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008181/0.8726, allocations: 7.504 MB / 0.8179 GB, free: 4.688 MB / 0.5919 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006253/0.8732, allocations: 1.122 MB / 0.819 GB, free: 3.977 MB / 0.5919 GB Notification: Performance of simCode: alias equations: time 0.0008453/0.8741, allocations: 265.6 kB / 0.8193 GB, free: 3.934 MB / 0.5919 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003985/0.8745, allocations: 361.3 kB / 0.8196 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of SimCode: time 5.11e-07/0.8745, allocations: 0 / 0.8196 GB, free: 3.922 MB / 0.5919 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04602/0.9205, allocations: 22.87 MB / 0.8419 GB, free: 1.387 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.784/8.705, allocations: 5.422 kB / 0.8419 GB, free: 1.383 MB / 0.6075 GB (rm -f IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances_res.csv --start-time 0 --stop-time 7200 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 2.88 IBPSA_latest_IBPSA_Fluid_Sensors_Examples_TraceSubstances.fmu > IBPSA_latest_IBPSA.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)