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.001299/0.001299, allocations: 99.64 kB / 18.95 MB, free: 2.668 MB / 14.72 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.001488/0.001488, allocations: 210.5 kB / 22.24 MB, free: 5.262 MB / 14.72 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.598/1.598, allocations: 230.6 MB / 256 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] 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-531:190: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-531:198: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 1.394/1.394, allocations: 203.8 MB / 0.5041 GB, free: 4.645 MB / 414.1 MB " [Timeout remaining time 178] 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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002243/0.002243, allocations: 76.03 kB / 0.7187 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6914/0.6936, allocations: 102 MB / 0.8183 GB, free: 1.953 MB / 0.5919 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.2512/0.9448, allocations: 172.7 MB / 0.9869 GB, free: 4.594 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.02173/0.9666, allocations: 13.16 MB / 0.9998 GB, free: 7.395 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001604/0.9682, allocations: 55.56 kB / 0.9999 GB, free: 7.34 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.002035/0.9702, allocations: 0.4891 MB / 1 GB, free: 6.848 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.006028/0.9762, allocations: 1.94 MB / 1.002 GB, free: 4.902 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.003014/0.9792, allocations: 0.8985 MB / 1.003 GB, free: 4.008 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004411/0.9837, allocations: 2.616 MB / 1.006 GB, free: 1.383 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001843/0.9855, allocations: 0.7952 MB / 1.006 GB, free: 0.5664 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006291/0.9918, allocations: 1.897 MB / 1.008 GB, free: 14.69 MB / 0.795 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00229/0.9941, allocations: 0.9403 MB / 1.009 GB, free: 13.75 MB / 0.795 GB Notification: Performance of NFPackage.collectConstants: time 0.0004361/0.9945, allocations: 104 kB / 1.009 GB, free: 13.64 MB / 0.795 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002666/0.9972, allocations: 0.9079 MB / 1.01 GB, free: 12.73 MB / 0.795 GB Notification: Performance of NFScalarize.scalarize: time 0.0008498/0.998, allocations: 0.5141 MB / 1.011 GB, free: 12.22 MB / 0.795 GB Notification: Performance of NFVerifyModel.verify: time 0.001444/0.9995, allocations: 0.5329 MB / 1.011 GB, free: 11.68 MB / 0.795 GB Notification: Performance of NFConvertDAE.convert: time 0.003916/1.003, allocations: 1.9 MB / 1.013 GB, free: 9.777 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 5.129e-06/1.003, allocations: 0 / 1.013 GB, free: 9.777 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.933e-06/1.003, allocations: 0 / 1.013 GB, free: 9.777 MB / 0.795 GB Notification: Performance of Transformations before backend: time 6.826e-05/1.003, allocations: 0 / 1.013 GB, free: 9.777 MB / 0.795 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.003615/1.007, allocations: 1.415 MB / 1.014 GB, free: 8.328 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.306e-05/1.007, allocations: 9.469 kB / 1.014 GB, free: 8.32 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001695/1.009, allocations: 263 kB / 1.015 GB, free: 8.062 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00199/1.011, allocations: 0.7331 MB / 1.015 GB, free: 7.301 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.901e-05/1.011, allocations: 66 kB / 1.015 GB, free: 7.234 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002173/1.011, allocations: 107.9 kB / 1.016 GB, free: 7.129 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002354/1.013, allocations: 1.294 MB / 1.017 GB, free: 5.734 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.554e-05/1.013, allocations: 0 / 1.017 GB, free: 5.734 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001039/1.014, allocations: 43.92 kB / 1.017 GB, free: 5.691 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.377e-05/1.014, allocations: 34 kB / 1.017 GB, free: 5.656 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001651/1.015, allocations: 0.8976 MB / 1.018 GB, free: 4.758 MB / 0.795 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.006282/1.022, allocations: 3.998 MB / 1.022 GB, free: 0.6406 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.000902/1.022, allocations: 0.5079 MB / 1.022 GB, free: 128 kB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000472/1.023, allocations: 294.6 kB / 1.022 GB, free: 15.83 MB / 0.8106 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005215/1.023, allocations: 80.34 kB / 1.023 GB, free: 15.75 MB / 0.8106 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.152e-05/1.024, allocations: 50.88 kB / 1.023 GB, free: 15.7 MB / 0.8106 GB Notification: Performance of pre-optimization done (n=49): time 2.234e-06/1.024, allocations: 4 kB / 1.023 GB, free: 15.69 MB / 0.8106 GB Notification: Performance of matching and sorting (n=49): time 0.001713/1.025, allocations: 0.7914 MB / 1.023 GB, free: 14.9 MB / 0.8106 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.571e-05/1.025, allocations: 59.84 kB / 1.023 GB, free: 14.82 MB / 0.8106 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001016/1.026, allocations: 0.6527 MB / 1.024 GB, free: 14.17 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 7.889e-05/1.026, allocations: 37.7 kB / 1.024 GB, free: 14.12 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004697/1.027, allocations: 0.5193 MB / 1.025 GB, free: 13.6 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002121/1.027, allocations: 186.5 kB / 1.025 GB, free: 13.41 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002591/1.027, allocations: 146.6 kB / 1.025 GB, free: 13.26 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0002254/1.028, allocations: 394.7 kB / 1.025 GB, free: 12.87 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004276/1.028, allocations: 241.9 kB / 1.026 GB, free: 12.63 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008927/1.029, allocations: 0.8385 MB / 1.026 GB, free: 11.6 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001167/1.03, allocations: 0.7918 MB / 1.027 GB, free: 10.7 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.037e-05/1.03, allocations: 8 kB / 1.027 GB, free: 10.69 MB / 0.8106 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.00166/1.032, allocations: 0.8311 MB / 1.028 GB, free: 9.852 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 2.975e-05/1.032, allocations: 8 kB / 1.028 GB, free: 9.844 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.14e-05/1.032, allocations: 8 kB / 1.028 GB, free: 9.836 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.012e-05/1.032, allocations: 12 kB / 1.028 GB, free: 9.824 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007055/1.033, allocations: 160.4 kB / 1.028 GB, free: 9.668 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.4e-05/1.033, allocations: 15.94 kB / 1.028 GB, free: 9.652 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001007/1.034, allocations: 83.5 kB / 1.028 GB, free: 9.57 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.62e-05/1.034, allocations: 35.98 kB / 1.028 GB, free: 9.535 MB / 0.8106 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.0007715/1.034, allocations: 330.4 kB / 1.029 GB, free: 9.199 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002822/1.035, allocations: 83.48 kB / 1.029 GB, free: 9.117 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001365/1.036, allocations: 0.6093 MB / 1.029 GB, free: 8.496 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.415e-06/1.036, allocations: 4 kB / 1.029 GB, free: 8.492 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.331e-05/1.036, allocations: 8 kB / 1.029 GB, free: 8.484 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0009324/1.037, allocations: 0.5212 MB / 1.03 GB, free: 7.953 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003179/1.04, allocations: 1.448 MB / 1.031 GB, free: 6.441 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.44e-06/1.04, allocations: 4 kB / 1.031 GB, free: 6.438 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005876/1.041, allocations: 115.8 kB / 1.031 GB, free: 6.324 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.223e-06/1.041, allocations: 4.219 kB / 1.031 GB, free: 6.32 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.388e-05/1.041, allocations: 19.94 kB / 1.031 GB, free: 6.301 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.999e-06/1.041, allocations: 7.984 kB / 1.031 GB, free: 6.293 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.492e-06/1.041, allocations: 7.938 kB / 1.031 GB, free: 6.285 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001559/1.042, allocations: 1.004 MB / 1.032 GB, free: 5.246 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004295/1.043, allocations: 143.4 kB / 1.032 GB, free: 5.105 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001431/1.043, allocations: 19.94 kB / 1.032 GB, free: 5.086 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0005153/1.044, allocations: 11.98 kB / 1.033 GB, free: 5.074 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.12e-05/1.044, allocations: 35.89 kB / 1.033 GB, free: 5.039 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.292e-05/1.044, allocations: 23.98 kB / 1.033 GB, free: 5.016 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.0006576/1.044, allocations: 451 kB / 1.033 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of sort global known variables: time 8e-08/1.044, allocations: 0 / 1.033 GB, free: 4.582 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001152/1.045, allocations: 307.3 kB / 1.033 GB, free: 4.281 MB / 0.8106 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.0005719/1.046, allocations: 182.8 kB / 1.033 GB, free: 4.098 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001131/1.047, allocations: 0.5887 MB / 1.034 GB, free: 3.512 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 6.061e-06/1.047, allocations: 3.938 kB / 1.034 GB, free: 3.508 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0004087/1.048, allocations: 256 kB / 1.034 GB, free: 3.258 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/1.049, allocations: 386.9 kB / 1.035 GB, free: 2.895 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003612/1.053, allocations: 1.946 MB / 1.037 GB, free: 0.8945 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000777/1.054, allocations: 0.5235 MB / 1.037 GB, free: 348 kB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0008461/1.055, allocations: 254.5 kB / 1.037 GB, free: 88 kB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002329/1.055, allocations: 67.42 kB / 1.037 GB, free: 20 kB / 0.8106 GB Notification: Performance of SimCode: time 1.172e-06/1.055, allocations: 0 / 1.037 GB, free: 20 kB / 0.8106 GB Notification: Performance of Templates: time 0.03053/1.085, allocations: 15.98 MB / 1.053 GB, free: 452 kB / 0.8262 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=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 7.873410180211067] Failed to read output from testmodel.py, exit status != 0: 1.0952336955815554 1.110630717 0.10386286 Calling exit ...