Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_IDEAS_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.00166/0.001659, allocations: 108 kB / 15.61 MB, free: 152 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002545/0.002545, allocations: 196 kB / 16.53 MB, free: 6.664 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.422/1.422, allocations: 222.9 MB / 240.2 MB, free: 4.406 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8259/0.8259, allocations: 132.2 MB / 422.6 MB, free: 1.809 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001328/0.001328, allocations: 64.69 kB / 0.5019 GB, free: 3.777 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4656/0.4669, allocations: 80.2 MB / 0.5802 GB, free: 4.578 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.2302/0.6972, allocations: 195.1 MB / 0.7707 GB, free: 13.76 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.01816/0.7154, allocations: 14.32 MB / 0.7847 GB, free: 15.39 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001647/0.7171, allocations: 35.81 kB / 0.7847 GB, free: 15.36 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.00166/0.7188, allocations: 0.489 MB / 0.7852 GB, free: 14.87 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.004931/0.7238, allocations: 1.889 MB / 0.787 GB, free: 12.97 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002512/0.7263, allocations: 0.8631 MB / 0.7879 GB, free: 12.11 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.004098/0.7304, allocations: 2.573 MB / 0.7904 GB, free: 9.531 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001915/0.7323, allocations: 1.111 MB / 0.7915 GB, free: 8.398 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005136/0.7375, allocations: 1.594 MB / 0.793 GB, free: 6.82 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002136/0.7396, allocations: 0.9204 MB / 0.7939 GB, free: 5.898 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0004767/0.7401, allocations: 111.9 kB / 0.794 GB, free: 5.789 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003421/0.7436, allocations: 1.091 MB / 0.7951 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.0009409/0.7445, allocations: 0.4987 MB / 0.7956 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.001559/0.7461, allocations: 0.6377 MB / 0.7962 GB, free: 3.555 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.004057/0.7502, allocations: 1.893 MB / 0.7981 GB, free: 1.656 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 8.345e-06/0.7502, allocations: 4 kB / 0.7981 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of FrontEnd: time 2.034e-06/0.7502, allocations: 0 / 0.7981 GB, free: 1.652 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 6.834e-05/0.7503, allocations: 0 / 0.7981 GB, free: 1.652 MB / 0.6231 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.003069/0.7533, allocations: 1.445 MB / 0.7995 GB, free: 156 kB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.921e-05/0.7534, allocations: 12.03 kB / 0.7995 GB, free: 144 kB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002873/0.7537, allocations: 143.7 kB / 0.7996 GB, free: 15.99 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001651/0.7554, allocations: 258.2 kB / 0.7999 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001377/0.7568, allocations: 0.7531 MB / 0.8006 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.121e-05/0.7568, allocations: 74 kB / 0.8007 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001565/0.757, allocations: 88 kB / 0.8008 GB, free: 14.79 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001837/0.7588, allocations: 1.177 MB / 0.8019 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.993e-05/0.7589, allocations: 3.938 kB / 0.8019 GB, free: 13.54 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.875e-05/0.759, allocations: 36 kB / 0.802 GB, free: 13.5 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.587e-05/0.759, allocations: 37.98 kB / 0.802 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001476/0.7605, allocations: 0.8976 MB / 0.8029 GB, free: 12.56 MB / 0.6387 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.006054/0.7666, allocations: 5.766 MB / 0.8085 GB, free: 6.336 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008377/0.7674, allocations: 0.5241 MB / 0.809 GB, free: 5.801 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004357/0.7679, allocations: 318.6 kB / 0.8093 GB, free: 5.488 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006073/0.7685, allocations: 311.7 kB / 0.8096 GB, free: 5.129 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.484e-05/0.7686, allocations: 39 kB / 0.8096 GB, free: 5.082 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 2.505e-06/0.7686, allocations: 4 kB / 0.8096 GB, free: 5.078 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001566/0.7701, allocations: 0.7948 MB / 0.8104 GB, free: 4.277 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.665e-05/0.7702, allocations: 67.78 kB / 0.8105 GB, free: 4.199 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009741/0.7712, allocations: 0.747 MB / 0.8112 GB, free: 3.445 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.38e-05/0.7713, allocations: 41.64 kB / 0.8113 GB, free: 3.398 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003604/0.7716, allocations: 0.5065 MB / 0.8118 GB, free: 2.883 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001643/0.7718, allocations: 189.3 kB / 0.8119 GB, free: 2.695 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002067/0.772, allocations: 146.6 kB / 0.8121 GB, free: 2.547 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001196/0.7721, allocations: 334 kB / 0.8124 GB, free: 2.215 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003668/0.7725, allocations: 241.9 kB / 0.8126 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006183/0.7731, allocations: 0.5605 MB / 0.8132 GB, free: 1.281 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001012/0.7742, allocations: 0.7995 MB / 0.814 GB, free: 384 kB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.073e-06/0.7742, allocations: 4 kB / 0.814 GB, free: 380 kB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.2972/1.071, allocations: 0.8334 MB / 0.8148 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.202e-05/1.071, allocations: 8.812 kB / 0.8148 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.886e-05/1.072, allocations: 12.14 kB / 0.8148 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.396e-05/1.072, allocations: 12.12 kB / 0.8148 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006372/1.072, allocations: 160.8 kB / 0.815 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.337e-05/1.072, allocations: 18.31 kB / 0.815 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008099/1.073, allocations: 87 kB / 0.8151 GB, free: 221.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.522e-05/1.073, allocations: 32.75 kB / 0.8151 GB, free: 221.6 MB / 0.6387 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.0004697/1.074, allocations: 332.5 kB / 0.8154 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001371/1.074, allocations: 85.66 kB / 0.8155 GB, free: 221.5 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009961/1.075, allocations: 0.6167 MB / 0.8161 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.019e-05/1.075, allocations: 7.406 kB / 0.8161 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.18e-06/1.075, allocations: 0 / 0.8161 GB, free: 221.4 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007085/1.075, allocations: 0.5141 MB / 0.8166 GB, free: 221.1 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002348/1.078, allocations: 1.664 MB / 0.8182 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.288e-06/1.078, allocations: 1.75 kB / 0.8182 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005554/1.078, allocations: 114.2 kB / 0.8183 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.987e-06/1.078, allocations: 15.53 kB / 0.8183 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.746e-05/1.078, allocations: 11.78 kB / 0.8184 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.293e-06/1.079, allocations: 3.875 kB / 0.8184 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.168e-06/1.079, allocations: 6.656 kB / 0.8184 GB, free: 220.3 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001351/1.08, allocations: 1.051 MB / 0.8194 GB, free: 219.8 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0002833/1.08, allocations: 229.8 kB / 0.8196 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001104/1.08, allocations: 10.55 kB / 0.8196 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000466/1.081, allocations: 16.7 kB / 0.8196 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.792e-05/1.081, allocations: 38.19 kB / 0.8197 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.949e-05/1.081, allocations: 20.23 kB / 0.8197 GB, free: 219.6 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006494/1.082, allocations: 0.5099 MB / 0.8202 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.41e-07/1.082, allocations: 0 / 0.8202 GB, free: 219.3 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009463/1.083, allocations: 295.9 kB / 0.8205 GB, free: 219.3 MB / 0.6387 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.U,vol.dynBal.m,vol.dynBal.mXi[1],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.001871/1.084, allocations: 1.728 MB / 0.8222 GB, free: 218.2 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001229/1.086, allocations: 0.7074 MB / 0.8229 GB, free: 218 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.817e-06/1.086, allocations: 0.9375 kB / 0.8229 GB, free: 218 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/1.086, allocations: 275.4 kB / 0.8231 GB, free: 217.9 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002005/1.088, allocations: 438.5 kB / 0.8235 GB, free: 217.8 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008724/1.097, allocations: 7.474 MB / 0.8308 GB, free: 213.5 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006228/1.097, allocations: 1.123 MB / 0.8319 GB, free: 212.8 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009933/1.098, allocations: 267.1 kB / 0.8322 GB, free: 212.7 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003976/1.099, allocations: 358.7 kB / 0.8325 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of SimCode: time 6.71e-07/1.099, allocations: 1.406 kB / 0.8325 GB, free: 212.5 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04278/1.142, allocations: 22.89 MB / 0.8549 GB, free: 196.8 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.877/9.018, allocations: 12.97 kB / 0.8549 GB, free: 196.8 MB / 0.6387 GB (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.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 IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)