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: translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.006101/0.006101, allocations: 99.34 kB / 15.73 MB, free: 6.059 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.001323/0.001323, allocations: 195 kB / 16.67 MB, free: 5.977 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.415/1.415, allocations: 222.9 MB / 240.4 MB, free: 15.14 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8192/0.8192, allocations: 135.1 MB / 425.7 MB, free: 4.125 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001957/0.001957, allocations: 58.66 kB / 0.5856 GB, free: 21.7 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2056/0.2076, allocations: 80.93 MB / 0.6647 GB, free: 5.793 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.691/0.8987, allocations: 195.1 MB / 0.8552 GB, free: 9.586 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01988/0.9186, allocations: 14.29 MB / 0.8691 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001605/0.9202, allocations: 39.75 kB / 0.8692 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001784/0.922, allocations: 0.4969 MB / 0.8697 GB, free: 13.26 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004992/0.9271, allocations: 1.886 MB / 0.8715 GB, free: 11.37 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.002518/0.9296, allocations: 0.8633 MB / 0.8723 GB, free: 10.51 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00365/0.9333, allocations: 2.581 MB / 0.8749 GB, free: 7.918 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001928/0.9352, allocations: 1.121 MB / 0.876 GB, free: 6.777 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004843/0.9401, allocations: 1.59 MB / 0.8775 GB, free: 5.203 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002025/0.9421, allocations: 0.9302 MB / 0.8784 GB, free: 4.27 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003646/0.9425, allocations: 104 kB / 0.8785 GB, free: 4.168 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003291/0.9458, allocations: 1.099 MB / 0.8796 GB, free: 3.066 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0008997/0.9467, allocations: 0.4948 MB / 0.8801 GB, free: 2.57 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00169/0.9484, allocations: 0.6377 MB / 0.8807 GB, free: 1.93 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004164/0.9526, allocations: 1.915 MB / 0.8826 GB, free: 8 kB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 5.149e-06/0.9526, allocations: 0 / 0.8826 GB, free: 8 kB / 0.6387 GB Notification: Performance of FrontEnd: time 2.866e-06/0.9526, allocations: 0 / 0.8826 GB, free: 8 kB / 0.6387 GB Notification: Performance of Transformations before backend: time 0.0001022/0.9527, allocations: 0 / 0.8826 GB, free: 8 kB / 0.6387 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.004511/0.9573, allocations: 1.49 MB / 0.884 GB, free: 14.46 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.832e-05/0.9573, allocations: 13.05 kB / 0.884 GB, free: 14.45 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001721/0.9591, allocations: 259 kB / 0.8843 GB, free: 14.2 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001461/0.9605, allocations: 0.8006 MB / 0.8851 GB, free: 13.36 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.894e-05/0.9606, allocations: 66 kB / 0.8851 GB, free: 13.29 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001616/0.9608, allocations: 99.95 kB / 0.8852 GB, free: 13.19 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002096/0.9629, allocations: 1.176 MB / 0.8864 GB, free: 11.95 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.321e-05/0.9629, allocations: 4 kB / 0.8864 GB, free: 11.94 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.262e-05/0.963, allocations: 36 kB / 0.8864 GB, free: 11.91 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.298e-05/0.9631, allocations: 37.98 kB / 0.8864 GB, free: 11.87 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001419/0.9645, allocations: 0.8976 MB / 0.8873 GB, free: 10.97 MB / 0.6544 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.006565/0.9711, allocations: 5.744 MB / 0.8929 GB, free: 4.77 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008951/0.972, allocations: 0.5367 MB / 0.8935 GB, free: 4.227 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005707/0.9726, allocations: 321.2 kB / 0.8938 GB, free: 3.914 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006392/0.9733, allocations: 311.7 kB / 0.8941 GB, free: 3.555 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.423e-05/0.9733, allocations: 46.94 kB / 0.8941 GB, free: 3.496 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 2.876e-06/0.9733, allocations: 3.938 kB / 0.8941 GB, free: 3.492 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.001756/0.9751, allocations: 0.7953 MB / 0.8949 GB, free: 2.691 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.252e-05/0.9752, allocations: 59.84 kB / 0.8949 GB, free: 2.621 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001105/0.9763, allocations: 0.7509 MB / 0.8957 GB, free: 1.863 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.583e-05/0.9764, allocations: 37.7 kB / 0.8957 GB, free: 1.82 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005665/0.9769, allocations: 0.5233 MB / 0.8962 GB, free: 1.289 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002659/0.9772, allocations: 186.4 kB / 0.8964 GB, free: 1.105 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000238/0.9775, allocations: 146.6 kB / 0.8965 GB, free: 0.957 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.000171/0.9776, allocations: 334 kB / 0.8969 GB, free: 0.625 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004237/0.9781, allocations: 241.9 kB / 0.8971 GB, free: 400 kB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007412/0.9788, allocations: 0.5605 MB / 0.8976 GB, free: 15.7 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001076/0.9799, allocations: 0.7996 MB / 0.8984 GB, free: 14.79 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.593e-06/0.9799, allocations: 4 kB / 0.8984 GB, free: 14.78 MB / 0.67 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001439/0.9814, allocations: 0.8434 MB / 0.8992 GB, free: 13.93 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.659e-05/0.9814, allocations: 8 kB / 0.8993 GB, free: 13.93 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.36e-05/0.9814, allocations: 8 kB / 0.8993 GB, free: 13.92 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.145e-05/0.9815, allocations: 16.03 kB / 0.8993 GB, free: 13.9 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005796/0.9821, allocations: 159.7 kB / 0.8994 GB, free: 13.75 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.23e-05/0.9821, allocations: 19.88 kB / 0.8994 GB, free: 13.73 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007774/0.9829, allocations: 83.39 kB / 0.8995 GB, free: 13.64 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.586e-05/0.983, allocations: 40 kB / 0.8996 GB, free: 13.61 MB / 0.67 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.000487/0.9834, allocations: 333.4 kB / 0.8999 GB, free: 13.27 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.9836, allocations: 91.44 kB / 0.9 GB, free: 13.18 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001071/0.9847, allocations: 0.6218 MB / 0.9006 GB, free: 12.55 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.026e-06/0.9847, allocations: 7.984 kB / 0.9006 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.9847, allocations: 3.938 kB / 0.9006 GB, free: 12.54 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007098/0.9854, allocations: 0.5134 MB / 0.9011 GB, free: 12.01 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002493/0.9879, allocations: 1.667 MB / 0.9027 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.757e-06/0.9879, allocations: 48 / 0.9027 GB, free: 10.27 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000528/0.9885, allocations: 115.9 kB / 0.9028 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 5.24e-06/0.9885, allocations: 4 kB / 0.9028 GB, free: 10.15 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.893e-05/0.9885, allocations: 15.98 kB / 0.9028 GB, free: 10.13 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.841e-06/0.9886, allocations: 8.219 kB / 0.9029 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.13e-06/0.9886, allocations: 7.938 kB / 0.9029 GB, free: 10.12 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001465/0.99, allocations: 1.054 MB / 0.9039 GB, free: 9.023 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003973/0.9904, allocations: 232.4 kB / 0.9041 GB, free: 8.777 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001003/0.9905, allocations: 11.94 kB / 0.9041 GB, free: 8.766 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004692/0.991, allocations: 19.98 kB / 0.9041 GB, free: 8.746 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.264e-05/0.9911, allocations: 27.97 kB / 0.9042 GB, free: 8.719 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.029e-05/0.9912, allocations: 23.92 kB / 0.9042 GB, free: 8.695 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0007094/0.9919, allocations: 0.5146 MB / 0.9047 GB, free: 8.184 MB / 0.67 GB Notification: Performance of sort global known variables: time 3.41e-07/0.9919, allocations: 0 / 0.9047 GB, free: 8.184 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.0009376/0.9928, allocations: 303.4 kB / 0.905 GB, free: 7.887 MB / 0.67 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.0005237/0.9934, allocations: 204.1 kB / 0.9052 GB, free: 7.695 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.000999/0.9944, allocations: 0.6152 MB / 0.9058 GB, free: 7.078 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 3.557e-06/0.9944, allocations: 0 / 0.9058 GB, free: 7.078 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0003706/0.9948, allocations: 267.7 kB / 0.906 GB, free: 6.816 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001872/0.9966, allocations: 446.4 kB / 0.9065 GB, free: 6.395 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002907/0.9996, allocations: 1.94 MB / 0.9084 GB, free: 4.398 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007305/1, allocations: 1.122 MB / 0.9095 GB, free: 3.25 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.0007338/1.001, allocations: 267 kB / 0.9097 GB, free: 2.984 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001798/1.001, allocations: 67.44 kB / 0.9098 GB, free: 2.918 MB / 0.67 GB Notification: Performance of SimCode: time 3.41e-07/1.001, allocations: 0 / 0.9098 GB, free: 2.918 MB / 0.67 GB Notification: Performance of Templates: time 0.02712/1.028, allocations: 15.63 MB / 0.925 GB, free: 3.492 MB / 0.6856 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile (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 & ./IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1)