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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.0008522/0.0008522, allocations: 81.95 kB / 19.87 MB, free: 4.617 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.0009494/0.0009494, allocations: 169.7 kB / 23.28 MB, free: 1.219 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.007/1.007, allocations: 177.1 MB / 203.7 MB, free: 5.512 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:34:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-535:42:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 0.8187/0.8187, allocations: 154.9 MB / 415.1 MB, free: 224 kB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 0.5212 GB, free: 1.484 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.867e-05/2.025e-05, allocations: 2.312 kB / 0.5212 GB, free: 1.48 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.1376/0.1376, allocations: 149.1 MB / 0.6668 GB, free: 11.98 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.007343/0.145, allocations: 4.095 MB / 0.6708 GB, free: 7.879 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001133/0.1461, allocations: 47.62 kB / 0.6709 GB, free: 7.832 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.0008673/0.147, allocations: 286 kB / 0.6711 GB, free: 7.551 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.002362/0.1493, allocations: 1.278 MB / 0.6724 GB, free: 6.266 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.00521/0.1545, allocations: 0.8143 MB / 0.6732 GB, free: 5.449 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003755/0.1583, allocations: 2.585 MB / 0.6757 GB, free: 2.859 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001573/0.1599, allocations: 0.8266 MB / 0.6765 GB, free: 2.008 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004501/0.1644, allocations: 1.568 MB / 0.678 GB, free: 0.5078 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.3103/0.4746, allocations: 0.8394 MB / 0.6789 GB, free: 50.64 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0003164/0.475, allocations: 104.1 kB / 0.679 GB, free: 50.64 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0009982/0.476, allocations: 432.6 kB / 0.6794 GB, free: 50.64 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0003508/0.4763, allocations: 0.5421 MB / 0.6799 GB, free: 50.64 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004394/0.4768, allocations: 452.8 kB / 0.6803 GB, free: 50.64 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.001362/0.4781, allocations: 1.211 MB / 0.6815 GB, free: 50.59 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 3.617e-06/0.4781, allocations: 2.875 kB / 0.6815 GB, free: 50.59 MB / 0.6355 GB Notification: Performance of FrontEnd: time 9.72e-07/0.4781, allocations: 0 / 0.6815 GB, free: 50.59 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.223e-05/0.4781, allocations: 0 / 0.6815 GB, free: 50.59 MB / 0.6355 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.001152/0.4793, allocations: 1.482 MB / 0.683 GB, free: 49.8 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.533e-05/0.4793, allocations: 11.25 kB / 0.683 GB, free: 49.8 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00066/0.48, allocations: 339.4 kB / 0.6833 GB, free: 49.71 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006062/0.4806, allocations: 0.7023 MB / 0.684 GB, free: 49.44 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.442e-05/0.4806, allocations: 72.62 kB / 0.684 GB, free: 49.43 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001143/0.4808, allocations: 98.06 kB / 0.6841 GB, free: 49.43 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005796/0.4813, allocations: 0.9078 MB / 0.685 GB, free: 48.97 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.881e-05/0.4814, allocations: 5.094 kB / 0.685 GB, free: 48.97 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.222e-05/0.4814, allocations: 39.95 kB / 0.6851 GB, free: 48.97 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.893e-05/0.4814, allocations: 32.91 kB / 0.6851 GB, free: 48.96 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003114/0.4817, allocations: 315 kB / 0.6854 GB, free: 48.95 MB / 0.6355 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.002224/0.484, allocations: 4.68 MB / 0.69 GB, free: 45.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0002988/0.4843, allocations: 254.1 kB / 0.6902 GB, free: 45.84 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001057/0.4844, allocations: 116.1 kB / 0.6903 GB, free: 45.82 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001784/0.4846, allocations: 69.92 kB / 0.6904 GB, free: 45.82 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.773e-05/0.4846, allocations: 40.58 kB / 0.6904 GB, free: 45.78 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 1.403e-06/0.4846, allocations: 0 / 0.6904 GB, free: 45.78 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.0005715/0.4851, allocations: 419.3 kB / 0.6908 GB, free: 45.69 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.132e-05/0.4852, allocations: 58.41 kB / 0.6909 GB, free: 45.63 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005125/0.4857, allocations: 0.6516 MB / 0.6915 GB, free: 45.42 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 3.524e-05/0.4857, allocations: 36.42 kB / 0.6916 GB, free: 45.39 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003158/0.486, allocations: 0.5795 MB / 0.6921 GB, free: 45.07 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 9.103e-05/0.4861, allocations: 189.5 kB / 0.6923 GB, free: 44.95 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001369/0.4863, allocations: 157.2 kB / 0.6925 GB, free: 44.92 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.000122/0.4864, allocations: 0.573 MB / 0.693 GB, free: 44.43 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 9.798e-05/0.4865, allocations: 74.11 kB / 0.6931 GB, free: 44.43 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003449/0.4868, allocations: 0.7737 MB / 0.6938 GB, free: 43.56 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004337/0.4873, allocations: 0.5566 MB / 0.6944 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.771e-06/0.4873, allocations: 2.875 kB / 0.6944 GB, free: 43.14 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0006246/0.4879, allocations: 0.526 MB / 0.6949 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.669e-05/0.4879, allocations: 15.41 kB / 0.6949 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.538e-06/0.4879, allocations: 7.625 kB / 0.6949 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.635e-05/0.4879, allocations: 11.38 kB / 0.6949 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002887/0.4882, allocations: 153.3 kB / 0.6951 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.125e-05/0.4882, allocations: 18.55 kB / 0.6951 GB, free: 43.05 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002723/0.4885, allocations: 70.8 kB / 0.6952 GB, free: 43.01 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.748e-05/0.4885, allocations: 32.03 kB / 0.6952 GB, free: 43.01 MB / 0.6355 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.0001435/0.4887, allocations: 204.5 kB / 0.6954 GB, free: 42.85 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.272e-05/0.4888, allocations: 101.9 kB / 0.6955 GB, free: 42.8 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003672/0.4891, allocations: 349.8 kB / 0.6958 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.988e-06/0.4891, allocations: 6.406 kB / 0.6958 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.394e-06/0.4891, allocations: 2.75 kB / 0.6958 GB, free: 42.75 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0002192/0.4894, allocations: 252.5 kB / 0.6961 GB, free: 42.68 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009286/0.4903, allocations: 1.028 MB / 0.6971 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.564e-06/0.4903, allocations: 2.688 kB / 0.6971 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002398/0.4905, allocations: 106.1 kB / 0.6972 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 6.072e-06/0.4905, allocations: 6.922 kB / 0.6972 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.372e-05/0.4906, allocations: 15.25 kB / 0.6972 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.527e-06/0.4906, allocations: 7 kB / 0.6972 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.284e-06/0.4906, allocations: 2.781 kB / 0.6972 GB, free: 42.3 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004968/0.4911, allocations: 0.6187 MB / 0.6978 GB, free: 41.97 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0001442/0.4912, allocations: 133.8 kB / 0.6979 GB, free: 41.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.793e-05/0.4913, allocations: 16.91 kB / 0.698 GB, free: 41.92 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001797/0.4914, allocations: 18.02 kB / 0.698 GB, free: 41.92 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.14e-05/0.4915, allocations: 37.31 kB / 0.698 GB, free: 41.91 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.096e-05/0.4915, allocations: 18.66 kB / 0.698 GB, free: 41.91 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0002029/0.4917, allocations: 382.6 kB / 0.6984 GB, free: 41.78 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.4917, allocations: 2.719 kB / 0.6984 GB, free: 41.78 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.0005068/0.4922, allocations: 306.9 kB / 0.6987 GB, free: 41.73 MB / 0.6355 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 4 (vol.dynBal.medium.Xi[1],vol.dynBal.U,vol.dynBal.m,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.0005111/0.4927, allocations: 172 kB / 0.6988 GB, free: 41.64 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0008425/0.4936, allocations: 323.4 kB / 0.6992 GB, free: 41.61 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 6.472e-06/0.4936, allocations: 9.469 kB / 0.6992 GB, free: 41.61 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0001513/0.4937, allocations: 137.1 kB / 0.6993 GB, free: 41.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001732/0.4955, allocations: 391.2 kB / 0.6997 GB, free: 41.59 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003204/0.4987, allocations: 1.653 MB / 0.7013 GB, free: 40.79 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002651/0.4989, allocations: 246.5 kB / 0.7015 GB, free: 40.72 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0006205/0.4995, allocations: 126.4 kB / 0.7016 GB, free: 40.7 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009183/0.5005, allocations: 382.4 kB / 0.702 GB, free: 40.63 MB / 0.6355 GB Notification: Performance of SimCode: time 1.273e-06/0.5005, allocations: 1.891 kB / 0.702 GB, free: 40.63 MB / 0.6355 GB Notification: Performance of Templates: time 0.02918/0.5296, allocations: 15.36 MB / 0.717 GB, free: 39.29 MB / 0.6355 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (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=240 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 240] [Calling sys.exit(0), Time elapsed: 4.631016957107931]