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: "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.009981/0.009985, allocations: 169.8 kB / 15.11 MB, free: 5.988 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.7396/0.7396, allocations: 135.2 MB / 151 MB, free: 13.81 MB / 122.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.622/1.622, allocations: 223.2 MB / 406.8 MB, free: 3.219 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.001164/0.001164, allocations: 103.5 kB / 489.9 MB, free: 10.89 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003851/0.0003852, allocations: 12 kB / 0.5691 GB, free: 14.04 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4889/0.4893, allocations: 82.31 MB / 0.6495 GB, free: 36.09 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.282/5.771, allocations: 2.121 GB / 2.771 GB, free: 138 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003194/5.771, allocations: 93.03 kB / 2.771 GB, free: 137.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.132/7.904, allocations: 0.602 GB / 3.373 GB, free: 54.34 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.796e-06/7.904, allocations: 0 / 3.373 GB, free: 54.34 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.000114/7.904, allocations: 39.98 kB / 3.373 GB, free: 54.3 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.003702/7.908, allocations: 1.539 MB / 3.374 GB, free: 52.7 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 5.429e-05/7.908, allocations: 16.03 kB / 3.374 GB, free: 52.69 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002072/7.908, allocations: 114.4 kB / 3.374 GB, free: 52.57 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003115/7.911, allocations: 0.5681 MB / 3.375 GB, free: 52 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002896/7.914, allocations: 0.9337 MB / 3.376 GB, free: 51 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.171e-05/7.914, allocations: 58 kB / 3.376 GB, free: 50.95 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001511/7.914, allocations: 68 kB / 3.376 GB, free: 50.88 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002221/7.916, allocations: 1.103 MB / 3.377 GB, free: 49.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.236e-05/7.916, allocations: 11.94 kB / 3.377 GB, free: 49.68 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.989e-05/7.917, allocations: 28 kB / 3.377 GB, free: 49.66 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.067e-05/7.917, allocations: 33.3 kB / 3.377 GB, free: 49.62 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002651/7.919, allocations: 0.9963 MB / 3.378 GB, free: 48.63 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.005808/7.925, allocations: 4.97 MB / 3.383 GB, free: 43.37 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002621/7.928, allocations: 0.9582 MB / 3.384 GB, free: 42.4 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001018/7.929, allocations: 1.596 MB / 3.386 GB, free: 40.45 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00146/7.93, allocations: 0.5807 MB / 3.386 GB, free: 39.86 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.547e-06/7.93, allocations: 0 / 3.386 GB, free: 39.86 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.004342/7.935, allocations: 1.508 MB / 3.388 GB, free: 38.35 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.26e-05/7.935, allocations: 59.92 kB / 3.388 GB, free: 38.28 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001431/7.936, allocations: 0.989 MB / 3.389 GB, free: 37.28 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001418/7.936, allocations: 41.7 kB / 3.389 GB, free: 37.23 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003711/7.937, allocations: 0.5395 MB / 3.389 GB, free: 36.69 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001875/7.937, allocations: 217 kB / 3.389 GB, free: 36.47 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.901e-05/7.937, allocations: 16 kB / 3.389 GB, free: 36.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 8.592e-05/7.937, allocations: 349.9 kB / 3.39 GB, free: 36.11 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001269/7.938, allocations: 445.7 kB / 3.39 GB, free: 35.68 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001419/7.94, allocations: 0.7451 MB / 3.391 GB, free: 34.8 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001256/7.941, allocations: 0.4926 MB / 3.391 GB, free: 34.31 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.804e-06/7.941, allocations: 4 kB / 3.391 GB, free: 34.3 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003334/7.944, allocations: 1.282 MB / 3.393 GB, free: 33.02 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 3.259e-05/7.944, allocations: 8 kB / 3.393 GB, free: 33.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.466e-05/7.944, allocations: 8.875 kB / 3.393 GB, free: 33 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.607e-05/7.945, allocations: 15.75 kB / 3.393 GB, free: 32.99 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001144/7.946, allocations: 283.5 kB / 3.393 GB, free: 32.71 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/7.946, allocations: 15.94 kB / 3.393 GB, free: 32.7 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001561/7.947, allocations: 206.9 kB / 3.393 GB, free: 32.49 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001648/7.947, allocations: 51.97 kB / 3.393 GB, free: 32.44 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.0006442/7.948, allocations: 299.7 kB / 3.393 GB, free: 32.14 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002517/7.948, allocations: 118.5 kB / 3.394 GB, free: 32.02 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003522/7.952, allocations: 1.432 MB / 3.395 GB, free: 30.58 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.248e-05/7.952, allocations: 11.98 kB / 3.395 GB, free: 30.57 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.472e-06/7.952, allocations: 0 / 3.395 GB, free: 30.57 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.057e-05/7.952, allocations: 7.984 kB / 3.395 GB, free: 30.56 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005236/7.957, allocations: 2.476 MB / 3.397 GB, free: 28.01 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.27e-05/7.957, allocations: 4 kB / 3.397 GB, free: 28 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/7.958, allocations: 199.9 kB / 3.398 GB, free: 27.81 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.437e-05/7.958, allocations: 12 kB / 3.398 GB, free: 27.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.861e-05/7.958, allocations: 23.97 kB / 3.398 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.682e-06/7.958, allocations: 4 kB / 3.398 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.078e-06/7.958, allocations: 4 kB / 3.398 GB, free: 27.77 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004661/7.963, allocations: 2.125 MB / 3.4 GB, free: 25.57 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007644/7.964, allocations: 311.2 kB / 3.4 GB, free: 25.25 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000169/7.964, allocations: 19.98 kB / 3.4 GB, free: 25.23 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000982/7.965, allocations: 131.9 kB / 3.4 GB, free: 25.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001165/7.965, allocations: 44.5 kB / 3.4 GB, free: 25.05 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.233e-05/7.965, allocations: 43.66 kB / 3.4 GB, free: 25.02 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001024/7.966, allocations: 0.7638 MB / 3.401 GB, free: 24.25 MB / 0.6823 GB Notification: Performance of sort global known variables: time 4.41e-07/7.966, allocations: 0 / 3.401 GB, free: 24.25 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001525/7.968, allocations: 395.5 kB / 3.401 GB, free: 23.86 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.006917/7.975, allocations: 3.771 MB / 3.405 GB, free: 20.2 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003132/7.978, allocations: 1.143 MB / 3.406 GB, free: 19.06 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.554e-06/7.978, allocations: 0 / 3.406 GB, free: 19.06 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.00153/7.98, allocations: 0.5932 MB / 3.407 GB, free: 18.47 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002381/7.982, allocations: 425.6 kB / 3.407 GB, free: 18.07 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01529/7.997, allocations: 12.6 MB / 3.419 GB, free: 4.996 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005042/7.998, allocations: 1.14 MB / 3.421 GB, free: 3.828 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001283/7.999, allocations: 252.6 kB / 3.421 GB, free: 3.578 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006452/8, allocations: 475.2 kB / 3.421 GB, free: 3.113 MB / 0.6823 GB Notification: Performance of SimCode: time 2.094e-06/8, allocations: 4 kB / 3.421 GB, free: 3.109 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.508/8.508, allocations: 32.38 MB / 3.453 GB, free: 133 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001923/8.508, allocations: 224.1 kB / 3.453 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.447/11.96, allocations: 2.25 kB / 3.453 GB, free: 132.8 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_dev_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)