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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001006/0.001006, allocations: 98.03 kB / 15.36 MB, free: 0.7344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.007722/0.007722, allocations: 168.9 kB / 16.26 MB, free: 6.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.298/1.298, allocations: 223.3 MB / 240.3 MB, free: 5.34 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7573/0.7573, allocations: 132.3 MB / 423.8 MB, free: 1.965 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003067/0.0003066, allocations: 12 kB / 0.5041 GB, free: 3.809 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3818/0.3821, allocations: 81.57 MB / 0.5837 GB, free: 4.059 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02841/0.4106, allocations: 28.46 MB / 0.6115 GB, free: 15.03 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.009898/0.4206, allocations: 6.818 MB / 0.6182 GB, free: 9.496 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00101/0.4216, allocations: 45.12 kB / 0.6182 GB, free: 9.473 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001328/0.4229, allocations: 0.5981 MB / 0.6188 GB, free: 9.047 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003055/0.426, allocations: 1.338 MB / 0.6201 GB, free: 8.023 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002419/0.4284, allocations: 1.043 MB / 0.6211 GB, free: 7.27 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.003257/0.4317, allocations: 3.213 MB / 0.6243 GB, free: 5.504 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008809/0.4326, allocations: 0.7176 MB / 0.625 GB, free: 5.047 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.001452/0.4341, allocations: 0.9256 MB / 0.6259 GB, free: 4.531 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001105/0.4352, allocations: 0.822 MB / 0.6267 GB, free: 4.07 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 9.589e-05/0.4353, allocations: 36.22 kB / 0.6267 GB, free: 4.07 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001667/0.437, allocations: 0.7622 MB / 0.6275 GB, free: 3.551 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002517/0.4372, allocations: 239 kB / 0.6277 GB, free: 3.316 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0005348/0.4378, allocations: 0.5453 MB / 0.6282 GB, free: 2.762 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001831/0.4396, allocations: 1.553 MB / 0.6297 GB, free: 1.203 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.577e-06/0.4396, allocations: 0 / 0.6297 GB, free: 1.203 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4396, allocations: 0 / 0.6297 GB, free: 1.203 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.182e-05/0.4396, allocations: 0 / 0.6297 GB, free: 1.203 MB / 462.1 MB 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.002225/0.4419, allocations: 1.364 MB / 0.6311 GB, free: 15.79 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.756e-05/0.4419, allocations: 12.03 kB / 0.6311 GB, free: 15.77 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00013/0.4421, allocations: 118.7 kB / 0.6312 GB, free: 15.65 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003409/0.4455, allocations: 0.6314 MB / 0.6318 GB, free: 15.02 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001072/0.4465, allocations: 0.8013 MB / 0.6326 GB, free: 14.16 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.487e-05/0.4466, allocations: 58 kB / 0.6327 GB, free: 14.1 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001209/0.4468, allocations: 72 kB / 0.6327 GB, free: 14.03 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002289/0.449, allocations: 1.119 MB / 0.6338 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.805e-05/0.4491, allocations: 3.938 kB / 0.6338 GB, free: 12.83 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.69e-05/0.4492, allocations: 32 kB / 0.6339 GB, free: 12.8 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.825e-05/0.4492, allocations: 20 kB / 0.6339 GB, free: 12.78 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003001/0.4522, allocations: 1.031 MB / 0.6349 GB, free: 11.74 MB / 478.1 MB 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.005328/0.4575, allocations: 4.955 MB / 0.6397 GB, free: 6.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002956/0.4605, allocations: 0.9585 MB / 0.6407 GB, free: 5.531 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001472/0.462, allocations: 0.4942 MB / 0.6411 GB, free: 5.035 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00134/0.4633, allocations: 1.595 MB / 0.6427 GB, free: 3.09 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00163/0.465, allocations: 0.5846 MB / 0.6433 GB, free: 2.496 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 2.855e-06/0.465, allocations: 0 / 0.6433 GB, free: 2.496 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.004704/0.4697, allocations: 1.52 MB / 0.6448 GB, free: 0.9727 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.115e-05/0.4698, allocations: 59.97 kB / 0.6448 GB, free: 0.8984 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001239/0.471, allocations: 1.112 MB / 0.6459 GB, free: 15.77 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 7.954e-05/0.4711, allocations: 37.7 kB / 0.6459 GB, free: 15.73 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0004113/0.4715, allocations: 0.5511 MB / 0.6465 GB, free: 15.17 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001738/0.4717, allocations: 205.2 kB / 0.6467 GB, free: 14.97 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001033/0.4718, allocations: 73.67 kB / 0.6467 GB, free: 14.89 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.4719, allocations: 334 kB / 0.6471 GB, free: 14.56 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001476/0.4734, allocations: 461.6 kB / 0.6475 GB, free: 14.11 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001681/0.4751, allocations: 0.7281 MB / 0.6482 GB, free: 13.27 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.003044/0.4782, allocations: 1.156 MB / 0.6493 GB, free: 12.01 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.4782, allocations: 0 / 0.6493 GB, free: 12.01 MB / 494.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003543/0.4817, allocations: 1.29 MB / 0.6506 GB, free: 10.71 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.197e-05/0.4818, allocations: 12.19 kB / 0.6506 GB, free: 10.7 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.285e-05/0.4818, allocations: 8 kB / 0.6506 GB, free: 10.69 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.314e-05/0.4818, allocations: 12 kB / 0.6506 GB, free: 10.68 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001224/0.4831, allocations: 271.6 kB / 0.6509 GB, free: 10.41 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.132e-05/0.4831, allocations: 19.92 kB / 0.6509 GB, free: 10.39 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001199/0.4843, allocations: 214.8 kB / 0.6511 GB, free: 10.18 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.017e-05/0.4844, allocations: 51.97 kB / 0.6512 GB, free: 10.13 MB / 494.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 34 * Number of states: 0 () * Number of discrete variables: 15 ($PRE.setHeaHigPow.nextTimeEvent,$whenCondition3,$PRE.setCooLimPow.nextTimeEvent,$whenCondition2,$PRE.setHeaCooUnl.nextTimeEvent,$whenCondition1,setHeaCooUnl.nextTimeEventScaled,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEventScaled,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,setHeaHigPow.nextTimeEventScaled,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0004291/0.4848, allocations: 291.7 kB / 0.6514 GB, free: 9.836 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001385/0.485, allocations: 114.6 kB / 0.6515 GB, free: 9.723 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00378/0.4888, allocations: 1.397 MB / 0.6529 GB, free: 8.34 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.521e-05/0.4888, allocations: 8 kB / 0.6529 GB, free: 8.332 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.48e-06/0.4888, allocations: 4 kB / 0.6529 GB, free: 8.328 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.748e-06/0.4888, allocations: 3.984 kB / 0.6529 GB, free: 8.324 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004871/0.4937, allocations: 2.401 MB / 0.6553 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.192e-06/0.4937, allocations: 0 / 0.6553 GB, free: 5.848 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001024/0.4947, allocations: 199.9 kB / 0.6555 GB, free: 5.652 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.843e-06/0.4948, allocations: 4 kB / 0.6555 GB, free: 5.648 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.247e-05/0.4948, allocations: 23.97 kB / 0.6555 GB, free: 5.625 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.181e-06/0.4948, allocations: 11.88 kB / 0.6555 GB, free: 5.613 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.073e-06/0.4948, allocations: 7.938 kB / 0.6555 GB, free: 5.605 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005104/0.5, allocations: 2.004 MB / 0.6575 GB, free: 3.566 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003806/0.5003, allocations: 287.3 kB / 0.6577 GB, free: 3.266 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001413/0.5005, allocations: 15.98 kB / 0.6578 GB, free: 3.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000997/0.5015, allocations: 135.8 kB / 0.6579 GB, free: 3.117 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.887e-05/0.5016, allocations: 48.48 kB / 0.6579 GB, free: 3.07 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.048e-05/0.5017, allocations: 35.97 kB / 0.658 GB, free: 3.035 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.0008612/0.5026, allocations: 0.7638 MB / 0.6587 GB, free: 2.266 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5026, allocations: 0 / 0.6587 GB, free: 2.266 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009876/0.5036, allocations: 339.6 kB / 0.659 GB, free: 1.934 MB / 494.1 MB 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 (70): * Single equations (assignments): 55 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 6 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006709/0.5103, allocations: 3.104 MB / 0.6621 GB, free: 14.99 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.003303/0.5136, allocations: 1.138 MB / 0.6632 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.966e-06/0.5136, allocations: 0 / 0.6632 GB, free: 13.85 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001651/0.5153, allocations: 0.5776 MB / 0.6637 GB, free: 13.27 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002254/0.5175, allocations: 436.3 kB / 0.6642 GB, free: 12.86 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01853/0.5361, allocations: 10.68 MB / 0.6746 GB, free: 1.609 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006315/0.5367, allocations: 1.104 MB / 0.6757 GB, free: 488 kB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001002/0.5378, allocations: 249.7 kB / 0.6759 GB, free: 240 kB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006359/0.5384, allocations: 467.2 kB / 0.6763 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of SimCode: time 6.61e-07/0.5384, allocations: 0 / 0.6763 GB, free: 15.78 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.4795/1.018, allocations: 28.93 MB / 0.7046 GB, free: 3.301 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003157/1.018, allocations: 236.8 kB / 0.7048 GB, free: 3.051 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.466/3.484, allocations: 0 / 0.7048 GB, free: 3.051 MB / 0.5294 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/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)