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.005591/0.005591, allocations: 102 kB / 15.73 MB, free: 6.043 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.001192/0.001192, allocations: 196.2 kB / 16.67 MB, free: 5.965 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.394/1.394, 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/package.mo): time 0.8095/0.8095, allocations: 132.2 MB / 422.7 MB, free: 6.52 MB / 334.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001171, allocations: 69 kB / 0.5814 GB, free: 23.82 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1529/0.1541, allocations: 80.22 MB / 0.6597 GB, free: 10.22 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6536/0.8077, allocations: 195.1 MB / 0.8502 GB, free: 15.26 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.0176/0.8254, allocations: 14.3 MB / 0.8642 GB, free: 3.668 MB / 0.6231 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001687/0.8271, allocations: 44.59 kB / 0.8642 GB, free: 3.648 MB / 0.6231 GB Notification: Performance of NFTyping.typeComponents: time 0.001759/0.8289, allocations: 0.5123 MB / 0.8647 GB, free: 3.219 MB / 0.6231 GB Notification: Performance of NFTyping.typeBindings: time 0.00517/0.8341, allocations: 1.952 MB / 0.8666 GB, free: 1.734 MB / 0.6231 GB Notification: Performance of NFTyping.typeClassSections: time 0.002939/0.8371, allocations: 0.8696 MB / 0.8675 GB, free: 1.074 MB / 0.6231 GB Notification: Performance of NFFlatten.flatten: time 0.003597/0.8407, allocations: 2.578 MB / 0.87 GB, free: 14.52 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001751/0.8424, allocations: 1.116 MB / 0.8711 GB, free: 13.38 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004553/0.847, allocations: 1.648 MB / 0.8727 GB, free: 11.75 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/0.8488, allocations: 0.9276 MB / 0.8736 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0003096/0.8491, allocations: 104 kB / 0.8737 GB, free: 10.72 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002495/0.8516, allocations: 1.103 MB / 0.8748 GB, free: 9.617 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0006372/0.8523, allocations: 0.4987 MB / 0.8753 GB, free: 9.117 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.001155/0.8534, allocations: 0.6377 MB / 0.8759 GB, free: 8.477 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003413/0.8569, allocations: 1.92 MB / 0.8778 GB, free: 6.551 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.639e-06/0.8569, allocations: 3.938 kB / 0.8778 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.573e-06/0.8569, allocations: 0 / 0.8778 GB, free: 6.547 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 5.71e-05/0.857, allocations: 0 / 0.8778 GB, free: 6.547 MB / 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.002816/0.8598, allocations: 1.449 MB / 0.8792 GB, free: 5.043 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 4.767e-05/0.8598, allocations: 8.031 kB / 0.8792 GB, free: 5.035 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001495/0.8613, allocations: 258.4 kB / 0.8794 GB, free: 4.781 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00144/0.8628, allocations: 0.7882 MB / 0.8802 GB, free: 3.949 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.701e-05/0.8629, allocations: 74 kB / 0.8803 GB, free: 3.875 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000143/0.863, allocations: 92 kB / 0.8804 GB, free: 3.785 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001684/0.8647, allocations: 1.173 MB / 0.8815 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.747e-05/0.8647, allocations: 0 / 0.8815 GB, free: 2.543 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.249e-05/0.8648, allocations: 47.94 kB / 0.8815 GB, free: 2.496 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.451e-05/0.8649, allocations: 30 kB / 0.8816 GB, free: 2.465 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001362/0.8662, allocations: 0.9015 MB / 0.8825 GB, free: 1.562 MB / 0.6387 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.00756/0.8738, allocations: 5.739 MB / 0.8881 GB, free: 11.36 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001286/0.8751, allocations: 0.528 MB / 0.8886 GB, free: 10.83 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008422/0.876, allocations: 322.6 kB / 0.8889 GB, free: 10.51 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007846/0.8768, allocations: 311.7 kB / 0.8892 GB, free: 10.15 MB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.568e-05/0.8768, allocations: 39 kB / 0.8892 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of pre-optimization done (n=49): time 3.417e-06/0.8768, allocations: 0 / 0.8892 GB, free: 10.11 MB / 0.6544 GB Notification: Performance of matching and sorting (n=49): time 0.002258/0.8791, allocations: 0.7987 MB / 0.89 GB, free: 9.297 MB / 0.6544 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.954e-05/0.8792, allocations: 59.78 kB / 0.8901 GB, free: 9.227 MB / 0.6544 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00145/0.8806, allocations: 0.7625 MB / 0.8908 GB, free: 8.457 MB / 0.6544 GB Notification: Performance of collectPreVariables (initialization): time 6.863e-05/0.8807, allocations: 33.7 kB / 0.8908 GB, free: 8.418 MB / 0.6544 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005306/0.8813, allocations: 0.5066 MB / 0.8913 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.8815, allocations: 173.5 kB / 0.8915 GB, free: 7.73 MB / 0.6544 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002883/0.8818, allocations: 142.5 kB / 0.8916 GB, free: 7.586 MB / 0.6544 GB Notification: Performance of setup shared object (initialization): time 0.0001759/0.882, allocations: 341.9 kB / 0.892 GB, free: 7.246 MB / 0.6544 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005679/0.8826, allocations: 245.9 kB / 0.8922 GB, free: 7.004 MB / 0.6544 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009356/0.8836, allocations: 0.5566 MB / 0.8927 GB, free: 6.309 MB / 0.6544 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001642/0.8852, allocations: 0.8073 MB / 0.8935 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.693e-06/0.8852, allocations: 0 / 0.8935 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.002067/0.8873, allocations: 0.8465 MB / 0.8943 GB, free: 4.535 MB / 0.6544 GB Notification: Performance of prepare postOptimizeDAE: time 3.146e-05/0.8874, allocations: 8 kB / 0.8944 GB, free: 4.527 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.947e-05/0.8874, allocations: 15.92 kB / 0.8944 GB, free: 4.512 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.006e-05/0.8874, allocations: 12 kB / 0.8944 GB, free: 4.5 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0009013/0.8883, allocations: 151.8 kB / 0.8945 GB, free: 4.352 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.037e-05/0.8884, allocations: 23.86 kB / 0.8945 GB, free: 4.328 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00106/0.8894, allocations: 87.58 kB / 0.8946 GB, free: 4.242 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.635e-05/0.8895, allocations: 32 kB / 0.8947 GB, free: 4.211 MB / 0.6544 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.0006858/0.8902, allocations: 329.5 kB / 0.895 GB, free: 3.879 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001976/0.8904, allocations: 90.88 kB / 0.8951 GB, free: 3.789 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001545/0.892, allocations: 0.6141 MB / 0.8957 GB, free: 3.172 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.788e-06/0.892, allocations: 4 kB / 0.8957 GB, free: 3.168 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.069e-05/0.8921, allocations: 3.938 kB / 0.8957 GB, free: 3.164 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001232/0.8933, allocations: 0.525 MB / 0.8962 GB, free: 2.625 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00415/0.8975, allocations: 1.663 MB / 0.8978 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.422e-06/0.8975, allocations: 0 / 0.8978 GB, free: 0.8828 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00102/0.8985, allocations: 111.9 kB / 0.8979 GB, free: 0.7734 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.347e-05/0.8985, allocations: 7.938 kB / 0.8979 GB, free: 0.7656 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.067e-05/0.8986, allocations: 16 kB / 0.8979 GB, free: 0.75 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.568e-06/0.8987, allocations: 4 kB / 0.8979 GB, free: 0.7461 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.943e-06/0.8987, allocations: 3.984 kB / 0.8979 GB, free: 0.7422 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002502/0.9012, allocations: 1.054 MB / 0.899 GB, free: 15.65 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005758/0.9018, allocations: 223.9 kB / 0.8992 GB, free: 15.41 MB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002124/0.902, allocations: 15.98 kB / 0.8992 GB, free: 15.4 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008752/0.9029, allocations: 19 kB / 0.8992 GB, free: 15.38 MB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00014/0.9031, allocations: 31.95 kB / 0.8992 GB, free: 15.35 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.618e-05/0.9032, allocations: 19.94 kB / 0.8993 GB, free: 15.33 MB / 0.67 GB Notification: Performance of sorting global known variables: time 0.001356/0.9045, allocations: 0.5185 MB / 0.8998 GB, free: 14.82 MB / 0.67 GB Notification: Performance of sort global known variables: time 5.21e-07/0.9046, allocations: 0 / 0.8998 GB, free: 14.82 MB / 0.67 GB Notification: Performance of remove unused functions: time 0.001765/0.9063, allocations: 287.4 kB / 0.9 GB, free: 14.54 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.0007469/0.9071, allocations: 222.5 kB / 0.9003 GB, free: 14.33 MB / 0.67 GB Notification: Performance of simCode: created initialization part: time 0.001858/0.909, allocations: 0.612 MB / 0.9009 GB, free: 13.72 MB / 0.67 GB Notification: Performance of simCode: created event and clocks part: time 5.139e-06/0.909, allocations: 0 / 0.9009 GB, free: 13.72 MB / 0.67 GB Notification: Performance of simCode: created simulation system equations: time 0.0007147/0.9097, allocations: 276.2 kB / 0.9011 GB, free: 13.45 MB / 0.67 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003261/0.913, allocations: 437.5 kB / 0.9015 GB, free: 13.04 MB / 0.67 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004859/0.9179, allocations: 1.903 MB / 0.9034 GB, free: 11.09 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001252/0.9191, allocations: 1.122 MB / 0.9045 GB, free: 9.938 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001295/0.9205, allocations: 271 kB / 0.9048 GB, free: 9.668 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003105/0.9208, allocations: 71.42 kB / 0.9048 GB, free: 9.598 MB / 0.67 GB Notification: Performance of SimCode: time 8.12e-07/0.9208, allocations: 0 / 0.9048 GB, free: 9.598 MB / 0.67 GB Notification: Performance of Templates: time 0.04457/0.9654, allocations: 15.61 MB / 0.9201 GB, free: 10.22 MB / 0.6856 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)