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.002542/0.002542, allocations: 174.7 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.798/0.798, allocations: 133.4 MB / 146.7 MB, free: 10.79 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.587/1.587, allocations: 221.3 MB / 400.4 MB, free: 5.859 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.001133/0.001133, allocations: 102.2 kB / 483.3 MB, free: 5.879 MB / 394.7 MB Notification: Performance of FrontEnd - loaded program: time 5.979e-05/6.003e-05, allocations: 4.531 kB / 0.5601 GB, free: 87.83 MB / 442.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1717/0.1718, allocations: 82.31 MB / 0.6405 GB, free: 7.746 MB / 442.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 5.245/5.417, allocations: 2.121 GB / 2.762 GB, free: 66.98 MB / 0.6823 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/5.417, allocations: 87.95 kB / 2.762 GB, free: 66.9 MB / 0.6823 GB Notification: Performance of FrontEnd - DAE generated: time 2.798/8.215, allocations: 0.6001 GB / 3.362 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of FrontEnd: time 2.204e-06/8.215, allocations: 0 / 3.362 GB, free: 140.9 MB / 0.6823 GB Notification: Performance of Transformations before backend: time 0.0002154/8.216, allocations: 44.48 kB / 3.362 GB, free: 140.9 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.005478/8.221, allocations: 1.343 MB / 3.363 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of prepare preOptimizeDAE: time 7.914e-05/8.221, allocations: 9.688 kB / 3.363 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002349/8.222, allocations: 115 kB / 3.363 GB, free: 140.4 MB / 0.6823 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00391/8.225, allocations: 0.577 MB / 3.364 GB, free: 140.3 MB / 0.6823 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003743/8.229, allocations: 0.9265 MB / 3.365 GB, free: 140 MB / 0.6823 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.616e-05/8.229, allocations: 57.53 kB / 3.365 GB, free: 140 MB / 0.6823 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001838/8.23, allocations: 69.23 kB / 3.365 GB, free: 140 MB / 0.6823 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002049/8.232, allocations: 0.9126 MB / 3.366 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.027e-05/8.232, allocations: 5.125 kB / 3.366 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.42e-05/8.232, allocations: 30.56 kB / 3.366 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.492e-05/8.232, allocations: 32.48 kB / 3.366 GB, free: 139.7 MB / 0.6823 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001525/8.233, allocations: 0.6304 MB / 3.366 GB, free: 139.7 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.008031/8.241, allocations: 4.967 MB / 3.371 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001577/8.243, allocations: 0.5792 MB / 3.372 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006633/8.244, allocations: 305.1 kB / 3.372 GB, free: 136.7 MB / 0.6823 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001535/8.245, allocations: 1.594 MB / 3.374 GB, free: 134.9 MB / 0.6823 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001039/8.246, allocations: 403.4 kB / 3.374 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of pre-optimization done (n=61): time 4.107e-06/8.246, allocations: 0.6562 kB / 3.374 GB, free: 134.8 MB / 0.6823 GB Notification: Performance of matching and sorting (n=61): time 0.00253/8.249, allocations: 0.7142 MB / 3.375 GB, free: 134.7 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.206e-05/8.249, allocations: 66.06 kB / 3.375 GB, free: 134.6 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002441/8.251, allocations: 0.9711 MB / 3.376 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 0.0001472/8.252, allocations: 46.12 kB / 3.376 GB, free: 134.5 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006279/8.252, allocations: 0.543 MB / 3.376 GB, free: 134.3 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003294/8.252, allocations: 210 kB / 3.377 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.354e-05/8.253, allocations: 16.81 kB / 3.377 GB, free: 134.2 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 0.0001262/8.253, allocations: 341.7 kB / 3.377 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006122/8.253, allocations: 263 kB / 3.377 GB, free: 133.9 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009363/8.254, allocations: 0.5633 MB / 3.378 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007234/8.255, allocations: 320.1 kB / 3.378 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.03e-05/8.255, allocations: 3 kB / 3.378 GB, free: 133.5 MB / 0.6823 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.00195/8.257, allocations: 0.9056 MB / 3.379 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.943e-05/8.257, allocations: 12.53 kB / 3.379 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/8.257, allocations: 12.94 kB / 3.379 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.365e-05/8.257, allocations: 15.34 kB / 3.379 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001218/8.258, allocations: 274.3 kB / 3.379 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.138e-05/8.258, allocations: 21.58 kB / 3.379 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001511/8.26, allocations: 206.2 kB / 3.379 GB, free: 133.4 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001248/8.26, allocations: 53.06 kB / 3.379 GB, free: 133.4 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.0002448/8.26, allocations: 166.8 kB / 3.38 GB, free: 133.3 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001928/8.26, allocations: 118.4 kB / 3.38 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002135/8.263, allocations: 1.056 MB / 3.381 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.74e-05/8.263, allocations: 15.06 kB / 3.381 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.756e-06/8.263, allocations: 0 / 3.381 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/8.263, allocations: 8.422 kB / 3.381 GB, free: 133.2 MB / 0.6823 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004499/8.267, allocations: 2.101 MB / 3.383 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.344e-05/8.267, allocations: 2.438 kB / 3.383 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001371/8.269, allocations: 208.9 kB / 3.383 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.183e-05/8.269, allocations: 4.844 kB / 3.383 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.46e-05/8.269, allocations: 27.38 kB / 3.383 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.596e-05/8.269, allocations: 4.625 kB / 3.383 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.977e-06/8.269, allocations: 1.672 kB / 3.383 GB, free: 132.8 MB / 0.6823 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00362/8.272, allocations: 1.566 MB / 3.385 GB, free: 132.4 MB / 0.6823 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001045/8.273, allocations: 312.7 kB / 3.385 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001881/8.274, allocations: 19.16 kB / 3.385 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001142/8.275, allocations: 131.4 kB / 3.385 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001829/8.275, allocations: 51.55 kB / 3.385 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001051/8.275, allocations: 39.83 kB / 3.385 GB, free: 132.2 MB / 0.6823 GB Notification: Performance of sorting global known variables: time 0.001472/8.277, allocations: 0.757 MB / 3.386 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of sort global known variables: time 1.81e-07/8.277, allocations: 0 / 3.386 GB, free: 132.1 MB / 0.6823 GB Notification: Performance of remove unused functions: time 0.001913/8.279, allocations: 391.2 kB / 3.386 GB, free: 132.1 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.005465/8.284, allocations: 3.17 MB / 3.389 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: created initialization part: time 0.002018/8.286, allocations: 0.772 MB / 3.39 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: created event and clocks part: time 7.574e-06/8.286, allocations: 0 / 3.39 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: created simulation system equations: time 0.000935/8.287, allocations: 426.8 kB / 3.391 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002784/8.29, allocations: 420.9 kB / 3.391 GB, free: 130.7 MB / 0.6823 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00669/8.297, allocations: 2.098 MB / 3.393 GB, free: 130.2 MB / 0.6823 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006476/8.297, allocations: 1.135 MB / 3.394 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of simCode: alias equations: time 0.001373/8.299, allocations: 258.2 kB / 3.394 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006764/8.299, allocations: 465.7 kB / 3.395 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of SimCode: time 1.292e-06/8.299, allocations: 0 / 3.395 GB, free: 129.4 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06649/8.366, allocations: 32.67 MB / 3.427 GB, free: 128.2 MB / 0.6823 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002078/8.366, allocations: 197.7 kB / 3.427 GB, free: 128 MB / 0.6823 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.18/11.55, allocations: 0 / 3.427 GB, free: 128 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)