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.001337/0.001337, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001425/0.001425, allocations: 193.7 kB / 16.25 MB, free: 6.629 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.499/1.499, allocations: 222.9 MB / 239.9 MB, free: 4.547 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.049/1.049, allocations: 135.2 MB / 425.2 MB, free: 11.88 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001898/0.001898, allocations: 68.8 kB / 0.5049 GB, free: 5.617 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1805/0.1824, allocations: 80.93 MB / 0.5839 GB, free: 4.848 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5318/0.7143, allocations: 192.6 MB / 0.772 GB, free: 12.7 MB / 0.5919 GB Notification: Performance of NFInst.instExpressions: time 0.0194/0.7337, allocations: 14.21 MB / 0.7859 GB, free: 14.43 MB / 0.6075 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001497/0.7352, allocations: 35.81 kB / 0.7859 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFTyping.typeComponents: time 0.001634/0.7369, allocations: 433.7 kB / 0.7863 GB, free: 13.97 MB / 0.6075 GB Notification: Performance of NFTyping.typeBindings: time 0.00518/0.7421, allocations: 1.767 MB / 0.788 GB, free: 12.2 MB / 0.6075 GB Notification: Performance of NFTyping.typeClassSections: time 0.002455/0.7446, allocations: 0.7855 MB / 0.7888 GB, free: 11.42 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.003446/0.748, allocations: 2.573 MB / 0.7913 GB, free: 8.844 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001491/0.7496, allocations: 1.08 MB / 0.7924 GB, free: 7.754 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004749/0.7543, allocations: 1.585 MB / 0.7939 GB, free: 6.184 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001978/0.7563, allocations: 0.9821 MB / 0.7949 GB, free: 5.211 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0002435/0.7566, allocations: 115.9 kB / 0.795 GB, free: 5.098 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002555/0.7591, allocations: 1.146 MB / 0.7961 GB, free: 3.949 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006255/0.7598, allocations: 0.4988 MB / 0.7966 GB, free: 3.449 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009618/0.7607, allocations: 0.6377 MB / 0.7972 GB, free: 2.809 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.003176/0.7639, allocations: 1.967 MB / 0.7991 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 7.153e-06/0.764, allocations: 0 / 0.7991 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of FrontEnd: time 2.475e-06/0.764, allocations: 0 / 0.7991 GB, free: 0.8359 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 4.174e-05/0.764, allocations: 0 / 0.7991 GB, free: 0.8359 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.002968/0.767, allocations: 1.455 MB / 0.8005 GB, free: 15.33 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.197e-05/0.767, allocations: 8.031 kB / 0.8006 GB, free: 15.32 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001452/0.7685, allocations: 262.2 kB / 0.8008 GB, free: 15.07 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001362/0.7699, allocations: 0.7531 MB / 0.8015 GB, free: 14.27 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.538e-05/0.77, allocations: 70 kB / 0.8016 GB, free: 14.2 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001696/0.7702, allocations: 95.94 kB / 0.8017 GB, free: 14.11 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001996/0.7722, allocations: 1.177 MB / 0.8028 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.886e-05/0.7722, allocations: 3.938 kB / 0.8029 GB, free: 12.86 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.642e-05/0.7723, allocations: 40 kB / 0.8029 GB, free: 12.82 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.262e-05/0.7724, allocations: 34 kB / 0.8029 GB, free: 12.78 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001491/0.7739, allocations: 0.9015 MB / 0.8038 GB, free: 11.88 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.006778/0.7806, allocations: 5.719 MB / 0.8094 GB, free: 5.699 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0009029/0.7816, allocations: 0.533 MB / 0.8099 GB, free: 5.16 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004688/0.7821, allocations: 322.6 kB / 0.8102 GB, free: 4.844 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006419/0.7827, allocations: 307.7 kB / 0.8105 GB, free: 4.488 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.7828, allocations: 42.94 kB / 0.8106 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=49): time 2.595e-06/0.7828, allocations: 0 / 0.8106 GB, free: 4.438 MB / 0.6231 GB Notification: Performance of matching and sorting (n=49): time 0.001671/0.7844, allocations: 0.7948 MB / 0.8113 GB, free: 3.633 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.372e-05/0.7845, allocations: 59.84 kB / 0.8114 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001028/0.7855, allocations: 0.7586 MB / 0.8121 GB, free: 2.793 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.958e-05/0.7856, allocations: 37.7 kB / 0.8122 GB, free: 2.75 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004273/0.7861, allocations: 0.5066 MB / 0.8127 GB, free: 2.234 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001821/0.7862, allocations: 177.5 kB / 0.8128 GB, free: 2.059 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002267/0.7865, allocations: 142.6 kB / 0.813 GB, free: 1.914 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001558/0.7866, allocations: 334 kB / 0.8133 GB, free: 1.582 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004418/0.7871, allocations: 249.8 kB / 0.8135 GB, free: 1.336 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006918/0.7878, allocations: 0.5605 MB / 0.8141 GB, free: 0.6406 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.7889, allocations: 0.7918 MB / 0.8148 GB, free: 15.74 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.075e-06/0.7889, allocations: 8 kB / 0.8148 GB, free: 15.73 MB / 0.6387 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001382/0.7903, allocations: 0.8461 MB / 0.8157 GB, free: 14.88 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.238e-05/0.7903, allocations: 8 kB / 0.8157 GB, free: 14.87 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/0.7903, allocations: 8 kB / 0.8157 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.65e-05/0.7904, allocations: 12 kB / 0.8157 GB, free: 14.85 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006487/0.791, allocations: 156.4 kB / 0.8158 GB, free: 14.7 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.079e-05/0.791, allocations: 12 kB / 0.8159 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009089/0.792, allocations: 142.9 kB / 0.816 GB, free: 14.54 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.453e-05/0.792, allocations: 39.98 kB / 0.816 GB, free: 14.5 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.0005505/0.7926, allocations: 321.5 kB / 0.8163 GB, free: 14.18 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001768/0.7928, allocations: 90.95 kB / 0.8164 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001086/0.7939, allocations: 0.6218 MB / 0.817 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.763e-06/0.7939, allocations: 4 kB / 0.817 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.878e-06/0.7939, allocations: 1.5 kB / 0.817 GB, free: 13.46 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0007634/0.7947, allocations: 0.5211 MB / 0.8175 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002676/0.7974, allocations: 1.665 MB / 0.8192 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.777e-06/0.7974, allocations: 0 / 0.8192 GB, free: 11.18 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005389/0.7979, allocations: 107.9 kB / 0.8193 GB, free: 11.08 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.003e-05/0.7979, allocations: 7.984 kB / 0.8193 GB, free: 11.07 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.05e-05/0.798, allocations: 16 kB / 0.8193 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.494e-06/0.798, allocations: 7.938 kB / 0.8193 GB, free: 11.05 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.396e-06/0.798, allocations: 7.422 kB / 0.8193 GB, free: 11.04 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001494/0.7995, allocations: 1.054 MB / 0.8203 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003927/0.7999, allocations: 227.9 kB / 0.8206 GB, free: 9.711 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001093/0.8, allocations: 12.88 kB / 0.8206 GB, free: 9.699 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005772/0.8006, allocations: 63.84 kB / 0.8206 GB, free: 9.637 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.995e-05/0.8007, allocations: 31.95 kB / 0.8207 GB, free: 9.605 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.011e-05/0.8007, allocations: 20 kB / 0.8207 GB, free: 9.586 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.0006808/0.8014, allocations: 0.5146 MB / 0.8212 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of sort global known variables: time 1.2e-07/0.8014, allocations: 0 / 0.8212 GB, free: 9.074 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.0008857/0.8023, allocations: 303.3 kB / 0.8215 GB, free: 8.777 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.0005041/0.8028, allocations: 207.3 kB / 0.8217 GB, free: 8.582 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.001289/0.8041, allocations: 0.7169 MB / 0.8224 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 3.827e-06/0.8042, allocations: 0 / 0.8224 GB, free: 7.863 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.0004011/0.8046, allocations: 276.8 kB / 0.8226 GB, free: 7.594 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002019/0.8066, allocations: 443.4 kB / 0.8231 GB, free: 7.191 MB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003344/0.8099, allocations: 2.307 MB / 0.8253 GB, free: 4.836 MB / 0.6387 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008184/0.8108, allocations: 1.118 MB / 0.8264 GB, free: 3.691 MB / 0.6387 GB Notification: Performance of simCode: alias equations: time 0.0009689/0.8118, allocations: 271 kB / 0.8267 GB, free: 3.422 MB / 0.6387 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002008/0.812, allocations: 67.44 kB / 0.8267 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of SimCode: time 8.32e-07/0.812, allocations: 0 / 0.8267 GB, free: 3.355 MB / 0.6387 GB Notification: Performance of Templates: time 0.03001/0.842, allocations: 15.39 MB / 0.8418 GB, free: 4.223 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)