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-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_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="IDEAS_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.001644/0.001644, allocations: 175.2 kB / 12.73 MB, free: 2.59 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.8289/0.8289, allocations: 133.4 MB / 146.7 MB, free: 10.78 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.649/1.649, allocations: 221.3 MB / 400.4 MB, free: 5.816 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008888/0.0008888, allocations: 105.3 kB / 483.3 MB, free: 5.82 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 4.182e-05/4.194e-05, allocations: 6.484 kB / 0.5601 GB, free: 87.86 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1566/0.1567, allocations: 82.31 MB / 0.6405 GB, free: 7.711 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.274/5.431, allocations: 2.121 GB / 2.762 GB, free: 34.78 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002203/5.431, allocations: 84.14 kB / 2.762 GB, free: 34.74 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.704/8.135, allocations: 0.6001 GB / 3.362 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of FrontEnd: time 1.553e-06/8.135, allocations: 0 / 3.362 GB, free: 135.8 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0003101/8.135, allocations: 36.25 kB / 3.362 GB, free: 135.8 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.00633/8.142, allocations: 1.345 MB / 3.363 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 8.347e-05/8.142, allocations: 11.75 kB / 3.363 GB, free: 135.3 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004643/8.142, allocations: 114.1 kB / 3.363 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00349/8.146, allocations: 0.5789 MB / 3.364 GB, free: 135.2 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003148/8.149, allocations: 0.9195 MB / 3.365 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.596e-05/8.149, allocations: 55.44 kB / 3.365 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002555/8.149, allocations: 75.69 kB / 3.365 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001739/8.151, allocations: 0.912 MB / 3.366 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.325e-05/8.151, allocations: 1.969 kB / 3.366 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.488e-05/8.151, allocations: 29.44 kB / 3.366 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.729e-05/8.151, allocations: 31.5 kB / 3.366 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001193/8.152, allocations: 0.6266 MB / 3.366 GB, free: 134.6 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.00605/8.159, allocations: 4.968 MB / 3.371 GB, free: 131.6 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00107/8.16, allocations: 0.5782 MB / 3.372 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004483/8.16, allocations: 305.6 kB / 3.372 GB, free: 131.5 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001049/8.161, allocations: 1.596 MB / 3.374 GB, free: 129.8 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006419/8.162, allocations: 402 kB / 3.374 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 3.437e-06/8.162, allocations: 0 / 3.374 GB, free: 129.7 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.001679/8.163, allocations: 0.7118 MB / 3.375 GB, free: 129.6 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.316e-05/8.164, allocations: 67.38 kB / 3.375 GB, free: 129.5 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00184/8.165, allocations: 0.9696 MB / 3.376 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001035/8.166, allocations: 43.17 kB / 3.376 GB, free: 129.3 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.000566/8.166, allocations: 0.5484 MB / 3.376 GB, free: 129.2 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002194/8.166, allocations: 210.9 kB / 3.377 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.847e-05/8.166, allocations: 10.94 kB / 3.377 GB, free: 129.1 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.135e-05/8.166, allocations: 341.6 kB / 3.377 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004447/8.167, allocations: 265.3 kB / 3.377 GB, free: 128.8 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006299/8.168, allocations: 0.5625 MB / 3.378 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005325/8.168, allocations: 313 kB / 3.378 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.222e-06/8.168, allocations: 0 / 3.378 GB, free: 128.4 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.001673/8.17, allocations: 0.9125 MB / 3.379 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.599e-05/8.17, allocations: 7.719 kB / 3.379 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.431e-05/8.17, allocations: 7.188 kB / 3.379 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.157e-05/8.17, allocations: 15 kB / 3.379 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001172/8.171, allocations: 278.1 kB / 3.379 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.828e-05/8.171, allocations: 22.02 kB / 3.379 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001457/8.173, allocations: 211.3 kB / 3.379 GB, free: 128.3 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/8.173, allocations: 54.16 kB / 3.379 GB, free: 128.3 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.0002165/8.173, allocations: 162.2 kB / 3.38 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000261/8.173, allocations: 121.7 kB / 3.38 GB, free: 128.1 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001898/8.175, allocations: 1.058 MB / 3.381 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.111e-05/8.175, allocations: 11.45 kB / 3.381 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.354e-06/8.175, allocations: 0 / 3.381 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/8.175, allocations: 11.64 kB / 3.381 GB, free: 128 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003406/8.179, allocations: 2.118 MB / 3.383 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.003e-06/8.179, allocations: 3 kB / 3.383 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001001/8.18, allocations: 203.7 kB / 3.383 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.13e-05/8.18, allocations: 3.5 kB / 3.383 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.157e-05/8.18, allocations: 29.78 kB / 3.383 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.891e-06/8.18, allocations: 3.719 kB / 3.383 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/8.18, allocations: 7.406 kB / 3.383 GB, free: 127.6 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002152/8.182, allocations: 1.561 MB / 3.385 GB, free: 127.2 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006366/8.183, allocations: 310.9 kB / 3.385 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002653/8.183, allocations: 27.23 kB / 3.385 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001115/8.184, allocations: 133.7 kB / 3.385 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001133/8.184, allocations: 44.7 kB / 3.385 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.293e-05/8.184, allocations: 40.69 kB / 3.385 GB, free: 127.1 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.0009669/8.185, allocations: 0.7592 MB / 3.386 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.3e-07/8.185, allocations: 0 / 3.386 GB, free: 126.9 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00152/8.187, allocations: 386.8 kB / 3.386 GB, free: 126.9 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.004246/8.191, allocations: 3.18 MB / 3.389 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.001302/8.192, allocations: 0.7751 MB / 3.39 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 3.246e-06/8.192, allocations: 3.5 kB / 3.39 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.0006126/8.193, allocations: 421.2 kB / 3.391 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002048/8.195, allocations: 419.3 kB / 3.391 GB, free: 125.5 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004997/8.2, allocations: 2.083 MB / 3.393 GB, free: 125 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006738/8.201, allocations: 1.138 MB / 3.394 GB, free: 124.3 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001163/8.202, allocations: 256.2 kB / 3.394 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006977/8.203, allocations: 467.7 kB / 3.395 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of SimCode: time 1.002e-06/8.203, allocations: 0 / 3.395 GB, free: 124.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06477/8.267, allocations: 32.67 MB / 3.427 GB, free: 122.9 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002015/8.268, allocations: 192.7 kB / 3.427 GB, free: 122.6 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.123/11.39, allocations: 0 / 3.427 GB, free: 122.6 MB / 0.6823 GB (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 & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > IDEAS_IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)