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.001601/0.001601, allocations: 111.3 kB / 15.23 MB, free: 0.6602 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.002158/0.002158, allocations: 194.3 kB / 16.14 MB, free: 6.656 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.487/1.487, allocations: 222.9 MB / 239.8 MB, free: 4.508 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7863/0.7863, allocations: 132.2 MB / 422.2 MB, free: 1.977 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001377/0.001377, allocations: 64.38 kB / 0.5011 GB, free: 9.242 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1756/0.177, allocations: 80.22 MB / 0.5794 GB, free: 9.258 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.55/0.7269, allocations: 192.8 MB / 0.7678 GB, free: 2.535 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01911/0.7461, allocations: 14.4 MB / 0.7818 GB, free: 4.094 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001969/0.7481, allocations: 31.81 kB / 0.7818 GB, free: 4.062 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.001662/0.7498, allocations: 417.7 kB / 0.7822 GB, free: 3.652 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.006028/0.7559, allocations: 1.783 MB / 0.784 GB, free: 1.863 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.00305/0.759, allocations: 0.7633 MB / 0.7847 GB, free: 1.109 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.004979/0.764, allocations: 3.62 MB / 0.7883 GB, free: 13.48 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001739/0.7657, allocations: 0.9505 MB / 0.7892 GB, free: 12.52 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005388/0.7711, allocations: 1.436 MB / 0.7906 GB, free: 11.09 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002011/0.7732, allocations: 0.971 MB / 0.7915 GB, free: 10.12 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0003728/0.7735, allocations: 60 kB / 0.7916 GB, free: 10.06 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003399/0.7769, allocations: 1.251 MB / 0.7928 GB, free: 8.805 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0008304/0.7778, allocations: 462.7 kB / 0.7933 GB, free: 8.352 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001316/0.7791, allocations: 0.5948 MB / 0.7938 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003539/0.7827, allocations: 1.924 MB / 0.7957 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.741e-06/0.7827, allocations: 0 / 0.7957 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.313e-06/0.7827, allocations: 0 / 0.7957 GB, free: 5.824 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 7.185e-05/0.7828, allocations: 0 / 0.7957 GB, free: 5.824 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.003106/0.7859, allocations: 1.451 MB / 0.7971 GB, free: 4.32 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.125e-05/0.7859, allocations: 8.031 kB / 0.7971 GB, free: 4.312 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001699/0.7876, allocations: 254.3 kB / 0.7974 GB, free: 4.062 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001524/0.7892, allocations: 0.7492 MB / 0.7981 GB, free: 3.27 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.122e-05/0.7892, allocations: 70 kB / 0.7982 GB, free: 3.199 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000178/0.7894, allocations: 96 kB / 0.7983 GB, free: 3.105 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001938/0.7914, allocations: 1.169 MB / 0.7994 GB, free: 1.867 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.172e-05/0.7914, allocations: 7.875 kB / 0.7994 GB, free: 1.859 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.143e-05/0.7915, allocations: 43.98 kB / 0.7995 GB, free: 1.816 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.181e-05/0.7916, allocations: 37.94 kB / 0.7995 GB, free: 1.777 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001644/0.7932, allocations: 0.8976 MB / 0.8004 GB, free: 0.8789 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.006183/0.7994, allocations: 5.723 MB / 0.806 GB, free: 10.7 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008061/0.8002, allocations: 0.5329 MB / 0.8065 GB, free: 10.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004274/0.8007, allocations: 318.6 kB / 0.8068 GB, free: 9.848 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006011/0.8013, allocations: 311.7 kB / 0.8071 GB, free: 9.488 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.271e-05/0.8013, allocations: 39 kB / 0.8071 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.344e-06/0.8013, allocations: 0 / 0.8071 GB, free: 9.441 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001533/0.8029, allocations: 0.7948 MB / 0.8079 GB, free: 8.641 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.271e-05/0.8029, allocations: 63.84 kB / 0.808 GB, free: 8.566 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009587/0.8039, allocations: 0.7509 MB / 0.8087 GB, free: 7.809 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 5.514e-05/0.804, allocations: 37.7 kB / 0.8087 GB, free: 7.766 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003683/0.8043, allocations: 0.5144 MB / 0.8092 GB, free: 7.242 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001604/0.8045, allocations: 177.5 kB / 0.8094 GB, free: 7.066 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002157/0.8047, allocations: 142.5 kB / 0.8095 GB, free: 6.922 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.8049, allocations: 337.9 kB / 0.8099 GB, free: 6.586 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003971/0.8053, allocations: 241.9 kB / 0.8101 GB, free: 6.352 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006257/0.8059, allocations: 0.5605 MB / 0.8106 GB, free: 5.656 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001014/0.8069, allocations: 0.7995 MB / 0.8114 GB, free: 4.75 MB / 0.6231 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.025e-05/0.807, allocations: 4 kB / 0.8114 GB, free: 4.746 MB / 0.6231 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001371/0.8083, allocations: 0.8427 MB / 0.8123 GB, free: 3.895 MB / 0.6231 GB Notification: Performance of prepare postOptimizeDAE: time 2.564e-05/0.8084, allocations: 8 kB / 0.8123 GB, free: 3.887 MB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.658e-05/0.8084, allocations: 8 kB / 0.8123 GB, free: 3.879 MB / 0.6231 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.745e-05/0.8084, allocations: 12 kB / 0.8123 GB, free: 3.867 MB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005911/0.809, allocations: 155.8 kB / 0.8124 GB, free: 3.715 MB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.445e-05/0.8091, allocations: 19.92 kB / 0.8124 GB, free: 3.695 MB / 0.6231 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009802/0.81, allocations: 148.8 kB / 0.8126 GB, free: 3.551 MB / 0.6231 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.633e-05/0.8101, allocations: 32 kB / 0.8126 GB, free: 3.52 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.0004677/0.8106, allocations: 329.5 kB / 0.8129 GB, free: 3.188 MB / 0.6231 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/0.8108, allocations: 86.97 kB / 0.813 GB, free: 3.102 MB / 0.6231 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001053/0.8118, allocations: 0.6179 MB / 0.8136 GB, free: 2.477 MB / 0.6231 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.983e-06/0.8118, allocations: 4 kB / 0.8136 GB, free: 2.473 MB / 0.6231 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.914e-06/0.8119, allocations: 4 kB / 0.8136 GB, free: 2.469 MB / 0.6231 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007178/0.8126, allocations: 0.5211 MB / 0.8141 GB, free: 1.934 MB / 0.6231 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002683/0.8153, allocations: 1.658 MB / 0.8158 GB, free: 204 kB / 0.6231 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.472e-06/0.8153, allocations: 7.938 kB / 0.8158 GB, free: 196 kB / 0.6231 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005525/0.8159, allocations: 111.9 kB / 0.8159 GB, free: 84 kB / 0.6231 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.088e-05/0.8159, allocations: 4 kB / 0.8159 GB, free: 80 kB / 0.6231 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.534e-05/0.8159, allocations: 12 kB / 0.8159 GB, free: 68 kB / 0.6231 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.779e-06/0.8159, allocations: 4 kB / 0.8159 GB, free: 64 kB / 0.6231 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.62e-06/0.816, allocations: 7.984 kB / 0.8159 GB, free: 56 kB / 0.6231 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001471/0.8174, allocations: 1.05 MB / 0.8169 GB, free: 14.97 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004361/0.8179, allocations: 236 kB / 0.8171 GB, free: 14.72 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001562/0.818, allocations: 19.98 kB / 0.8172 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006903/0.8187, allocations: 62.84 kB / 0.8172 GB, free: 14.64 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.103e-05/0.8188, allocations: 35.89 kB / 0.8173 GB, free: 14.61 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.008e-05/0.8189, allocations: 16 kB / 0.8173 GB, free: 14.59 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0007325/0.8196, allocations: 0.5184 MB / 0.8178 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.3e-07/0.8196, allocations: 0 / 0.8178 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0009826/0.8206, allocations: 303.3 kB / 0.8181 GB, free: 13.78 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.000539/0.8212, allocations: 200.2 kB / 0.8183 GB, free: 13.59 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001042/0.8222, allocations: 0.6006 MB / 0.8189 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 4.399e-06/0.8222, allocations: 4.062 kB / 0.8189 GB, free: 12.98 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003908/0.8226, allocations: 283.5 kB / 0.8191 GB, free: 12.7 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002233/0.8249, allocations: 438.6 kB / 0.8195 GB, free: 12.29 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003625/0.8285, allocations: 2.304 MB / 0.8218 GB, free: 9.941 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001063/0.8296, allocations: 1.118 MB / 0.8229 GB, free: 8.797 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.00111/0.8307, allocations: 267.1 kB / 0.8231 GB, free: 8.531 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000244/0.831, allocations: 71.44 kB / 0.8232 GB, free: 8.461 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.831, allocations: 4 kB / 0.8232 GB, free: 8.457 MB / 0.6387 GB Notification: Performance of Templates: time 0.02866/0.8596, allocations: 14.97 MB / 0.8378 GB, free: 9.742 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)