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.006724/0.006724, allocations: 171.3 kB / 15.11 MB, free: 5.984 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.806/0.806, allocations: 135.2 MB / 151.1 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.538/1.538, 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.0009595/0.0009594, allocations: 99.34 kB / 489.9 MB, free: 10.91 MB / 362.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004128/0.000413, allocations: 8 kB / 0.5691 GB, free: 14.07 MB / 458.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4446/0.4451, allocations: 82.31 MB / 0.6495 GB, free: 36.14 MB / 458.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.564/6.009, allocations: 2.121 GB / 2.771 GB, free: 126.4 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000347/6.009, allocations: 87.95 kB / 2.771 GB, free: 126.3 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.239/8.248, allocations: 0.602 GB / 3.373 GB, free: 43.97 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.595e-06/8.248, allocations: 0 / 3.373 GB, free: 43.97 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002163/8.248, allocations: 47.91 kB / 3.373 GB, free: 43.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.004659/8.253, allocations: 1.531 MB / 3.374 GB, free: 42.34 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 4.766e-05/8.253, allocations: 12.03 kB / 3.374 GB, free: 42.32 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0003096/8.253, allocations: 122.4 kB / 3.374 GB, free: 42.2 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003207/8.257, allocations: 0.5759 MB / 3.375 GB, free: 41.62 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002891/8.26, allocations: 0.9298 MB / 3.376 GB, free: 40.63 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.88e-05/8.26, allocations: 58 kB / 3.376 GB, free: 40.57 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002381/8.26, allocations: 68 kB / 3.376 GB, free: 40.51 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002304/8.262, allocations: 1.099 MB / 3.377 GB, free: 39.32 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.324e-05/8.262, allocations: 4 kB / 3.377 GB, free: 39.32 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.228e-05/8.262, allocations: 32 kB / 3.377 GB, free: 39.29 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.826e-05/8.262, allocations: 33.3 kB / 3.377 GB, free: 39.26 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002726/8.265, allocations: 1.004 MB / 3.378 GB, free: 38.25 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.005971/8.271, allocations: 4.955 MB / 3.383 GB, free: 33.01 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002658/8.274, allocations: 0.951 MB / 3.384 GB, free: 32.05 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001044/8.275, allocations: 1.596 MB / 3.386 GB, free: 30.11 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001477/8.276, allocations: 0.5729 MB / 3.386 GB, free: 29.52 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 4.538e-06/8.276, allocations: 3.984 kB / 3.386 GB, free: 29.52 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.004487/8.281, allocations: 1.512 MB / 3.388 GB, free: 28 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.555e-05/8.281, allocations: 59.92 kB / 3.388 GB, free: 27.93 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001547/8.282, allocations: 0.9929 MB / 3.389 GB, free: 26.93 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001197/8.283, allocations: 37.7 kB / 3.389 GB, free: 26.88 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004935/8.283, allocations: 0.5512 MB / 3.389 GB, free: 26.33 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.000213/8.283, allocations: 209 kB / 3.389 GB, free: 26.12 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.114e-05/8.283, allocations: 16 kB / 3.389 GB, free: 26.11 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.061e-05/8.284, allocations: 341.9 kB / 3.39 GB, free: 25.77 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001312/8.285, allocations: 449.7 kB / 3.39 GB, free: 25.32 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001489/8.286, allocations: 0.749 MB / 3.391 GB, free: 24.45 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001367/8.288, allocations: 0.4887 MB / 3.391 GB, free: 23.96 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.221e-05/8.288, allocations: 4 kB / 3.391 GB, free: 23.95 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003757/8.292, allocations: 1.289 MB / 3.393 GB, free: 22.66 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 4.351e-05/8.292, allocations: 8.625 kB / 3.393 GB, free: 22.65 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.059e-05/8.292, allocations: 8 kB / 3.393 GB, free: 22.64 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 6.293e-05/8.292, allocations: 12.81 kB / 3.393 GB, free: 22.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001255/8.293, allocations: 283.6 kB / 3.393 GB, free: 22.35 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.136e-05/8.293, allocations: 19.92 kB / 3.393 GB, free: 22.33 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00175/8.295, allocations: 202.9 kB / 3.393 GB, free: 22.13 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001734/8.295, allocations: 51.97 kB / 3.393 GB, free: 22.08 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.0008966/8.296, allocations: 299.8 kB / 3.393 GB, free: 21.78 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004693/8.296, allocations: 118.5 kB / 3.394 GB, free: 21.66 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00381/8.3, allocations: 1.436 MB / 3.395 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.309e-05/8.3, allocations: 8 kB / 3.395 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.007e-06/8.3, allocations: 0 / 3.395 GB, free: 20.21 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.847e-06/8.3, allocations: 3.984 kB / 3.395 GB, free: 20.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005593/8.306, allocations: 2.488 MB / 3.397 GB, free: 17.64 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.06e-05/8.306, allocations: 4 kB / 3.397 GB, free: 17.63 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001019/8.307, allocations: 196 kB / 3.398 GB, free: 17.44 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.668e-05/8.307, allocations: 11.98 kB / 3.398 GB, free: 17.43 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.213e-05/8.307, allocations: 19.98 kB / 3.398 GB, free: 17.41 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.803e-06/8.307, allocations: 7.938 kB / 3.398 GB, free: 17.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.056e-06/8.307, allocations: 4 kB / 3.398 GB, free: 17.4 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004681/8.312, allocations: 2.121 MB / 3.4 GB, free: 15.21 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007812/8.312, allocations: 315.2 kB / 3.4 GB, free: 14.88 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003151/8.313, allocations: 16 kB / 3.4 GB, free: 14.87 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001122/8.314, allocations: 131.9 kB / 3.4 GB, free: 14.74 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001257/8.314, allocations: 48.48 kB / 3.4 GB, free: 14.69 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.798e-05/8.314, allocations: 39.97 kB / 3.4 GB, free: 14.65 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001163/8.315, allocations: 0.7599 MB / 3.401 GB, free: 13.89 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.8e-07/8.315, allocations: 3.938 kB / 3.401 GB, free: 13.88 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.00169/8.317, allocations: 399.5 kB / 3.401 GB, free: 13.49 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.006678/8.324, allocations: 3.783 MB / 3.405 GB, free: 9.816 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.003054/8.327, allocations: 1.135 MB / 3.406 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 5.36e-06/8.327, allocations: 0 / 3.406 GB, free: 8.688 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.001485/8.328, allocations: 0.6009 MB / 3.407 GB, free: 8.086 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002538/8.331, allocations: 421.4 kB / 3.407 GB, free: 7.68 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.474/8.805, allocations: 12.59 MB / 3.419 GB, free: 132.7 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001232/8.806, allocations: 1.137 MB / 3.421 GB, free: 132 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001683/8.808, allocations: 263.6 kB / 3.421 GB, free: 132 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008089/8.809, allocations: 461.1 kB / 3.421 GB, free: 132 MB / 0.6823 GB Notification: Performance of SimCode: time 1.483e-06/8.809, allocations: 1 kB / 3.421 GB, free: 132 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06145/8.87, allocations: 32.38 MB / 3.453 GB, free: 131.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001842/8.87, allocations: 216.2 kB / 3.453 GB, free: 131.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.367/12.24, allocations: 0 / 3.453 GB, free: 131.2 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)