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.0009553/0.0009553, allocations: 91.84 kB / 15.06 MB, free: 1.098 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.001163/0.001163, allocations: 172.7 kB / 15.95 MB, free: 208 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.371/1.371, allocations: 223.2 MB / 240 MB, free: 5.238 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7427/0.7427, allocations: 132.3 MB / 423.4 MB, free: 2.02 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003293/0.0003294, allocations: 12.22 kB / 0.5035 GB, free: 4.148 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4464/0.4467, allocations: 81.57 MB / 0.5831 GB, free: 4.004 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1968/0.6435, allocations: 177.5 MB / 0.7565 GB, free: 14.55 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01855/0.6621, allocations: 13.29 MB / 0.7695 GB, free: 1.23 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001464/0.6636, allocations: 27.81 kB / 0.7695 GB, free: 1.203 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001542/0.6652, allocations: 349.8 kB / 0.7699 GB, free: 0.8594 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.004716/0.6699, allocations: 1.384 MB / 0.7712 GB, free: 15.47 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002536/0.6725, allocations: 0.6638 MB / 0.7719 GB, free: 14.81 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003878/0.6764, allocations: 3.052 MB / 0.7749 GB, free: 11.75 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001707/0.6781, allocations: 0.8124 MB / 0.7756 GB, free: 10.93 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003219/0.6813, allocations: 1.198 MB / 0.7768 GB, free: 9.723 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001953/0.6833, allocations: 0.8874 MB / 0.7777 GB, free: 8.832 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.6836, allocations: 48 kB / 0.7777 GB, free: 8.785 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00222/0.6859, allocations: 0.5652 MB / 0.7783 GB, free: 8.219 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0007438/0.6866, allocations: 446.7 kB / 0.7787 GB, free: 7.781 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0006602/0.6873, allocations: 253.1 kB / 0.7789 GB, free: 7.527 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002238/0.6896, allocations: 1.356 MB / 0.7803 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.27e-06/0.6896, allocations: 0 / 0.7803 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.242e-06/0.6896, allocations: 0 / 0.7803 GB, free: 6.168 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.339e-05/0.6897, allocations: 4 kB / 0.7803 GB, free: 6.164 MB / 0.6075 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.00271/0.6924, allocations: 1.231 MB / 0.7815 GB, free: 4.879 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.627e-05/0.6924, allocations: 23.95 kB / 0.7815 GB, free: 4.855 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003192/0.6928, allocations: 143.6 kB / 0.7816 GB, free: 4.707 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0016/0.6944, allocations: 246.4 kB / 0.7819 GB, free: 4.465 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001847/0.6962, allocations: 0.8354 MB / 0.7827 GB, free: 3.586 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.893e-05/0.6963, allocations: 70 kB / 0.7828 GB, free: 3.516 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001832/0.6965, allocations: 96 kB / 0.7828 GB, free: 3.422 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001969/0.6985, allocations: 1.169 MB / 0.784 GB, free: 2.184 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.713e-05/0.6985, allocations: 15.88 kB / 0.784 GB, free: 2.168 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.358e-05/0.6986, allocations: 36 kB / 0.784 GB, free: 2.133 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.525e-05/0.6987, allocations: 37.98 kB / 0.7841 GB, free: 2.094 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001459/0.7001, allocations: 0.8898 MB / 0.7849 GB, free: 1.203 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.006094/0.7062, allocations: 5.739 MB / 0.7905 GB, free: 11 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008255/0.7071, allocations: 0.5623 MB / 0.7911 GB, free: 10.43 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004666/0.7076, allocations: 323.4 kB / 0.7914 GB, free: 10.11 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006012/0.7082, allocations: 323.8 kB / 0.7917 GB, free: 9.73 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.459e-05/0.7082, allocations: 46.94 kB / 0.7918 GB, free: 9.676 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 2.364e-06/0.7082, allocations: 4 kB / 0.7918 GB, free: 9.672 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.001698/0.7099, allocations: 0.8181 MB / 0.7926 GB, free: 8.844 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.454e-05/0.71, allocations: 85.48 kB / 0.7926 GB, free: 8.742 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001053/0.7111, allocations: 0.7431 MB / 0.7934 GB, free: 7.992 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.848e-05/0.7112, allocations: 41.64 kB / 0.7934 GB, free: 7.945 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004127/0.7116, allocations: 0.5065 MB / 0.7939 GB, free: 7.43 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.7118, allocations: 189.5 kB / 0.7941 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-05/0.7118, allocations: 16 kB / 0.7941 GB, free: 7.227 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001319/0.712, allocations: 338 kB / 0.7944 GB, free: 6.891 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004015/0.7124, allocations: 249.8 kB / 0.7947 GB, free: 6.648 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007089/0.7131, allocations: 0.5823 MB / 0.7952 GB, free: 5.93 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005965/0.7137, allocations: 352.6 kB / 0.7956 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.282e-06/0.7137, allocations: 0 / 0.7956 GB, free: 5.582 MB / 0.6231 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.001582/0.7153, allocations: 0.8622 MB / 0.7964 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.845e-05/0.7153, allocations: 8 kB / 0.7964 GB, free: 4.707 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.331e-05/0.7154, allocations: 12.09 kB / 0.7964 GB, free: 4.695 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.664e-05/0.7154, allocations: 16 kB / 0.7964 GB, free: 4.68 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006431/0.7161, allocations: 159.7 kB / 0.7966 GB, free: 4.523 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.227e-05/0.7161, allocations: 19.92 kB / 0.7966 GB, free: 4.504 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001026/0.7171, allocations: 132.4 kB / 0.7967 GB, free: 4.375 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.941e-05/0.7172, allocations: 43.98 kB / 0.7968 GB, free: 4.332 MB / 0.6231 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.0005395/0.7178, allocations: 331 kB / 0.7971 GB, free: 4 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002358/0.718, allocations: 86.92 kB / 0.7972 GB, free: 3.914 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001129/0.7192, allocations: 0.6257 MB / 0.7978 GB, free: 3.277 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.214e-05/0.7192, allocations: 4 kB / 0.7978 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.593e-06/0.7192, allocations: 0 / 0.7978 GB, free: 3.273 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007781/0.72, allocations: 0.5251 MB / 0.7983 GB, free: 2.738 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002994/0.723, allocations: 1.777 MB / 0.8 GB, free: 0.8789 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.163e-06/0.723, allocations: 11.97 kB / 0.8001 GB, free: 0.8672 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005342/0.7236, allocations: 107.9 kB / 0.8002 GB, free: 0.7617 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.405e-05/0.7236, allocations: 8 kB / 0.8002 GB, free: 0.7539 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.424e-05/0.7236, allocations: 19.92 kB / 0.8002 GB, free: 0.7344 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.285e-05/0.7236, allocations: 7.938 kB / 0.8002 GB, free: 0.7266 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.667e-06/0.7237, allocations: 4 kB / 0.8002 GB, free: 0.7227 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00157/0.7252, allocations: 1.079 MB / 0.8012 GB, free: 15.6 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004616/0.7257, allocations: 231.9 kB / 0.8015 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000179/0.7259, allocations: 12 kB / 0.8015 GB, free: 15.34 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006524/0.7266, allocations: 67.94 kB / 0.8015 GB, free: 15.28 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.659e-05/0.7266, allocations: 35.91 kB / 0.8016 GB, free: 15.24 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.905e-05/0.7267, allocations: 16 kB / 0.8016 GB, free: 15.23 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.000766/0.7275, allocations: 0.5146 MB / 0.8021 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.7275, allocations: 0 / 0.8021 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001138/0.7286, allocations: 303.2 kB / 0.8024 GB, free: 14.42 MB / 0.6387 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.002227/0.7309, allocations: 1.725 MB / 0.8041 GB, free: 12.67 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.00114/0.732, allocations: 0.6116 MB / 0.8047 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.732, allocations: 0 / 0.8047 GB, free: 12.05 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004369/0.7325, allocations: 284.7 kB / 0.8049 GB, free: 11.78 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002115/0.7346, allocations: 441.5 kB / 0.8054 GB, free: 11.36 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01033/0.7449, allocations: 5.706 MB / 0.8109 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001006/0.746, allocations: 1.13 MB / 0.812 GB, free: 4.23 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.001098/0.7471, allocations: 283.3 kB / 0.8123 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005808/0.7477, allocations: 363.3 kB / 0.8127 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of SimCode: time 8.62e-07/0.7477, allocations: 0 / 0.8127 GB, free: 3.598 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3935/1.141, allocations: 23.36 MB / 0.8355 GB, free: 212.2 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001661/1.141, allocations: 215.2 kB / 0.8357 GB, free: 211.9 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.317/3.459, allocations: 0 / 0.8357 GB, free: 211.9 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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances_fmu --startTime=0 --stopTime=7200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Sensors_Examples_TraceSubstances.fmu > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) Environment - environmentSimulation: