Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IDEAS_dev_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-master/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-master/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_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water") translateModel(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IDEAS_dev_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.001379/0.001379, allocations: 176.2 kB / 7.649 MB, free: 1.422 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8134/0.8134, allocations: 133.6 MB / 141.6 MB, free: 2.902 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.715/1.715, allocations: 221.5 MB / 395.5 MB, free: 10.76 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.001102/0.001102, allocations: 99.81 kB / 478.2 MB, free: 1.285 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 2.525e-05/2.526e-05, allocations: 4 kB / 0.5535 GB, free: 9.031 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5889/0.5889, allocations: 82.3 MB / 0.6338 GB, free: 40.85 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.643/6.232, allocations: 2.12 GB / 2.754 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002157/6.232, allocations: 86.52 kB / 2.754 GB, free: 139.5 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 1.902/8.135, allocations: 0.5968 GB / 3.351 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.553e-06/8.135, allocations: 0 / 3.351 GB, free: 79.96 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0001/8.135, allocations: 51.61 kB / 3.351 GB, free: 79.92 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.002713/8.138, allocations: 1.335 MB / 3.353 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.659e-05/8.138, allocations: 8.031 kB / 3.353 GB, free: 78.54 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002809/8.141, allocations: 0.5836 MB / 3.353 GB, free: 77.95 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002126/8.143, allocations: 0.9093 MB / 3.354 GB, free: 77.01 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.797e-05/8.143, allocations: 24 kB / 3.354 GB, free: 76.99 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001095/8.143, allocations: 44 kB / 3.354 GB, free: 76.95 MB / 0.6823 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009209/8.144, allocations: 0.5662 MB / 3.355 GB, free: 76.38 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001043/8.145, allocations: 0.8264 MB / 3.355 GB, free: 75.47 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.218e-05/8.145, allocations: 3.938 kB / 3.355 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.363e-05/8.145, allocations: 8 kB / 3.355 GB, free: 75.46 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.538e-05/8.145, allocations: 33.3 kB / 3.355 GB, free: 75.43 MB / 0.6823 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.004745/8.15, allocations: 4.814 MB / 3.36 GB, free: 70.38 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0008818/8.151, allocations: 0.5491 MB / 3.361 GB, free: 69.82 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003469/8.151, allocations: 294.1 kB / 3.361 GB, free: 69.53 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001079/8.152, allocations: 1.598 MB / 3.363 GB, free: 67.59 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005385/8.153, allocations: 385.8 kB / 3.363 GB, free: 67.2 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 2.625e-06/8.153, allocations: 0 / 3.363 GB, free: 67.2 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.00153/8.154, allocations: 0.7164 MB / 3.364 GB, free: 66.47 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.515e-05/8.154, allocations: 55.97 kB / 3.364 GB, free: 66.41 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008786/8.155, allocations: 0.8344 MB / 3.364 GB, free: 65.55 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 6.5e-05/8.155, allocations: 29.64 kB / 3.364 GB, free: 65.52 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003466/8.156, allocations: 0.5618 MB / 3.365 GB, free: 64.95 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/8.156, allocations: 201.1 kB / 3.365 GB, free: 64.75 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.285e-05/8.156, allocations: 3.938 kB / 3.365 GB, free: 64.75 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001081/8.156, allocations: 337.9 kB / 3.366 GB, free: 64.41 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00035/8.156, allocations: 250.6 kB / 3.366 GB, free: 64.16 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005277/8.157, allocations: 0.5428 MB / 3.366 GB, free: 63.49 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007726/8.158, allocations: 345.8 kB / 3.367 GB, free: 63.15 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.5e-06/8.158, allocations: 4 kB / 3.367 GB, free: 63.15 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00156/8.159, allocations: 0.8691 MB / 3.368 GB, free: 62.27 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.223e-05/8.159, allocations: 8 kB / 3.368 GB, free: 62.27 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.468e-05/8.159, allocations: 8 kB / 3.368 GB, free: 62.26 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.573e-05/8.159, allocations: 16.06 kB / 3.368 GB, free: 62.24 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001167/8.16, allocations: 278.6 kB / 3.368 GB, free: 61.97 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.253e-05/8.16, allocations: 15.94 kB / 3.368 GB, free: 61.96 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001207/8.162, allocations: 175.1 kB / 3.368 GB, free: 61.79 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001119/8.162, allocations: 51.97 kB / 3.368 GB, free: 61.73 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 () * 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.0002203/8.162, allocations: 142.9 kB / 3.368 GB, free: 61.59 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001548/8.162, allocations: 114.6 kB / 3.368 GB, free: 61.47 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002034/8.164, allocations: 1.018 MB / 3.369 GB, free: 60.45 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.363e-05/8.164, allocations: 8 kB / 3.369 GB, free: 60.44 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.382e-06/8.164, allocations: 0 / 3.369 GB, free: 60.44 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.007e-05/8.164, allocations: 3.984 kB / 3.369 GB, free: 60.44 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003018/8.167, allocations: 1.992 MB / 3.371 GB, free: 58.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.458e-06/8.167, allocations: 3.953 kB / 3.371 GB, free: 58.39 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009816/8.168, allocations: 199.8 kB / 3.371 GB, free: 58.2 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.035e-05/8.168, allocations: 4 kB / 3.371 GB, free: 58.2 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.975e-05/8.168, allocations: 19.97 kB / 3.371 GB, free: 58.18 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.95e-06/8.168, allocations: 8 kB / 3.371 GB, free: 58.17 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.28e-06/8.168, allocations: 0 / 3.371 GB, free: 58.17 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002086/8.171, allocations: 1.528 MB / 3.373 GB, free: 56.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003843/8.171, allocations: 303.4 kB / 3.373 GB, free: 56.26 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001363/8.171, allocations: 8 kB / 3.373 GB, free: 56.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009012/8.172, allocations: 115.9 kB / 3.373 GB, free: 56.14 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.998e-05/8.172, allocations: 60.48 kB / 3.373 GB, free: 56.08 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.387e-05/8.172, allocations: 31.97 kB / 3.373 GB, free: 56.05 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0006834/8.173, allocations: 0.6281 MB / 3.374 GB, free: 55.41 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.4e-07/8.173, allocations: 3.938 kB / 3.374 GB, free: 55.41 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001222/8.174, allocations: 378 kB / 3.374 GB, free: 55.04 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) * 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.001493/8.176, allocations: 0.7452 MB / 3.375 GB, free: 54.44 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001047/8.177, allocations: 0.7197 MB / 3.376 GB, free: 53.72 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.407e-06/8.177, allocations: 4 kB / 3.376 GB, free: 53.72 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0004776/8.177, allocations: 402.9 kB / 3.376 GB, free: 53.33 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001509/8.179, allocations: 325.6 kB / 3.377 GB, free: 53.01 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003121/8.182, allocations: 1.765 MB / 3.378 GB, free: 51.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00049/8.182, allocations: 1.132 MB / 3.379 GB, free: 50.05 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.0009128/8.183, allocations: 246.7 kB / 3.38 GB, free: 49.81 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002864/8.184, allocations: 103.4 kB / 3.38 GB, free: 49.71 MB / 0.6823 GB Notification: Performance of SimCode: time 1.243e-06/8.184, allocations: 3.938 kB / 3.38 GB, free: 49.7 MB / 0.6823 GB Notification: Performance of Templates: time 0.0257/8.209, allocations: 17.09 MB / 3.396 GB, free: 32.84 MB / 0.6823 GB make -j1 -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.makefile (rm -f IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & ./IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)