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.002381/0.002381, allocations: 88.05 kB / 19.44 MB, free: 320 kB / 13.93 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.002963/0.002963, allocations: 173.3 kB / 22.77 MB, free: 1.641 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.655/1.655, allocations: 177.1 MB / 203.1 MB, free: 5.609 MB / 186.7 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-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 1.375/1.375, allocations: 154.8 MB / 414.3 MB, free: 480 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 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: Performance of FrontEnd - loaded program: time 4.829e-06/4.829e-06, allocations: 7.938 kB / 0.5199 GB, free: 2.27 MB / 490.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.45e-05/3.932e-05, allocations: 2.312 kB / 0.5199 GB, free: 2.266 MB / 490.7 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.5362/0.5362, allocations: 192.2 MB / 0.7076 GB, free: 47.12 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01484/0.5511, allocations: 14.65 MB / 0.7219 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001336/0.5524, allocations: 52.75 kB / 0.7219 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001472/0.5539, allocations: 0.4971 MB / 0.7224 GB, free: 46.92 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.004329/0.5582, allocations: 1.987 MB / 0.7244 GB, free: 46.83 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002227/0.5604, allocations: 0.955 MB / 0.7253 GB, free: 46.78 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003116/0.5636, allocations: 2.628 MB / 0.7279 GB, free: 46.32 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001101/0.5647, allocations: 0.8258 MB / 0.7287 GB, free: 46.24 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005081/0.5697, allocations: 2.252 MB / 0.7309 GB, free: 46.01 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001609/0.5713, allocations: 0.8798 MB / 0.7317 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002086/0.5716, allocations: 107.5 kB / 0.7318 GB, free: 45.93 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001981/0.5735, allocations: 0.9285 MB / 0.7327 GB, free: 45.84 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0004678/0.574, allocations: 0.5442 MB / 0.7333 GB, free: 45.77 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006099/0.5746, allocations: 462.2 kB / 0.7337 GB, free: 45.73 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003071/0.5777, allocations: 1.949 MB / 0.7356 GB, free: 45.55 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.5777, allocations: 3.188 kB / 0.7356 GB, free: 45.55 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.452e-06/0.5777, allocations: 0.7812 kB / 0.7356 GB, free: 45.55 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.253e-05/0.5777, allocations: 1.125 kB / 0.7356 GB, free: 45.55 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.002689/0.5804, allocations: 1.588 MB / 0.7372 GB, free: 44.72 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.766e-05/0.5804, allocations: 10.3 kB / 0.7372 GB, free: 44.72 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001463/0.5819, allocations: 353.1 kB / 0.7375 GB, free: 44.64 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00149/0.5834, allocations: 0.7486 MB / 0.7383 GB, free: 44.36 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.554e-05/0.5835, allocations: 71.03 kB / 0.7383 GB, free: 44.36 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001562/0.5836, allocations: 94.06 kB / 0.7384 GB, free: 44.36 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001654/0.5853, allocations: 1.155 MB / 0.7395 GB, free: 43.9 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.125e-05/0.5853, allocations: 4.469 kB / 0.7395 GB, free: 43.9 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.774e-05/0.5854, allocations: 42.56 kB / 0.7396 GB, free: 43.89 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.973e-05/0.5854, allocations: 35.72 kB / 0.7396 GB, free: 43.89 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001078/0.5865, allocations: 0.5719 MB / 0.7402 GB, free: 43.88 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.004913/0.5914, allocations: 5.181 MB / 0.7452 GB, free: 40.71 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006545/0.5921, allocations: 345.9 kB / 0.7456 GB, free: 40.67 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002857/0.5924, allocations: 180.8 kB / 0.7457 GB, free: 40.65 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004466/0.5928, allocations: 80.75 kB / 0.7458 GB, free: 40.65 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.361e-05/0.5928, allocations: 41.59 kB / 0.7459 GB, free: 40.61 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=49): time 2.275e-06/0.5928, allocations: 0 / 0.7459 GB, free: 40.61 MB / 0.6355 GB Notification: Performance of matching and sorting (n=49): time 0.001242/0.5941, allocations: 0.5381 MB / 0.7464 GB, free: 40.52 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.5941, allocations: 61.83 kB / 0.7464 GB, free: 40.46 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008245/0.5949, allocations: 0.8127 MB / 0.7472 GB, free: 40.25 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.393e-05/0.595, allocations: 38.11 kB / 0.7473 GB, free: 40.22 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003825/0.5954, allocations: 0.6041 MB / 0.7479 GB, free: 39.9 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.000183/0.5956, allocations: 198.5 kB / 0.7481 GB, free: 39.78 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002147/0.5958, allocations: 172.5 kB / 0.7482 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001752/0.5959, allocations: 0.6114 MB / 0.7488 GB, free: 39.25 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002378/0.5962, allocations: 138.9 kB / 0.7489 GB, free: 39.25 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004451/0.5966, allocations: 0.857 MB / 0.7498 GB, free: 38.39 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.000663/0.5973, allocations: 0.695 MB / 0.7505 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.869e-06/0.5973, allocations: 3.062 kB / 0.7505 GB, free: 37.95 MB / 0.6355 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.0009312/0.5982, allocations: 0.6518 MB / 0.7511 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.722e-05/0.5982, allocations: 8.125 kB / 0.7511 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.068e-05/0.5983, allocations: 12.41 kB / 0.7511 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.52e-05/0.5983, allocations: 12.81 kB / 0.7511 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005026/0.5988, allocations: 154.4 kB / 0.7513 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.42e-05/0.5988, allocations: 14.84 kB / 0.7513 GB, free: 37.87 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006703/0.5995, allocations: 77.36 kB / 0.7514 GB, free: 37.84 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.412e-05/0.5995, allocations: 32.59 kB / 0.7514 GB, free: 37.84 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.0002977/0.5998, allocations: 284.6 kB / 0.7517 GB, free: 37.67 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001423/0.6, allocations: 91.31 kB / 0.7518 GB, free: 37.63 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007362/0.6007, allocations: 437.8 kB / 0.7522 GB, free: 37.57 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.418e-06/0.6007, allocations: 3 kB / 0.7522 GB, free: 37.57 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.798e-06/0.6007, allocations: 0.8438 kB / 0.7522 GB, free: 37.57 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0004929/0.6012, allocations: 351.8 kB / 0.7525 GB, free: 37.49 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002146/0.6033, allocations: 1.446 MB / 0.7539 GB, free: 37.08 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.218e-06/0.6034, allocations: 4.969 kB / 0.7539 GB, free: 37.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004958/0.6038, allocations: 111.4 kB / 0.754 GB, free: 37.08 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.173e-06/0.6039, allocations: 4 kB / 0.754 GB, free: 37.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.929e-05/0.6039, allocations: 20.94 kB / 0.7541 GB, free: 37.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.799e-06/0.6039, allocations: 2.375 kB / 0.7541 GB, free: 37.08 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6039, allocations: 7.453 kB / 0.7541 GB, free: 37.08 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000942/0.6048, allocations: 0.7838 MB / 0.7548 GB, free: 36.76 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003282/0.6052, allocations: 135.9 kB / 0.755 GB, free: 36.71 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.76e-05/0.6053, allocations: 19.47 kB / 0.755 GB, free: 36.7 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004137/0.6057, allocations: 14.16 kB / 0.755 GB, free: 36.7 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.344e-05/0.6058, allocations: 32.14 kB / 0.755 GB, free: 36.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.752e-05/0.6058, allocations: 23.03 kB / 0.7551 GB, free: 36.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0005072/0.6063, allocations: 487.6 kB / 0.7555 GB, free: 36.55 MB / 0.6355 GB Notification: Performance of sort global known variables: time 7e-08/0.6063, allocations: 0 / 0.7555 GB, free: 36.55 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001003/0.6073, allocations: 312.7 kB / 0.7558 GB, free: 36.48 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.0005063/0.6078, allocations: 200.7 kB / 0.756 GB, free: 36.38 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.0007085/0.6085, allocations: 454.4 kB / 0.7564 GB, free: 36.27 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.6085, allocations: 0.875 kB / 0.7564 GB, free: 36.27 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0002639/0.6088, allocations: 197.9 kB / 0.7566 GB, free: 36.22 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001634/0.6104, allocations: 389.6 kB / 0.757 GB, free: 36.12 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002434/0.6129, allocations: 1.707 MB / 0.7587 GB, free: 35.15 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003936/0.6133, allocations: 0.5069 MB / 0.7592 GB, free: 34.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.000656/0.6139, allocations: 212 kB / 0.7594 GB, free: 34.95 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001621/0.6141, allocations: 66.59 kB / 0.7594 GB, free: 34.94 MB / 0.6355 GB Notification: Performance of SimCode: time 1.242e-06/0.6141, allocations: 0 / 0.7594 GB, free: 34.94 MB / 0.6355 GB Notification: Performance of Templates: time 0.02144/0.6355, allocations: 14.51 MB / 0.7736 GB, free: 33.36 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: 7.444075820967555]