Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001932/0.001932, allocations: 102.1 kB / 19.7 MB, free: 2.254 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.002089/0.002089, allocations: 218.9 kB / 23.01 MB, free: 4.609 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.492/1.492, allocations: 230.6 MB / 256.8 MB, free: 8.031 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8421/0.8421, allocations: 134 MB / 447.2 MB, free: 10.25 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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_IDEAS.Fluid.Sensors.Examples.TraceSubstances") translateModel(IDEAS.Fluid.Sensors.Examples.TraceSubstances,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_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.002029/0.002029, allocations: 67.02 kB / 0.6198 GB, free: 6.734 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1946/0.1966, allocations: 85.9 MB / 0.7037 GB, free: 0.9023 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Sensors.Examples.TraceSubstances): time 0.6787/0.8754, allocations: 199.1 MB / 0.8981 GB, free: 15.12 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02242/0.8978, allocations: 14.49 MB / 0.9123 GB, free: 0.5859 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002234/0.9001, allocations: 55.5 kB / 0.9123 GB, free: 0.5312 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002831/0.9029, allocations: 0.5124 MB / 0.9128 GB, free: 16 kB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00635/0.9092, allocations: 1.995 MB / 0.9148 GB, free: 14.02 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.003129/0.9124, allocations: 0.9035 MB / 0.9157 GB, free: 13.11 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.004403/0.9168, allocations: 2.624 MB / 0.9182 GB, free: 10.48 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001868/0.9186, allocations: 0.8105 MB / 0.919 GB, free: 9.656 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005429/0.9241, allocations: 1.691 MB / 0.9207 GB, free: 7.984 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002374/0.9264, allocations: 0.9898 MB / 0.9216 GB, free: 6.996 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004474/0.9269, allocations: 104 kB / 0.9217 GB, free: 6.895 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.9301, allocations: 1.189 MB / 0.9229 GB, free: 5.703 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0009152/0.9311, allocations: 0.5103 MB / 0.9234 GB, free: 5.191 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001667/0.9327, allocations: 0.6338 MB / 0.924 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004484/0.9372, allocations: 1.923 MB / 0.9259 GB, free: 2.629 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.55e-06/0.9372, allocations: 0 / 0.9259 GB, free: 2.629 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.803e-06/0.9372, allocations: 0 / 0.9259 GB, free: 2.629 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 8.2e-05/0.9373, allocations: 0 / 0.9259 GB, free: 2.629 MB / 0.6856 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.003697/0.941, allocations: 1.415 MB / 0.9273 GB, free: 1.176 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.23e-05/0.941, allocations: 8.031 kB / 0.9273 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001691/0.9427, allocations: 263 kB / 0.9275 GB, free: 0.9102 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001911/0.9446, allocations: 0.7323 MB / 0.9283 GB, free: 156 kB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.438e-05/0.9447, allocations: 70 kB / 0.9283 GB, free: 84 kB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002238/0.9449, allocations: 96.02 kB / 0.9284 GB, free: 15.98 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002174/0.9471, allocations: 1.173 MB / 0.9296 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.876e-05/0.9471, allocations: 4 kB / 0.9296 GB, free: 14.74 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.406e-05/0.9472, allocations: 36 kB / 0.9296 GB, free: 14.7 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.199e-05/0.9473, allocations: 34 kB / 0.9296 GB, free: 14.67 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001696/0.949, allocations: 0.9015 MB / 0.9305 GB, free: 13.77 MB / 0.7012 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.007615/0.9566, allocations: 5.677 MB / 0.9361 GB, free: 7.641 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008742/0.9575, allocations: 0.5068 MB / 0.9366 GB, free: 7.133 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004594/0.9579, allocations: 290.6 kB / 0.9368 GB, free: 6.848 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005341/0.9585, allocations: 84.42 kB / 0.9369 GB, free: 6.766 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.239e-05/0.9585, allocations: 50.86 kB / 0.937 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=49): time 2.455e-06/0.9585, allocations: 0 / 0.937 GB, free: 6.707 MB / 0.7012 GB Notification: Performance of matching and sorting (n=49): time 0.001795/0.9603, allocations: 0.8031 MB / 0.9377 GB, free: 5.895 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.91e-05/0.9604, allocations: 55.84 kB / 0.9378 GB, free: 5.828 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001168/0.9615, allocations: 0.7548 MB / 0.9385 GB, free: 5.062 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.345e-05/0.9616, allocations: 37.7 kB / 0.9386 GB, free: 5.02 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004842/0.9621, allocations: 0.5233 MB / 0.9391 GB, free: 4.488 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002206/0.9623, allocations: 182.5 kB / 0.9393 GB, free: 4.309 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002476/0.9626, allocations: 138.6 kB / 0.9394 GB, free: 4.164 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001893/0.9628, allocations: 338 kB / 0.9397 GB, free: 3.828 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004158/0.9632, allocations: 249.8 kB / 0.9399 GB, free: 3.586 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007376/0.9639, allocations: 0.5644 MB / 0.9405 GB, free: 2.883 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001149/0.9651, allocations: 0.7918 MB / 0.9413 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.865e-06/0.9651, allocations: 0 / 0.9413 GB, free: 1.98 MB / 0.7012 GB Notification: Performance of matching and sorting (n=86) (initialization): time 0.001552/0.9666, allocations: 0.8508 MB / 0.9421 GB, free: 1.125 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.592e-05/0.9666, allocations: 8 kB / 0.9421 GB, free: 1.117 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.385e-05/0.9667, allocations: 11.94 kB / 0.9421 GB, free: 1.105 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.624e-05/0.9667, allocations: 12 kB / 0.9421 GB, free: 1.094 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006056/0.9673, allocations: 147.8 kB / 0.9423 GB, free: 0.9492 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.04e-05/0.9673, allocations: 24.95 kB / 0.9423 GB, free: 0.9258 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008528/0.9682, allocations: 99.75 kB / 0.9424 GB, free: 0.8281 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.387e-05/0.9683, allocations: 32 kB / 0.9424 GB, free: 0.7969 MB / 0.7012 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.0005662/0.9688, allocations: 329.5 kB / 0.9427 GB, free: 476 kB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002148/0.969, allocations: 91.44 kB / 0.9428 GB, free: 384 kB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001162/0.9702, allocations: 0.6179 MB / 0.9434 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/0.9702, allocations: 4 kB / 0.9434 GB, free: 15.75 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.048e-05/0.9702, allocations: 7.938 kB / 0.9434 GB, free: 15.74 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000787/0.971, allocations: 0.5134 MB / 0.9439 GB, free: 15.21 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002971/0.974, allocations: 1.639 MB / 0.9455 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.543e-06/0.974, allocations: 3.984 kB / 0.9455 GB, free: 13.5 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000551/0.9745, allocations: 107.9 kB / 0.9456 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.147e-06/0.9746, allocations: 4 kB / 0.9457 GB, free: 13.39 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.41e-05/0.9746, allocations: 19.98 kB / 0.9457 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.643e-06/0.9746, allocations: 4 kB / 0.9457 GB, free: 13.37 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.581e-06/0.9746, allocations: 3.938 kB / 0.9457 GB, free: 13.36 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001573/0.9762, allocations: 1.063 MB / 0.9467 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000402/0.9766, allocations: 147.3 kB / 0.9469 GB, free: 12.12 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000109/0.9767, allocations: 12 kB / 0.9469 GB, free: 12.11 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004407/0.9771, allocations: 20 kB / 0.9469 GB, free: 12.09 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.311e-05/0.9772, allocations: 31.94 kB / 0.9469 GB, free: 12.05 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.18e-05/0.9772, allocations: 23.92 kB / 0.9469 GB, free: 12.03 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0007026/0.978, allocations: 0.5107 MB / 0.9474 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.11e-07/0.978, allocations: 3.938 kB / 0.9474 GB, free: 11.52 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.0009803/0.9789, allocations: 303.4 kB / 0.9477 GB, free: 11.22 MB / 0.7169 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.0005328/0.9795, allocations: 189.1 kB / 0.9479 GB, free: 11.04 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.001106/0.9806, allocations: 0.5886 MB / 0.9485 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.767e-06/0.9806, allocations: 0 / 0.9485 GB, free: 10.45 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0003938/0.981, allocations: 260.1 kB / 0.9487 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001887/0.9829, allocations: 443.4 kB / 0.9492 GB, free: 9.777 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003455/0.9863, allocations: 2.017 MB / 0.9511 GB, free: 7.699 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008102/0.9871, allocations: 1.126 MB / 0.9522 GB, free: 6.547 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002514/0.9874, allocations: 75.42 kB / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of SimCode: time 6.41e-07/0.9874, allocations: 0 / 0.9523 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of Templates: time 0.02648/1.014, allocations: 14.77 MB / 0.9667 GB, free: 7.844 MB / 0.7325 GB " [Timeout remaining time 659] make -j1 -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.makefile [Timeout 660] (rm -f IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; mkfifo IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe >> ../files/IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.sim & ./IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Sensors.Examples.TraceSubstances.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.093240065034479] Failed to read output from testmodel.py, exit status != 0: 1.0231764970812947 1.039972186 0.099130032 Calling exit ...