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: translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007695/0.0007695, allocations: 86.95 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.000799/0.000799, 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.304/1.304, allocations: 223.3 MB / 240 MB, free: 5.414 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7349/0.7349, allocations: 132.4 MB / 423.4 MB, free: 2.047 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002996/0.0002996, allocations: 13.44 kB / 0.5034 GB, free: 4.211 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3493/0.3496, allocations: 81.58 MB / 0.5831 GB, free: 3.965 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1769/0.5266, allocations: 177.5 MB / 0.7565 GB, free: 14.53 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0144/0.541, allocations: 13.29 MB / 0.7694 GB, free: 1.207 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00075/0.5418, allocations: 31.75 kB / 0.7695 GB, free: 1.176 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001022/0.5428, allocations: 353.7 kB / 0.7698 GB, free: 0.8281 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.003079/0.5459, allocations: 1.372 MB / 0.7711 GB, free: 15.45 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.001754/0.5477, allocations: 0.6642 MB / 0.7718 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.002989/0.5507, allocations: 3.045 MB / 0.7748 GB, free: 11.74 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001265/0.5519, allocations: 0.8085 MB / 0.7756 GB, free: 10.91 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002411/0.5544, allocations: 1.21 MB / 0.7767 GB, free: 9.699 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001487/0.5559, allocations: 0.8875 MB / 0.7776 GB, free: 8.809 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000194/0.5561, allocations: 48 kB / 0.7777 GB, free: 8.762 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00154/0.5576, allocations: 0.5729 MB / 0.7782 GB, free: 8.188 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005407/0.5582, allocations: 446.8 kB / 0.7786 GB, free: 7.75 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0003901/0.5586, allocations: 245.1 kB / 0.7789 GB, free: 7.504 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.001514/0.5601, allocations: 1.364 MB / 0.7802 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.418e-06/0.5601, allocations: 0 / 0.7802 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.443e-06/0.5601, allocations: 0 / 0.7802 GB, free: 6.137 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.597e-05/0.5602, allocations: 0 / 0.7802 GB, free: 6.137 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.002027/0.5622, allocations: 1.243 MB / 0.7814 GB, free: 4.84 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 3.33e-05/0.5622, allocations: 8.031 kB / 0.7814 GB, free: 4.832 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001307/0.5636, allocations: 250.4 kB / 0.7817 GB, free: 4.586 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001406/0.565, allocations: 0.831 MB / 0.7825 GB, free: 3.715 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.626e-05/0.565, allocations: 74 kB / 0.7825 GB, free: 3.641 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001321/0.5652, allocations: 95.94 kB / 0.7826 GB, free: 3.547 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001668/0.5669, allocations: 1.169 MB / 0.7838 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.225e-05/0.5669, allocations: 0 / 0.7838 GB, free: 2.309 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.074e-05/0.567, allocations: 40 kB / 0.7838 GB, free: 2.27 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.35e-05/0.567, allocations: 33.98 kB / 0.7839 GB, free: 2.234 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00134/0.5684, allocations: 0.9093 MB / 0.7847 GB, free: 1.324 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.00491/0.5733, allocations: 5.727 MB / 0.7903 GB, free: 11.14 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007836/0.5741, allocations: 0.5654 MB / 0.7909 GB, free: 10.55 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004293/0.5745, allocations: 327.4 kB / 0.7912 GB, free: 10.23 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005346/0.5751, allocations: 327.7 kB / 0.7915 GB, free: 9.855 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.301e-05/0.5751, allocations: 39 kB / 0.7915 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=51): time 2.144e-06/0.5751, allocations: 0 / 0.7915 GB, free: 9.809 MB / 0.6231 GB Notification: Performance of matching and sorting (n=51): time 0.001459/0.5766, allocations: 0.826 MB / 0.7924 GB, free: 8.973 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.282e-05/0.5766, allocations: 85.55 kB / 0.7924 GB, free: 8.871 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008032/0.5774, allocations: 0.7431 MB / 0.7932 GB, free: 8.121 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 4.642e-05/0.5775, allocations: 37.7 kB / 0.7932 GB, free: 8.078 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003209/0.5778, allocations: 0.5027 MB / 0.7937 GB, free: 7.566 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001409/0.578, allocations: 185.3 kB / 0.7939 GB, free: 7.383 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.548e-05/0.578, allocations: 16 kB / 0.7939 GB, free: 7.367 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 9.961e-05/0.5781, allocations: 334 kB / 0.7942 GB, free: 7.035 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003743/0.5785, allocations: 253.9 kB / 0.7944 GB, free: 6.789 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006217/0.5791, allocations: 0.59 MB / 0.795 GB, free: 6.062 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005003/0.5796, allocations: 356.6 kB / 0.7954 GB, free: 5.711 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.57e-06/0.5797, allocations: 4 kB / 0.7954 GB, free: 5.707 MB / 0.6231 GB Notification: Performance of matching and sorting (n=89) (initialization): time 0.00123/0.5809, allocations: 0.8578 MB / 0.7962 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 1.777e-05/0.5809, allocations: 8 kB / 0.7962 GB, free: 4.836 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.317e-05/0.5809, allocations: 11.98 kB / 0.7962 GB, free: 4.824 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.152e-05/0.581, allocations: 12 kB / 0.7962 GB, free: 4.812 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005877/0.5816, allocations: 160.4 kB / 0.7964 GB, free: 4.656 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.911e-05/0.5816, allocations: 15.98 kB / 0.7964 GB, free: 4.641 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008036/0.5824, allocations: 136.3 kB / 0.7965 GB, free: 4.508 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.423e-05/0.5825, allocations: 39.98 kB / 0.7966 GB, free: 4.469 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.0004107/0.5829, allocations: 325.5 kB / 0.7969 GB, free: 4.141 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001382/0.583, allocations: 94.91 kB / 0.797 GB, free: 4.047 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009953/0.584, allocations: 0.6296 MB / 0.7976 GB, free: 3.406 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.949e-06/0.5841, allocations: 12 kB / 0.7976 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.741e-06/0.5841, allocations: 0 / 0.7976 GB, free: 3.395 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000706/0.5848, allocations: 0.5172 MB / 0.7981 GB, free: 2.867 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002423/0.5872, allocations: 1.773 MB / 0.7998 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.937e-06/0.5872, allocations: 0 / 0.7998 GB, free: 1.012 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005357/0.5878, allocations: 119.8 kB / 0.7999 GB, free: 0.8945 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.364e-06/0.5878, allocations: 4 kB / 0.7999 GB, free: 0.8906 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.031e-05/0.5878, allocations: 20.23 kB / 0.8 GB, free: 0.8711 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.43e-06/0.5879, allocations: 8 kB / 0.8 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.924e-06/0.5879, allocations: 0 / 0.8 GB, free: 0.8633 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001326/0.5892, allocations: 1.083 MB / 0.801 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003091/0.5895, allocations: 227.9 kB / 0.8012 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001037/0.5896, allocations: 12 kB / 0.8013 GB, free: 15.48 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005353/0.5902, allocations: 59.94 kB / 0.8013 GB, free: 15.43 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.35e-05/0.5902, allocations: 43.84 kB / 0.8014 GB, free: 15.38 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.893e-05/0.5903, allocations: 20 kB / 0.8014 GB, free: 15.36 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0005968/0.5909, allocations: 0.5068 MB / 0.8019 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.61e-07/0.5909, allocations: 0 / 0.8019 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008393/0.5917, allocations: 307.2 kB / 0.8022 GB, free: 14.56 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.0004342/0.5922, allocations: 206.3 kB / 0.8024 GB, free: 14.37 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.0009392/0.5931, allocations: 0.6239 MB / 0.803 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.865e-06/0.5931, allocations: 0 / 0.803 GB, free: 13.75 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003716/0.5935, allocations: 281.9 kB / 0.8032 GB, free: 13.47 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001879/0.5954, allocations: 448.7 kB / 0.8037 GB, free: 13.05 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002973/0.5984, allocations: 2.399 MB / 0.806 GB, free: 10.59 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006206/0.599, allocations: 1.118 MB / 0.8071 GB, free: 9.445 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008378/0.5999, allocations: 283.3 kB / 0.8074 GB, free: 9.164 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001907/0.6001, allocations: 75.42 kB / 0.8074 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of SimCode: time 6.21e-07/0.6001, allocations: 0 / 0.8074 GB, free: 9.094 MB / 0.6387 GB Notification: Performance of Templates: time 0.257/0.8571, allocations: 14.85 MB / 0.8219 GB, free: 215.8 MB / 0.6387 GB make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile (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 & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)