Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.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.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0106/0.0106, allocations: 172 kB / 15.11 MB, free: 5.98 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.857/0.857, allocations: 132.3 MB / 148.1 MB, free: 244 kB / 106.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.517/1.517, allocations: 223.2 MB / 403.2 MB, free: 6.734 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.0009474/0.0009472, allocations: 96.19 kB / 485.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003655/0.0003656, allocations: 8 kB / 0.5641 GB, free: 2.125 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4826/0.4829, allocations: 81.59 MB / 0.6438 GB, free: 39.34 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.47/5.953, allocations: 2.121 GB / 2.765 GB, free: 157 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000435/5.953, allocations: 95.95 kB / 2.765 GB, free: 156.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.083/8.036, allocations: 0.602 GB / 3.367 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.705e-06/8.036, allocations: 0 / 3.367 GB, free: 78.25 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001244/8.036, allocations: 35.75 kB / 3.367 GB, free: 78.21 MB / 0.6823 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 176 * Number of variables: 176 Notification: Performance of Generate backend data structure: time 0.003722/8.04, allocations: 1.55 MB / 3.368 GB, free: 76.63 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 6.076e-05/8.04, allocations: 8.031 kB / 3.368 GB, free: 76.62 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00309/8.043, allocations: 0.5681 MB / 3.369 GB, free: 76.05 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002598/8.046, allocations: 0.9337 MB / 3.37 GB, free: 75.1 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.279e-05/8.046, allocations: 58 kB / 3.37 GB, free: 75.04 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001246/8.046, allocations: 68 kB / 3.37 GB, free: 74.97 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002123/8.048, allocations: 1.107 MB / 3.371 GB, free: 73.79 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.074e-05/8.048, allocations: 3.938 kB / 3.371 GB, free: 73.78 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.734e-05/8.048, allocations: 28 kB / 3.371 GB, free: 73.75 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.143e-05/8.048, allocations: 37.23 kB / 3.371 GB, free: 73.72 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002575/8.051, allocations: 1.003 MB / 3.372 GB, free: 72.72 MB / 0.6823 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.00546/8.056, allocations: 4.96 MB / 3.377 GB, free: 67.51 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002534/8.059, allocations: 0.9526 MB / 3.378 GB, free: 66.55 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001098/8.06, allocations: 1.591 MB / 3.379 GB, free: 64.61 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00138/8.061, allocations: 0.58 MB / 3.38 GB, free: 64.03 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.797e-06/8.061, allocations: 0 / 3.38 GB, free: 64.03 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.004188/8.066, allocations: 1.512 MB / 3.381 GB, free: 62.51 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.77e-05/8.066, allocations: 63.91 kB / 3.381 GB, free: 62.43 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001222/8.067, allocations: 0.989 MB / 3.382 GB, free: 61.43 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 9.742e-05/8.067, allocations: 37.7 kB / 3.382 GB, free: 61.39 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003572/8.067, allocations: 0.5542 MB / 3.383 GB, free: 60.83 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001781/8.068, allocations: 204.4 kB / 3.383 GB, free: 60.63 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.692e-05/8.068, allocations: 16 kB / 3.383 GB, free: 60.62 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.491e-05/8.068, allocations: 337.9 kB / 3.384 GB, free: 60.28 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001175/8.069, allocations: 453.5 kB / 3.384 GB, free: 59.84 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001304/8.07, allocations: 0.7529 MB / 3.385 GB, free: 58.95 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001253/8.071, allocations: 497.8 kB / 3.385 GB, free: 58.47 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.4e-06/8.072, allocations: 0 / 3.385 GB, free: 58.47 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003204/8.075, allocations: 1.286 MB / 3.386 GB, free: 57.18 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.612e-05/8.075, allocations: 12.16 kB / 3.386 GB, free: 57.16 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.454e-05/8.075, allocations: 8 kB / 3.386 GB, free: 57.16 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3e-05/8.075, allocations: 15.84 kB / 3.386 GB, free: 57.14 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001153/8.076, allocations: 275.6 kB / 3.387 GB, free: 56.88 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.715e-05/8.076, allocations: 19.89 kB / 3.387 GB, free: 56.86 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00138/8.077, allocations: 211 kB / 3.387 GB, free: 56.65 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001078/8.078, allocations: 51.97 kB / 3.387 GB, free: 56.6 MB / 0.6823 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (100): * Single equations (assignments): 100 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0005704/8.078, allocations: 291.7 kB / 3.387 GB, free: 56.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001685/8.078, allocations: 118.5 kB / 3.387 GB, free: 56.19 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003388/8.082, allocations: 1.435 MB / 3.389 GB, free: 54.75 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.856e-05/8.082, allocations: 11.98 kB / 3.389 GB, free: 54.74 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.792e-06/8.082, allocations: 0 / 3.389 GB, free: 54.74 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.117e-05/8.082, allocations: 11.94 kB / 3.389 GB, free: 54.73 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004816/8.087, allocations: 2.467 MB / 3.391 GB, free: 52.21 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.221e-05/8.087, allocations: 3.938 kB / 3.391 GB, free: 52.2 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/8.088, allocations: 207.9 kB / 3.391 GB, free: 52 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.538e-06/8.088, allocations: 4 kB / 3.391 GB, free: 52 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.547e-05/8.088, allocations: 27.97 kB / 3.391 GB, free: 51.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.071e-06/8.088, allocations: 4 kB / 3.391 GB, free: 51.96 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.805e-06/8.088, allocations: 0 / 3.391 GB, free: 51.96 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004575/8.092, allocations: 2.131 MB / 3.394 GB, free: 49.78 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007177/8.093, allocations: 307.2 kB / 3.394 GB, free: 49.46 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000155/8.093, allocations: 19.98 kB / 3.394 GB, free: 49.44 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009609/8.094, allocations: 131.9 kB / 3.394 GB, free: 49.31 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/8.094, allocations: 56.44 kB / 3.394 GB, free: 49.25 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.5e-05/8.094, allocations: 35.97 kB / 3.394 GB, free: 49.22 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009299/8.095, allocations: 0.7676 MB / 3.395 GB, free: 48.45 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.7e-07/8.095, allocations: 0 / 3.395 GB, free: 48.45 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001423/8.097, allocations: 393.9 kB / 3.395 GB, free: 48.06 MB / 0.6823 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 3 (heaHigPow.T,cooLimPow.T,heaCooUnl.T) * Number of discrete variables: 9 ($whenCondition3,$whenCondition2,$whenCondition1,setHeaHigPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled) * Number of discrete states: 6 (setHeaHigPow.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaCooUnl.nextTimeEvent,setHeaCooUnl.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (76): * Single equations (assignments): 61 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.00182/8.099, allocations: 0.8164 MB / 3.396 GB, free: 47.49 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003003/8.102, allocations: 1.135 MB / 3.397 GB, free: 46.35 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/8.102, allocations: 0 / 3.397 GB, free: 46.35 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001402/8.103, allocations: 0.6009 MB / 3.398 GB, free: 45.76 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002196/8.105, allocations: 425.1 kB / 3.398 GB, free: 45.34 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005174/8.11, allocations: 2.746 MB / 3.401 GB, free: 42.55 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004929/8.111, allocations: 1.136 MB / 3.402 GB, free: 41.38 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.00136/8.112, allocations: 252.5 kB / 3.402 GB, free: 41.14 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003336/8.113, allocations: 115.3 kB / 3.402 GB, free: 41.03 MB / 0.6823 GB Notification: Performance of SimCode: time 1.833e-06/8.113, allocations: 0 / 3.402 GB, free: 41.03 MB / 0.6823 GB Notification: Performance of Templates: time 0.03448/8.147, allocations: 20.92 MB / 3.423 GB, free: 20.36 MB / 0.6823 GB make -j1 -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)