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.001558/0.001559, 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.001552/0.001552, allocations: 192.5 kB / 16.25 MB, free: 6.633 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.357/1.357, allocations: 222.9 MB / 239.9 MB, free: 4.531 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9574/0.9574, allocations: 135.6 MB / 425.6 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00189/0.00189, allocations: 64.22 kB / 0.5054 GB, free: 5.227 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1863/0.1882, allocations: 81.02 MB / 0.5845 GB, free: 4.348 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.4693/0.6575, allocations: 192.6 MB / 0.7725 GB, free: 11.91 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.01798/0.6756, allocations: 14.21 MB / 0.7864 GB, free: 13.65 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001131/0.6767, allocations: 31.81 kB / 0.7864 GB, free: 13.62 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001334/0.6781, allocations: 433.7 kB / 0.7869 GB, free: 13.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.004161/0.6823, allocations: 1.77 MB / 0.7886 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002108/0.6844, allocations: 0.7858 MB / 0.7894 GB, free: 10.64 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003161/0.6876, allocations: 2.573 MB / 0.7919 GB, free: 8.059 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.6889, allocations: 1.063 MB / 0.7929 GB, free: 6.984 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004384/0.6933, allocations: 1.603 MB / 0.7945 GB, free: 5.406 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001667/0.695, allocations: 0.9789 MB / 0.7954 GB, free: 4.43 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0001722/0.6952, allocations: 108 kB / 0.7955 GB, free: 4.324 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002102/0.6973, allocations: 1.146 MB / 0.7966 GB, free: 3.176 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0005283/0.6978, allocations: 0.4988 MB / 0.7971 GB, free: 2.676 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.000735/0.6986, allocations: 0.6377 MB / 0.7978 GB, free: 2.035 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.002712/0.7013, allocations: 1.975 MB / 0.7997 GB, free: 56 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.178e-06/0.7013, allocations: 0 / 0.7997 GB, free: 56 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.523e-06/0.7013, allocations: 0 / 0.7997 GB, free: 56 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 1.775e-05/0.7014, allocations: 0 / 0.7997 GB, free: 56 kB / 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.002367/0.7037, allocations: 1.455 MB / 0.8011 GB, free: 14.55 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.7038, allocations: 8.031 kB / 0.8011 GB, free: 14.54 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001383/0.7052, allocations: 254.3 kB / 0.8014 GB, free: 14.29 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001251/0.7064, allocations: 0.757 MB / 0.8021 GB, free: 13.49 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.255e-05/0.7065, allocations: 69.94 kB / 0.8022 GB, free: 13.42 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001464/0.7067, allocations: 96 kB / 0.8023 GB, free: 13.32 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001943/0.7086, allocations: 1.177 MB / 0.8034 GB, free: 12.08 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.319e-05/0.7087, allocations: 11.88 kB / 0.8034 GB, free: 12.07 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.878e-05/0.7088, allocations: 36 kB / 0.8035 GB, free: 12.03 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.017e-05/0.7088, allocations: 34 kB / 0.8035 GB, free: 12 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001485/0.7103, allocations: 0.8937 MB / 0.8044 GB, free: 11.11 MB / 0.6231 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.0066/0.7169, allocations: 5.723 MB / 0.8099 GB, free: 4.918 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008595/0.7178, allocations: 0.5369 MB / 0.8105 GB, free: 4.371 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005034/0.7183, allocations: 314.6 kB / 0.8108 GB, free: 4.062 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006573/0.719, allocations: 311.8 kB / 0.8111 GB, free: 3.703 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.533e-05/0.719, allocations: 39 kB / 0.8111 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 3.397e-06/0.719, allocations: 0 / 0.8111 GB, free: 3.656 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001666/0.7207, allocations: 0.8026 MB / 0.8119 GB, free: 2.848 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.439e-05/0.7208, allocations: 59.84 kB / 0.8119 GB, free: 2.777 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001036/0.7218, allocations: 0.7547 MB / 0.8127 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.298e-05/0.7219, allocations: 37.7 kB / 0.8127 GB, free: 1.969 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004287/0.7223, allocations: 0.5065 MB / 0.8132 GB, free: 1.453 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001854/0.7225, allocations: 177.5 kB / 0.8134 GB, free: 1.277 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.7228, allocations: 142.6 kB / 0.8135 GB, free: 1.133 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.7229, allocations: 330 kB / 0.8138 GB, free: 0.8047 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003958/0.7233, allocations: 249.8 kB / 0.8141 GB, free: 0.5586 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006969/0.7241, allocations: 0.5606 MB / 0.8146 GB, free: 15.86 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001057/0.7251, allocations: 0.7956 MB / 0.8154 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.7251, allocations: 4 kB / 0.8154 GB, free: 14.95 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001449/0.7266, allocations: 0.8428 MB / 0.8162 GB, free: 14.1 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 3.331e-05/0.7266, allocations: 11.98 kB / 0.8162 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.403e-05/0.7267, allocations: 8 kB / 0.8162 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.782e-05/0.7267, allocations: 12 kB / 0.8163 GB, free: 14.07 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006132/0.7273, allocations: 151.8 kB / 0.8164 GB, free: 13.92 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.47e-05/0.7273, allocations: 15.94 kB / 0.8164 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009412/0.7283, allocations: 148.5 kB / 0.8166 GB, free: 13.76 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.148e-05/0.7284, allocations: 36 kB / 0.8166 GB, free: 13.72 MB / 0.6387 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.0004879/0.7289, allocations: 329.5 kB / 0.8169 GB, free: 13.39 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001435/0.729, allocations: 86.97 kB / 0.817 GB, free: 13.3 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001064/0.7301, allocations: 0.614 MB / 0.8176 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.844e-06/0.7301, allocations: 4 kB / 0.8176 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.602e-06/0.7301, allocations: 4 kB / 0.8176 GB, free: 12.68 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000763/0.7309, allocations: 0.5172 MB / 0.8181 GB, free: 12.15 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002693/0.7336, allocations: 1.666 MB / 0.8197 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.38e-06/0.7336, allocations: 3.984 kB / 0.8197 GB, free: 10.41 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005334/0.7341, allocations: 116.7 kB / 0.8198 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.983e-06/0.7342, allocations: 7.938 kB / 0.8198 GB, free: 10.29 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.232e-05/0.7342, allocations: 16 kB / 0.8199 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/0.7342, allocations: 4.625 kB / 0.8199 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.844e-06/0.7342, allocations: 0 / 0.8199 GB, free: 10.27 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001429/0.7357, allocations: 1.054 MB / 0.8209 GB, free: 9.172 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003473/0.736, allocations: 227.9 kB / 0.8211 GB, free: 8.93 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001046/0.7361, allocations: 16 kB / 0.8211 GB, free: 8.914 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005555/0.7367, allocations: 67.84 kB / 0.8212 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.828e-05/0.7368, allocations: 35.89 kB / 0.8212 GB, free: 8.812 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.578e-05/0.7368, allocations: 20 kB / 0.8212 GB, free: 8.793 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006572/0.7375, allocations: 0.5107 MB / 0.8217 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of sort global known variables: time 2.6e-07/0.7375, allocations: 0 / 0.8217 GB, free: 8.285 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008459/0.7383, allocations: 303.3 kB / 0.822 GB, free: 7.988 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.0004728/0.7388, allocations: 212.1 kB / 0.8222 GB, free: 7.797 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001174/0.74, allocations: 0.7063 MB / 0.8229 GB, free: 7.094 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 5.801e-06/0.74, allocations: 4.25 kB / 0.8229 GB, free: 7.09 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0003839/0.7404, allocations: 279.2 kB / 0.8232 GB, free: 6.816 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001829/0.7422, allocations: 441 kB / 0.8236 GB, free: 6.406 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003175/0.7454, allocations: 2.303 MB / 0.8259 GB, free: 4.055 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008004/0.7462, allocations: 1.118 MB / 0.827 GB, free: 2.91 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0008244/0.7471, allocations: 275.1 kB / 0.8272 GB, free: 2.637 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001786/0.7473, allocations: 71.42 kB / 0.8273 GB, free: 2.566 MB / 0.6387 GB Notification: Performance of SimCode: time 4.91e-07/0.7473, allocations: 4 kB / 0.8273 GB, free: 2.562 MB / 0.6387 GB Notification: Performance of Templates: time 0.02713/0.7744, allocations: 15.38 MB / 0.8423 GB, free: 3.457 MB / 0.6544 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)