Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.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(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Sensors.Examples.TraceSubstances,fileNamePrefix="IDEAS_dev_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.0008251/0.0008252, allocations: 86.8 kB / 15.06 MB, free: 1.09 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.0009003/0.0009003, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.437/1.437, allocations: 223.2 MB / 240 MB, free: 5.434 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.017/1.017, allocations: 135.3 MB / 426.4 MB, free: 14.24 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003228/0.0003229, allocations: 13.09 kB / 0.5071 GB, free: 5 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1702/0.1705, allocations: 82.31 MB / 0.5875 GB, free: 2.859 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.4791/0.6497, allocations: 177.5 MB / 0.7608 GB, free: 11.34 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01585/0.6655, allocations: 13.31 MB / 0.7738 GB, free: 14 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00114/0.6667, allocations: 27.81 kB / 0.7738 GB, free: 13.97 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001208/0.6679, allocations: 345.8 kB / 0.7742 GB, free: 13.63 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003885/0.6718, allocations: 1.365 MB / 0.7755 GB, free: 12.26 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.002023/0.6739, allocations: 0.6642 MB / 0.7762 GB, free: 11.6 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.003477/0.6774, allocations: 3.049 MB / 0.7791 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001122/0.6785, allocations: 0.8087 MB / 0.7799 GB, free: 7.727 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002525/0.681, allocations: 1.21 MB / 0.7811 GB, free: 6.512 MB / 0.5919 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001344/0.6824, allocations: 0.8836 MB / 0.782 GB, free: 5.625 MB / 0.5919 GB Notification: Performance of NFPackage.collectConstants: time 0.0001148/0.6825, allocations: 48 kB / 0.782 GB, free: 5.578 MB / 0.5919 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.6842, allocations: 0.5729 MB / 0.7826 GB, free: 5.004 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0004297/0.6846, allocations: 446.7 kB / 0.783 GB, free: 4.566 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.0002719/0.6849, allocations: 253.1 kB / 0.7832 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.001645/0.6865, allocations: 1.356 MB / 0.7846 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 4.318e-06/0.6865, allocations: 0 / 0.7846 GB, free: 2.957 MB / 0.5919 GB Notification: Performance of FrontEnd: time 4.519e-06/0.6866, allocations: 3.984 kB / 0.7846 GB, free: 2.953 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 1.452e-05/0.6866, allocations: 3.938 kB / 0.7846 GB, free: 2.949 MB / 0.5919 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.002143/0.6887, allocations: 1.241 MB / 0.7858 GB, free: 1.656 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.665e-05/0.6888, allocations: 12.03 kB / 0.7858 GB, free: 1.645 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001639/0.6889, allocations: 139.6 kB / 0.7859 GB, free: 1.5 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001208/0.6902, allocations: 255.5 kB / 0.7862 GB, free: 1.25 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001477/0.6917, allocations: 0.8292 MB / 0.787 GB, free: 396 kB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.276e-05/0.6917, allocations: 77.94 kB / 0.7871 GB, free: 316 kB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001234/0.6919, allocations: 92 kB / 0.7871 GB, free: 224 kB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001713/0.6936, allocations: 1.165 MB / 0.7883 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.462e-05/0.6936, allocations: 4 kB / 0.7883 GB, free: 14.98 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001219/0.6937, allocations: 39.98 kB / 0.7883 GB, free: 14.94 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.479e-05/0.6938, allocations: 34 kB / 0.7884 GB, free: 14.91 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001567/0.6954, allocations: 0.9015 MB / 0.7892 GB, free: 14 MB / 0.6075 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.005911/0.7013, allocations: 5.733 MB / 0.7948 GB, free: 7.816 MB / 0.6075 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008848/0.7022, allocations: 0.5627 MB / 0.7954 GB, free: 7.238 MB / 0.6075 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000439/0.7026, allocations: 335.4 kB / 0.7957 GB, free: 6.906 MB / 0.6075 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005827/0.7032, allocations: 327.7 kB / 0.796 GB, free: 6.527 MB / 0.6075 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.846e-05/0.7033, allocations: 39 kB / 0.7961 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of pre-optimization done (n=51): time 2.074e-06/0.7033, allocations: 0 / 0.7961 GB, free: 6.48 MB / 0.6075 GB Notification: Performance of matching and sorting (n=51): time 0.001524/0.7048, allocations: 0.822 MB / 0.7969 GB, free: 5.656 MB / 0.6075 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.886e-05/0.7049, allocations: 85.67 kB / 0.7969 GB, free: 5.555 MB / 0.6075 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009671/0.7059, allocations: 0.7431 MB / 0.7977 GB, free: 4.805 MB / 0.6075 GB Notification: Performance of collectPreVariables (initialization): time 4.875e-05/0.7059, allocations: 37.7 kB / 0.7977 GB, free: 4.762 MB / 0.6075 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005032/0.7064, allocations: 0.5065 MB / 0.7982 GB, free: 4.246 MB / 0.6075 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001516/0.7066, allocations: 181.4 kB / 0.7984 GB, free: 4.066 MB / 0.6075 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.148e-05/0.7066, allocations: 16 kB / 0.7984 GB, free: 4.051 MB / 0.6075 GB Notification: Performance of setup shared object (initialization): time 0.0001913/0.7068, allocations: 337.9 kB / 0.7987 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004032/0.7072, allocations: 249.9 kB / 0.7989 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000639/0.7079, allocations: 0.5823 MB / 0.7995 GB, free: 2.746 MB / 0.6075 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000525/0.7084, allocations: 360.5 kB / 0.7999 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.328e-06/0.7084, allocations: 0 / 0.7999 GB, free: 2.395 MB / 0.6075 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001329/0.7098, allocations: 0.858 MB / 0.8007 GB, free: 1.527 MB / 0.6075 GB Notification: Performance of prepare postOptimizeDAE: time 2.965e-05/0.7098, allocations: 11.98 kB / 0.8007 GB, free: 1.516 MB / 0.6075 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.761e-05/0.7098, allocations: 8 kB / 0.8007 GB, free: 1.508 MB / 0.6075 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.067e-05/0.7099, allocations: 23.88 kB / 0.8007 GB, free: 1.484 MB / 0.6075 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006058/0.7105, allocations: 159.8 kB / 0.8009 GB, free: 1.332 MB / 0.6075 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.212e-05/0.7105, allocations: 19.92 kB / 0.8009 GB, free: 1.312 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001089/0.7116, allocations: 139.5 kB / 0.801 GB, free: 1.176 MB / 0.6075 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.821e-05/0.7117, allocations: 35.98 kB / 0.8011 GB, free: 1.141 MB / 0.6075 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (89): * Single equations (assignments): 89 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005781/0.7123, allocations: 329.5 kB / 0.8014 GB, free: 0.8086 MB / 0.6075 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001571/0.7124, allocations: 90.92 kB / 0.8015 GB, free: 0.7188 MB / 0.6075 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001174/0.7136, allocations: 0.6335 MB / 0.8021 GB, free: 80 kB / 0.6075 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.546e-06/0.7136, allocations: 4 kB / 0.8021 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.414e-06/0.7136, allocations: 0 / 0.8021 GB, free: 76 kB / 0.6075 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0008921/0.7145, allocations: 0.5173 MB / 0.8026 GB, free: 15.54 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002954/0.7175, allocations: 1.769 MB / 0.8043 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.572e-06/0.7175, allocations: 4 kB / 0.8043 GB, free: 13.69 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005158/0.7181, allocations: 119.8 kB / 0.8045 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.919e-06/0.7181, allocations: 4 kB / 0.8045 GB, free: 13.57 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.191e-05/0.7181, allocations: 19.98 kB / 0.8045 GB, free: 13.55 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.7181, allocations: 4.25 kB / 0.8045 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.098e-06/0.7181, allocations: 8 kB / 0.8045 GB, free: 13.54 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00144/0.7196, allocations: 1.079 MB / 0.8055 GB, free: 12.42 MB / 0.6231 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003528/0.72, allocations: 227.9 kB / 0.8058 GB, free: 12.18 MB / 0.6231 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001007/0.7201, allocations: 15.98 kB / 0.8058 GB, free: 12.16 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000509/0.7206, allocations: 59.95 kB / 0.8058 GB, free: 12.1 MB / 0.6231 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.687e-05/0.7207, allocations: 43.84 kB / 0.8059 GB, free: 12.06 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.491e-05/0.7207, allocations: 16 kB / 0.8059 GB, free: 12.04 MB / 0.6231 GB Notification: Performance of sorting global known variables: time 0.0006576/0.7214, allocations: 0.5107 MB / 0.8064 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7214, allocations: 0 / 0.8064 GB, free: 11.54 MB / 0.6231 GB Notification: Performance of remove unused functions: time 0.000957/0.7223, allocations: 303.3 kB / 0.8067 GB, free: 11.24 MB / 0.6231 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (51): * Single equations (assignments): 51 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002253/0.7246, allocations: 1.731 MB / 0.8084 GB, free: 9.477 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.001189/0.7258, allocations: 0.6208 MB / 0.809 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of simCode: created event and clocks part: time 3.527e-06/0.7258, allocations: 0 / 0.809 GB, free: 8.859 MB / 0.6231 GB Notification: Performance of simCode: created simulation system equations: time 0.0003808/0.7262, allocations: 280.8 kB / 0.8092 GB, free: 8.586 MB / 0.6231 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001866/0.7281, allocations: 451.2 kB / 0.8097 GB, free: 8.164 MB / 0.6231 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008425/0.7365, allocations: 5.698 MB / 0.8152 GB, free: 2.211 MB / 0.6231 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008021/0.7373, allocations: 1.122 MB / 0.8163 GB, free: 1.059 MB / 0.6231 GB Notification: Performance of simCode: alias equations: time 0.0009195/0.7383, allocations: 279.3 kB / 0.8166 GB, free: 0.7812 MB / 0.6231 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005173/0.7388, allocations: 367.3 kB / 0.8169 GB, free: 432 kB / 0.6231 GB Notification: Performance of SimCode: time 2.816e-06/0.7388, allocations: 0 / 0.8169 GB, free: 432 kB / 0.6231 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04748/0.7863, allocations: 23.37 MB / 0.8398 GB, free: 9.43 MB / 0.6544 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002241/0.7866, allocations: 216.3 kB / 0.84 GB, free: 9.191 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.473/3.26, allocations: 3.938 kB / 0.84 GB, free: 9.188 MB / 0.6544 GB (rm -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) Environment - environmentSimulation: