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.00103/0.00103, allocations: 91.14 kB / 15.36 MB, free: 0.7383 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.008488/0.008488, allocations: 172.9 kB / 16.26 MB, free: 6.613 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.374/1.374, allocations: 223.2 MB / 240.3 MB, free: 5.359 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7355/0.7355, allocations: 132.3 MB / 423.7 MB, free: 1.992 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003352/0.0003352, allocations: 16 kB / 0.5041 GB, free: 3.793 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.363/0.3633, allocations: 81.57 MB / 0.5837 GB, free: 3.879 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1817/0.5451, allocations: 190.3 MB / 0.7696 GB, free: 1.336 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01573/0.5609, allocations: 14.21 MB / 0.7835 GB, free: 3.078 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006737/0.5616, allocations: 27.81 kB / 0.7835 GB, free: 3.051 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001137/0.5627, allocations: 417.7 kB / 0.7839 GB, free: 2.641 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.003601/0.5663, allocations: 1.782 MB / 0.7856 GB, free: 0.8516 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001801/0.5681, allocations: 0.7731 MB / 0.7864 GB, free: 88 kB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003272/0.5714, allocations: 3.622 MB / 0.7899 GB, free: 12.46 MB / 0.6231 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001079/0.5725, allocations: 0.9118 MB / 0.7908 GB, free: 11.52 MB / 0.6231 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003517/0.576, allocations: 1.407 MB / 0.7922 GB, free: 10.12 MB / 0.6231 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001252/0.5773, allocations: 0.9133 MB / 0.7931 GB, free: 9.207 MB / 0.6231 GB Notification: Performance of NFPackage.collectConstants: time 0.0001017/0.5774, allocations: 48 kB / 0.7931 GB, free: 9.16 MB / 0.6231 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001935/0.5794, allocations: 1.243 MB / 0.7943 GB, free: 7.914 MB / 0.6231 GB Notification: Performance of NFScalarize.scalarize: time 0.000398/0.5798, allocations: 446.7 kB / 0.7948 GB, free: 7.477 MB / 0.6231 GB Notification: Performance of NFVerifyModel.verify: time 0.0005358/0.5803, allocations: 0.5925 MB / 0.7953 GB, free: 6.875 MB / 0.6231 GB Notification: Performance of NFConvertDAE.convert: time 0.001771/0.5821, allocations: 1.885 MB / 0.7972 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of FrontEnd - DAE generated: time 3.216e-06/0.5821, allocations: 0 / 0.7972 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of FrontEnd: time 1.503e-06/0.5821, allocations: 0 / 0.7972 GB, free: 4.984 MB / 0.6231 GB Notification: Performance of Transformations before backend: time 1.15e-05/0.5821, allocations: 0 / 0.7972 GB, free: 4.984 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.001737/0.5839, allocations: 1.227 MB / 0.7984 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.65e-05/0.5839, allocations: 12.03 kB / 0.7984 GB, free: 3.691 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001605/0.5841, allocations: 143.6 kB / 0.7985 GB, free: 3.543 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001253/0.5853, allocations: 258.4 kB / 0.7988 GB, free: 3.289 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001087/0.5864, allocations: 0.7569 MB / 0.7995 GB, free: 2.488 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.859e-05/0.5865, allocations: 70 kB / 0.7996 GB, free: 2.418 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001398/0.5867, allocations: 92 kB / 0.7997 GB, free: 2.328 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001569/0.5882, allocations: 1.173 MB / 0.8008 GB, free: 1.086 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.565e-05/0.5883, allocations: 7.938 kB / 0.8008 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.554e-05/0.5884, allocations: 36 kB / 0.8009 GB, free: 1.043 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.13e-05/0.5884, allocations: 37.98 kB / 0.8009 GB, free: 1.004 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001289/0.5897, allocations: 0.8976 MB / 0.8018 GB, free: 108 kB / 0.6231 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.005156/0.5949, allocations: 5.727 MB / 0.8074 GB, free: 9.922 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007974/0.5957, allocations: 0.5314 MB / 0.8079 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004249/0.5961, allocations: 314.6 kB / 0.8082 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005926/0.5967, allocations: 327.7 kB / 0.8085 GB, free: 8.699 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.576e-05/0.5968, allocations: 43 kB / 0.8085 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=49): time 1.743e-06/0.5968, allocations: 0 / 0.8085 GB, free: 8.648 MB / 0.6387 GB Notification: Performance of matching and sorting (n=49): time 0.001392/0.5982, allocations: 0.7987 MB / 0.8093 GB, free: 7.844 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.788e-05/0.5982, allocations: 59.78 kB / 0.8094 GB, free: 7.77 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008746/0.5991, allocations: 0.7548 MB / 0.8101 GB, free: 7.008 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 5.033e-05/0.5992, allocations: 37.7 kB / 0.8101 GB, free: 6.965 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003733/0.5995, allocations: 0.5104 MB / 0.8106 GB, free: 6.445 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001569/0.5997, allocations: 173.5 kB / 0.8108 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.114e-05/0.5998, allocations: 65.69 kB / 0.8109 GB, free: 6.203 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.0001483/0.5999, allocations: 334 kB / 0.8112 GB, free: 5.871 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003689/0.6003, allocations: 245.8 kB / 0.8114 GB, free: 5.629 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006062/0.6009, allocations: 0.5566 MB / 0.812 GB, free: 4.941 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009465/0.6019, allocations: 0.7995 MB / 0.8127 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.008e-06/0.6019, allocations: 0 / 0.8127 GB, free: 4.035 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001201/0.6031, allocations: 0.842 MB / 0.8136 GB, free: 3.184 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.292e-05/0.6031, allocations: 9.25 kB / 0.8136 GB, free: 3.176 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.739e-05/0.6032, allocations: 8.906 kB / 0.8136 GB, free: 3.168 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.157e-05/0.6032, allocations: 15.98 kB / 0.8136 GB, free: 3.152 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005302/0.6037, allocations: 163.7 kB / 0.8138 GB, free: 2.992 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.133e-05/0.6038, allocations: 15.94 kB / 0.8138 GB, free: 2.977 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007758/0.6045, allocations: 142.9 kB / 0.8139 GB, free: 2.836 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.11e-05/0.6046, allocations: 32 kB / 0.8139 GB, free: 2.805 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.0003799/0.605, allocations: 333.5 kB / 0.8143 GB, free: 2.469 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001125/0.6051, allocations: 86.97 kB / 0.8143 GB, free: 2.383 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009504/0.6061, allocations: 0.6101 MB / 0.8149 GB, free: 1.77 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.215e-06/0.6061, allocations: 11.94 kB / 0.8149 GB, free: 1.758 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.358e-06/0.6061, allocations: 3.938 kB / 0.815 GB, free: 1.754 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0006955/0.6068, allocations: 0.5134 MB / 0.8155 GB, free: 1.227 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2232/0.83, allocations: 1.661 MB / 0.8171 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.743e-06/0.8301, allocations: 2.781 kB / 0.8171 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005929/0.8307, allocations: 112.1 kB / 0.8172 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.414e-06/0.8307, allocations: 3.938 kB / 0.8172 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.937e-05/0.8308, allocations: 15.8 kB / 0.8172 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.804e-06/0.8308, allocations: 4.922 kB / 0.8172 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.266e-06/0.8308, allocations: 5.609 kB / 0.8172 GB, free: 220.8 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001332/0.8321, allocations: 1.049 MB / 0.8182 GB, free: 220.5 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000324/0.8324, allocations: 222.1 kB / 0.8185 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.508e-05/0.8326, allocations: 14.2 kB / 0.8185 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005758/0.8331, allocations: 64.14 kB / 0.8185 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.269e-05/0.8332, allocations: 38.52 kB / 0.8186 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.752e-05/0.8333, allocations: 19.95 kB / 0.8186 GB, free: 220.4 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006398/0.8339, allocations: 0.5101 MB / 0.8191 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of sort global known variables: time 5.01e-07/0.8339, allocations: 0 / 0.8191 GB, free: 220.2 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008573/0.8348, allocations: 303.4 kB / 0.8194 GB, free: 220.2 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.00169/0.8365, allocations: 1.694 MB / 0.821 GB, free: 219.1 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0008784/0.8374, allocations: 0.6051 MB / 0.8216 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.755e-06/0.8374, allocations: 0 / 0.8216 GB, free: 218.9 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003485/0.8377, allocations: 284.8 kB / 0.8219 GB, free: 218.8 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002278/0.84, allocations: 434.1 kB / 0.8223 GB, free: 218.7 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008636/0.8487, allocations: 7.912 MB / 0.83 GB, free: 214.1 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005892/0.8493, allocations: 1.122 MB / 0.8311 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008783/0.8502, allocations: 264.7 kB / 0.8314 GB, free: 213.3 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004042/0.8506, allocations: 356.7 kB / 0.8317 GB, free: 213 MB / 0.6387 GB Notification: Performance of SimCode: time 6.41e-07/0.8506, allocations: 0 / 0.8317 GB, free: 213 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6054/1.456, allocations: 22.11 MB / 0.8533 GB, free: 199.6 MB / 0.6387 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001937/1.456, allocations: 239.8 kB / 0.8535 GB, free: 199.3 MB / 0.6387 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/4.05, allocations: 0 / 0.8535 GB, free: 199.3 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/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)