Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.conf.json 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/IDEAS 3.0.0/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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) Running command: translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") translateModel(IDEAS.Fluid.Examples.Performance.Example1v1,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001267/0.001267, allocations: 176.1 kB / 7.643 MB, free: 1.414 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7725/0.7725, allocations: 130.7 MB / 138.7 MB, free: 3.543 MB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.496/1.496, allocations: 221.5 MB / 391.8 MB, free: 14.2 MB / 330.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009906/0.0009905, allocations: 99.45 kB / 473.9 MB, free: 4.449 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.206e-05/2.208e-05, allocations: 4 kB / 0.5485 GB, free: 13.05 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4789/0.479, allocations: 81.58 MB / 0.6282 GB, free: 42.98 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.8659/1.345, allocations: 380.5 MB / 0.9997 GB, free: 10.92 MB / 0.6355 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002517/1.345, allocations: 90.39 kB / 0.9998 GB, free: 10.88 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 5.119/6.464, allocations: 1.328 GB / 2.327 GB, free: 39.37 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.884e-06/6.464, allocations: 0 / 2.327 GB, free: 39.37 MB / 0.698 GB Notification: Performance of Transformations before backend: time 0.0006569/6.465, allocations: 91.95 kB / 2.328 GB, free: 39.28 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 398 * Number of variables: 398 Notification: Performance of Generate backend data structure: time 0.0114/6.476, allocations: 3.118 MB / 2.331 GB, free: 36.1 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/6.476, allocations: 12.02 kB / 2.331 GB, free: 36.09 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003578/6.48, allocations: 0.5275 MB / 2.331 GB, free: 35.55 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01318/6.493, allocations: 4.334 MB / 2.335 GB, free: 31.16 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000126/6.493, allocations: 48 kB / 2.335 GB, free: 31.11 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000693/6.494, allocations: 123.5 kB / 2.335 GB, free: 31 MB / 0.698 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.003486/6.497, allocations: 1.615 MB / 2.337 GB, free: 29.38 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003451/6.501, allocations: 1.821 MB / 2.339 GB, free: 27.42 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.043e-05/6.501, allocations: 7.938 kB / 2.339 GB, free: 27.41 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.000129/6.501, allocations: 4 kB / 2.339 GB, free: 27.41 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.501e-05/6.501, allocations: 43.94 kB / 2.339 GB, free: 27.36 MB / 0.698 GB Warning: The model contains alias variables with conflicting start and/or 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.0132/6.514, allocations: 11.22 MB / 2.35 GB, free: 15.49 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001508/6.516, allocations: 1.242 MB / 2.351 GB, free: 14.25 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008926/6.517, allocations: 0.893 MB / 2.352 GB, free: 13.35 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.005462/6.522, allocations: 3.395 MB / 2.355 GB, free: 9.684 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0008372/6.523, allocations: 0.6487 MB / 2.356 GB, free: 9.023 MB / 0.698 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.002219/6.525, allocations: 0.5727 MB / 2.356 GB, free: 8.449 MB / 0.698 GB Notification: Performance of pre-optimization done (n=98): time 3.696e-06/6.525, allocations: 0 / 2.356 GB, free: 8.449 MB / 0.698 GB Notification: Performance of matching and sorting (n=98): time 0.007212/6.532, allocations: 2.445 MB / 2.359 GB, free: 6.008 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/6.532, allocations: 68.12 kB / 2.359 GB, free: 5.93 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003988/6.536, allocations: 2.213 MB / 2.361 GB, free: 3.715 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0001193/6.537, allocations: 29.7 kB / 2.361 GB, free: 3.68 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009825/6.538, allocations: 1.417 MB / 2.362 GB, free: 2.238 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002393/6.538, allocations: 331.1 kB / 2.363 GB, free: 1.91 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.955e-05/6.538, allocations: 0 / 2.363 GB, free: 1.91 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 9.127e-05/6.538, allocations: 361.9 kB / 2.363 GB, free: 1.551 MB / 0.698 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006215/6.539, allocations: 0.5232 MB / 2.364 GB, free: 1.027 MB / 0.698 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.5441/7.083, allocations: 1.268 MB / 2.365 GB, free: 85.56 MB / 0.698 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006302/7.089, allocations: 1.316 MB / 2.366 GB, free: 85.55 MB / 0.698 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.185e-05/7.089, allocations: 3.969 kB / 2.366 GB, free: 85.55 MB / 0.698 GB Notification: Performance of matching and sorting (n=181) (initialization): time 0.009896/7.099, allocations: 2.923 MB / 2.369 GB, free: 85.45 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 0.001306/7.1, allocations: 5.944 MB / 2.375 GB, free: 79.11 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.906e-05/7.1, allocations: 11.75 kB / 2.375 GB, free: 79.11 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009826/7.101, allocations: 442.3 kB / 2.375 GB, free: 79.09 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001123/7.103, allocations: 270.2 kB / 2.376 GB, free: 79.09 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001855/7.104, allocations: 2.014 MB / 2.377 GB, free: 78.05 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002636/7.107, allocations: 149.5 kB / 2.378 GB, free: 78.05 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001815/7.107, allocations: 78.31 kB / 2.378 GB, free: 78.05 MB / 0.698 GB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/7.107, allocations: 3.375 kB / 2.378 GB, free: 78.05 MB / 0.698 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.006484/7.114, allocations: 2.511 MB / 2.38 GB, free: 77.86 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.205e-05/7.114, allocations: 13.69 kB / 2.38 GB, free: 77.86 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007994/7.115, allocations: 406.2 kB / 2.381 GB, free: 77.83 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000941/7.116, allocations: 264 kB / 2.381 GB, free: 77.83 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005695/7.121, allocations: 5.601 MB / 2.386 GB, free: 75.21 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002633/7.124, allocations: 144.4 kB / 2.386 GB, free: 75.21 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001549/7.124, allocations: 67.38 kB / 2.386 GB, free: 75.21 MB / 0.698 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 61 * Number of states: 0 () * Number of discrete variables: 7 ($whenCondition1,$PRE.pulse.T_start,pulse.T_start,$PRE.pulse.count,pulse.count,from_dp.y,allowFlowReversal.y) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (133): * Single equations (assignments): 129 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {1 40,2 5} Notification: Performance of prepare postOptimizeDAE: time 0.0004833/7.125, allocations: 157.1 kB / 2.387 GB, free: 75.11 MB / 0.698 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004828/7.125, allocations: 282.3 kB / 2.387 GB, free: 75.02 MB / 0.698 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.006967/7.132, allocations: 2.567 MB / 2.389 GB, free: 74.88 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.609e-05/7.132, allocations: 7.719 kB / 2.389 GB, free: 74.88 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/7.132, allocations: 9.203 kB / 2.389 GB, free: 74.87 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.005449/7.138, allocations: 2.313 MB / 2.392 GB, free: 74.45 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.01084/7.148, allocations: 4.357 MB / 2.396 GB, free: 73.97 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/7.148, allocations: 4.719 kB / 2.396 GB, free: 73.97 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0007132/7.149, allocations: 132.4 kB / 2.396 GB, free: 73.97 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007964/7.15, allocations: 383.3 kB / 2.396 GB, free: 73.95 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.795e-05/7.15, allocations: 21.34 kB / 2.396 GB, free: 73.95 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001669/7.152, allocations: 1.868 MB / 2.398 GB, free: 72.89 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.47e-06/7.152, allocations: 2.062 kB / 2.398 GB, free: 72.89 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008091/7.16, allocations: 3.259 MB / 2.401 GB, free: 72.45 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001624/7.162, allocations: 494 kB / 2.402 GB, free: 72.2 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002954/7.162, allocations: 0 / 2.402 GB, free: 72.2 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001262/7.163, allocations: 129 kB / 2.402 GB, free: 72.19 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001646/7.163, allocations: 68.05 kB / 2.402 GB, free: 72.19 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.341e-05/7.163, allocations: 41.08 kB / 2.402 GB, free: 72.19 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.002982/7.166, allocations: 1.685 MB / 2.404 GB, free: 72.04 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.8e-07/7.166, allocations: 0 / 2.404 GB, free: 72.04 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.005462/7.172, allocations: 1.396 MB / 2.405 GB, free: 71.98 MB / 0.698 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 2 (pump.vol.dynBal.U,hea.outCon.T) * Number of discrete variables: 3 ($whenCondition1,pulse.T_start,pulse.count) * Number of discrete states: 1 (pulse.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (60): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 2 {2 5,1 40} Notification: Performance of Backend phase and start with SimCode phase: time 0.002041/7.174, allocations: 1.048 MB / 2.406 GB, free: 71.79 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.004206/7.178, allocations: 2.757 MB / 2.409 GB, free: 71.38 MB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 7.123e-06/7.178, allocations: 0 / 2.409 GB, free: 71.38 MB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.0009141/7.179, allocations: 0.6363 MB / 2.41 GB, free: 71.37 MB / 0.698 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005183/7.184, allocations: 1.07 MB / 2.411 GB, free: 71.35 MB / 0.698 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006557/7.191, allocations: 3.797 MB / 2.414 GB, free: 70.4 MB / 0.698 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001395/7.192, allocations: 2.102 MB / 2.416 GB, free: 69.66 MB / 0.698 GB Notification: Performance of simCode: alias equations: time 0.004854/7.197, allocations: 1.403 MB / 2.418 GB, free: 69.63 MB / 0.698 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003378/7.197, allocations: 133.9 kB / 2.418 GB, free: 69.62 MB / 0.698 GB Notification: Performance of SimCode: time 2.264e-06/7.197, allocations: 0 / 2.418 GB, free: 69.62 MB / 0.698 GB Notification: Performance of Templates: time 0.0905/7.288, allocations: 53.19 MB / 2.47 GB, free: 67 MB / 0.698 GB make -j1 -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.makefile (rm -f IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; mkfifo IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe >> ../files/IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.sim & ./IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1 -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Examples.Performance.Example1v1.pipe 2>&1)