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.001144/0.001144, allocations: 115.3 kB / 15.34 MB, free: 0.5156 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.001097/0.001098, allocations: 188.1 kB / 16.25 MB, free: 6.625 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.338/1.338, allocations: 222.9 MB / 239.9 MB, free: 4.539 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7556/0.7556, allocations: 132.2 MB / 422.3 MB, free: 1.941 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001143/0.001143, allocations: 58.16 kB / 0.5013 GB, free: 9.145 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1821/0.1833, allocations: 80.21 MB / 0.5796 GB, free: 9.16 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5231/0.7064, allocations: 192.6 MB / 0.7676 GB, free: 2.711 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01811/0.7246, allocations: 14.21 MB / 0.7815 GB, free: 4.453 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001682/0.7263, allocations: 31.81 kB / 0.7816 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002232/0.7286, allocations: 445.7 kB / 0.782 GB, free: 3.984 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006577/0.7352, allocations: 1.76 MB / 0.7837 GB, free: 2.219 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.003088/0.7383, allocations: 0.7841 MB / 0.7845 GB, free: 1.441 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004118/0.7425, allocations: 2.571 MB / 0.787 GB, free: 14.87 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00172/0.7442, allocations: 1.077 MB / 0.788 GB, free: 13.77 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005075/0.7493, allocations: 1.587 MB / 0.7896 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001868/0.7512, allocations: 0.9852 MB / 0.7905 GB, free: 11.22 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000223/0.7515, allocations: 108 kB / 0.7906 GB, free: 11.11 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002388/0.7538, allocations: 1.15 MB / 0.7918 GB, free: 9.961 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0004826/0.7543, allocations: 0.5026 MB / 0.7923 GB, free: 9.457 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0007298/0.7551, allocations: 0.63 MB / 0.7929 GB, free: 8.824 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002602/0.7577, allocations: 1.971 MB / 0.7948 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.7577, allocations: 0 / 0.7948 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.914e-06/0.7577, allocations: 0 / 0.7948 GB, free: 6.848 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.33e-05/0.7577, allocations: 0 / 0.7948 GB, free: 6.848 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.002268/0.76, allocations: 1.451 MB / 0.7962 GB, free: 5.344 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.821e-05/0.7601, allocations: 8.031 kB / 0.7962 GB, free: 5.336 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001442/0.7615, allocations: 262.3 kB / 0.7965 GB, free: 5.078 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00156/0.7631, allocations: 0.7531 MB / 0.7972 GB, free: 4.281 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.001e-05/0.7632, allocations: 70 kB / 0.7973 GB, free: 4.211 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001817/0.7634, allocations: 92 kB / 0.7974 GB, free: 4.121 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002004/0.7654, allocations: 1.18 MB / 0.7985 GB, free: 2.871 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.66e-05/0.7655, allocations: 7.938 kB / 0.7985 GB, free: 2.863 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.202e-05/0.7656, allocations: 36 kB / 0.7986 GB, free: 2.828 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.923e-05/0.7656, allocations: 34 kB / 0.7986 GB, free: 2.793 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001377/0.767, allocations: 0.8976 MB / 0.7995 GB, free: 1.895 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.006143/0.7732, allocations: 5.719 MB / 0.8051 GB, free: 11.71 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008561/0.774, allocations: 0.5408 MB / 0.8056 GB, free: 11.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004103/0.7745, allocations: 314.6 kB / 0.8059 GB, free: 10.86 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006033/0.7751, allocations: 315.7 kB / 0.8062 GB, free: 10.49 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.218e-05/0.7751, allocations: 42.94 kB / 0.8062 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.454e-06/0.7751, allocations: 0 / 0.8062 GB, free: 10.44 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001568/0.7767, allocations: 0.7987 MB / 0.807 GB, free: 9.637 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.071e-05/0.7767, allocations: 55.84 kB / 0.8071 GB, free: 9.57 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009299/0.7777, allocations: 0.7547 MB / 0.8078 GB, free: 8.809 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.659e-05/0.7778, allocations: 41.7 kB / 0.8078 GB, free: 8.762 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003928/0.7782, allocations: 0.5026 MB / 0.8083 GB, free: 8.25 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001491/0.7783, allocations: 177.5 kB / 0.8085 GB, free: 8.074 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002021/0.7785, allocations: 138.6 kB / 0.8086 GB, free: 7.934 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.000131/0.7787, allocations: 338 kB / 0.8089 GB, free: 7.598 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003617/0.779, allocations: 245.8 kB / 0.8092 GB, free: 7.359 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006253/0.7797, allocations: 0.5636 MB / 0.8097 GB, free: 6.664 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00106/0.7807, allocations: 0.7957 MB / 0.8105 GB, free: 5.762 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.752e-06/0.7808, allocations: 4 kB / 0.8105 GB, free: 5.758 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001245/0.782, allocations: 0.8424 MB / 0.8113 GB, free: 4.906 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.061e-05/0.782, allocations: 12 kB / 0.8113 GB, free: 4.895 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.248e-05/0.7821, allocations: 8 kB / 0.8114 GB, free: 4.887 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.739e-05/0.7821, allocations: 16.86 kB / 0.8114 GB, free: 4.871 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005797/0.7827, allocations: 151.8 kB / 0.8115 GB, free: 4.723 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.656e-05/0.7827, allocations: 20.41 kB / 0.8115 GB, free: 4.703 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009231/0.7836, allocations: 142.9 kB / 0.8117 GB, free: 4.562 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.934e-05/0.7837, allocations: 32 kB / 0.8117 GB, free: 4.531 MB / 0.6231 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.0004597/0.7842, allocations: 333.5 kB / 0.812 GB, free: 4.195 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001424/0.7843, allocations: 82.97 kB / 0.8121 GB, free: 4.113 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001041/0.7854, allocations: 0.6244 MB / 0.8127 GB, free: 3.484 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.064e-06/0.7854, allocations: 4 kB / 0.8127 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.7854, allocations: 0 / 0.8127 GB, free: 3.48 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000846/0.7862, allocations: 0.5172 MB / 0.8132 GB, free: 2.949 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002484/0.7887, allocations: 1.665 MB / 0.8148 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.867e-06/0.7887, allocations: 0 / 0.8148 GB, free: 1.207 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006257/0.7894, allocations: 111.9 kB / 0.8149 GB, free: 1.098 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.376e-06/0.7894, allocations: 4 kB / 0.815 GB, free: 1.094 MB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.422e-05/0.7894, allocations: 16 kB / 0.815 GB, free: 1.078 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.084e-06/0.7895, allocations: 7.938 kB / 0.815 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.709e-06/0.7895, allocations: 4.156 kB / 0.815 GB, free: 1.066 MB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001456/0.7909, allocations: 1.054 MB / 0.816 GB, free: 15.97 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003813/0.7913, allocations: 227.9 kB / 0.8162 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001122/0.7914, allocations: 12 kB / 0.8162 GB, free: 15.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006114/0.7921, allocations: 70.97 kB / 0.8163 GB, free: 15.66 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.769e-05/0.7921, allocations: 31.95 kB / 0.8163 GB, free: 15.62 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.764e-05/0.7922, allocations: 16 kB / 0.8164 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007052/0.7929, allocations: 0.5185 MB / 0.8169 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.7929, allocations: 0 / 0.8169 GB, free: 15.09 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001098/0.794, allocations: 303.3 kB / 0.8171 GB, free: 14.8 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.0005506/0.7946, allocations: 215.1 kB / 0.8174 GB, free: 14.6 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001229/0.7958, allocations: 0.7129 MB / 0.818 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.336e-06/0.7958, allocations: 0 / 0.818 GB, free: 13.89 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003428/0.7962, allocations: 275.6 kB / 0.8183 GB, free: 13.62 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001836/0.798, allocations: 440 kB / 0.8187 GB, free: 13.21 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003602/0.8016, allocations: 2.3 MB / 0.821 GB, free: 10.86 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007751/0.8024, allocations: 1.118 MB / 0.8221 GB, free: 9.715 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009555/0.8034, allocations: 267.1 kB / 0.8223 GB, free: 9.449 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002007/0.8036, allocations: 67.44 kB / 0.8224 GB, free: 9.383 MB / 0.6387 GB Notification: Performance of SimCode: time 1.082e-06/0.8036, allocations: 4 kB / 0.8224 GB, free: 9.379 MB / 0.6387 GB Notification: Performance of Templates: time 0.02748/0.8311, allocations: 15.38 MB / 0.8374 GB, free: 10.27 MB / 0.6544 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)