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/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-master/package.mo", uses=false) Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00487/0.00487, allocations: 99.55 kB / 15.73 MB, free: 6.008 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.001114/0.001114, allocations: 199.1 kB / 16.68 MB, free: 5.93 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.344/1.344, allocations: 222.9 MB / 240.4 MB, free: 4.184 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9128/0.9128, allocations: 135.1 MB / 425.7 MB, free: 11.98 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001208/0.001208, allocations: 59.91 kB / 0.5852 GB, free: 3.809 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3766/0.3778, allocations: 80.92 MB / 0.6642 GB, free: 7.246 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02674/0.4046, allocations: 29.34 MB / 0.6928 GB, free: 15.68 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.009974/0.4146, allocations: 6.877 MB / 0.6996 GB, free: 10.08 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001222/0.4158, allocations: 46.69 kB / 0.6996 GB, free: 10.06 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001417/0.4172, allocations: 0.691 MB / 0.7003 GB, free: 9.543 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.00312/0.4204, allocations: 1.452 MB / 0.7017 GB, free: 8.422 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002666/0.4231, allocations: 1.153 MB / 0.7028 GB, free: 7.555 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.003256/0.4263, allocations: 2.477 MB / 0.7052 GB, free: 6.125 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00108/0.4274, allocations: 0.7878 MB / 0.706 GB, free: 5.625 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001767/0.4292, allocations: 1.016 MB / 0.707 GB, free: 5.031 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0014/0.4306, allocations: 0.8076 MB / 0.7078 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001597/0.4308, allocations: 66.41 kB / 0.7079 GB, free: 4.574 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002376/0.4332, allocations: 0.8225 MB / 0.7087 GB, free: 3.91 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0004094/0.4336, allocations: 274.9 kB / 0.7089 GB, free: 3.641 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.001207/0.4348, allocations: 0.5553 MB / 0.7095 GB, free: 3.082 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.004207/0.439, allocations: 1.635 MB / 0.7111 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.155e-06/0.4391, allocations: 4 kB / 0.7111 GB, free: 1.438 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.954e-06/0.4391, allocations: 3.938 kB / 0.7111 GB, free: 1.434 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 6.393e-05/0.4392, allocations: 0 / 0.7111 GB, free: 1.434 MB / 0.5294 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.00481/0.444, allocations: 1.566 MB / 0.7126 GB, free: 15.8 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 6.682e-05/0.4441, allocations: 12.03 kB / 0.7126 GB, free: 15.79 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002953/0.4444, allocations: 114.7 kB / 0.7127 GB, free: 15.67 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005246/0.4496, allocations: 0.5884 MB / 0.7133 GB, free: 15.08 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003064/0.4527, allocations: 0.8829 MB / 0.7142 GB, free: 14.15 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001176/0.4529, allocations: 50 kB / 0.7142 GB, free: 14.1 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002758/0.4532, allocations: 76 kB / 0.7143 GB, free: 14.02 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004165/0.4573, allocations: 1.103 MB / 0.7154 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.329e-05/0.4574, allocations: 0 / 0.7154 GB, free: 12.84 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001489/0.4576, allocations: 28 kB / 0.7154 GB, free: 12.81 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.11e-05/0.4576, allocations: 20 kB / 0.7154 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004851/0.4625, allocations: 1 MB / 0.7164 GB, free: 11.79 MB / 0.545 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.009808/0.4723, allocations: 4.95 MB / 0.7212 GB, free: 6.555 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005778/0.4781, allocations: 0.9119 MB / 0.7221 GB, free: 5.637 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.002956/0.4811, allocations: 479.1 kB / 0.7226 GB, free: 5.168 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.002285/0.4834, allocations: 1.599 MB / 0.7241 GB, free: 3.215 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.003106/0.4865, allocations: 0.569 MB / 0.7247 GB, free: 2.637 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 5.079e-06/0.4866, allocations: 3.938 kB / 0.7247 GB, free: 2.633 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.009085/0.4957, allocations: 1.485 MB / 0.7261 GB, free: 1.145 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.247e-05/0.4958, allocations: 59.97 kB / 0.7262 GB, free: 1.074 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002366/0.4981, allocations: 1.116 MB / 0.7273 GB, free: 15.95 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000129/0.4983, allocations: 45.7 kB / 0.7273 GB, free: 15.89 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.000715/0.499, allocations: 0.5434 MB / 0.7278 GB, free: 15.34 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003196/0.4994, allocations: 205.1 kB / 0.728 GB, free: 15.14 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004694/0.4999, allocations: 162.4 kB / 0.7282 GB, free: 14.98 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001668/0.5, allocations: 345.9 kB / 0.7285 GB, free: 14.63 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002934/0.503, allocations: 445.6 kB / 0.729 GB, free: 14.2 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.003259/0.5063, allocations: 0.7205 MB / 0.7297 GB, free: 13.37 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005686/0.512, allocations: 1.113 MB / 0.7307 GB, free: 12.15 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.336e-05/0.512, allocations: 4 kB / 0.7307 GB, free: 12.14 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.007158/0.5192, allocations: 1.278 MB / 0.732 GB, free: 10.86 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 3.372e-05/0.5192, allocations: 10.81 kB / 0.732 GB, free: 10.85 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.039e-05/0.5193, allocations: 8 kB / 0.732 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.974e-05/0.5193, allocations: 16.03 kB / 0.732 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002331/0.5217, allocations: 259.6 kB / 0.7323 GB, free: 10.57 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-05/0.5217, allocations: 19.92 kB / 0.7323 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002267/0.524, allocations: 179 kB / 0.7325 GB, free: 10.38 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000176/0.5242, allocations: 47.97 kB / 0.7325 GB, free: 10.33 MB / 0.5606 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 ($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.0008253/0.5251, allocations: 295.7 kB / 0.7328 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004207/0.5255, allocations: 118.5 kB / 0.7329 GB, free: 9.914 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007354/0.5329, allocations: 1.355 MB / 0.7342 GB, free: 8.555 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.682e-05/0.5329, allocations: 11.94 kB / 0.7342 GB, free: 8.543 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.738e-06/0.533, allocations: 4 kB / 0.7342 GB, free: 8.539 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.384e-05/0.533, allocations: 3.984 kB / 0.7342 GB, free: 8.535 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007538/0.5405, allocations: 2.362 MB / 0.7366 GB, free: 6.102 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.329e-05/0.5406, allocations: 3.938 kB / 0.7366 GB, free: 6.098 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001596/0.5422, allocations: 195.9 kB / 0.7367 GB, free: 5.906 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.719e-05/0.5422, allocations: 4 kB / 0.7368 GB, free: 5.902 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001137/0.5423, allocations: 27.91 kB / 0.7368 GB, free: 5.875 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.146e-05/0.5424, allocations: 4 kB / 0.7368 GB, free: 5.871 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.847e-06/0.5424, allocations: 7.938 kB / 0.7368 GB, free: 5.863 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.008279/0.5507, allocations: 1.965 MB / 0.7387 GB, free: 3.859 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008037/0.5515, allocations: 279.3 kB / 0.739 GB, free: 3.566 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003458/0.5519, allocations: 23.94 kB / 0.739 GB, free: 3.543 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00157/0.5535, allocations: 103.8 kB / 0.7391 GB, free: 3.441 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/0.5536, allocations: 60.42 kB / 0.7392 GB, free: 3.383 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001168/0.5538, allocations: 31.97 kB / 0.7392 GB, free: 3.352 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.001585/0.5554, allocations: 0.7638 MB / 0.7399 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of sort global known variables: time 3.91e-07/0.5554, allocations: 0 / 0.7399 GB, free: 2.582 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001702/0.5571, allocations: 343.6 kB / 0.7403 GB, free: 2.246 MB / 0.5606 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 (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.01248/0.5696, allocations: 3.081 MB / 0.7433 GB, free: 15.29 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.006654/0.5763, allocations: 1.118 MB / 0.7444 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.382e-06/0.5763, allocations: 0 / 0.7444 GB, free: 14.17 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.003257/0.5796, allocations: 0.5658 MB / 0.7449 GB, free: 13.6 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004014/0.5837, allocations: 455.2 kB / 0.7453 GB, free: 13.16 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03356/0.6172, allocations: 9.578 MB / 0.7547 GB, free: 3.219 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/0.6184, allocations: 1.108 MB / 0.7558 GB, free: 2.082 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.001466/0.6199, allocations: 248.7 kB / 0.756 GB, free: 1.836 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006454/0.6206, allocations: 459.2 kB / 0.7565 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of SimCode: time 5.31e-07/0.6206, allocations: 0 / 0.7565 GB, free: 1.387 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3165/0.9371, allocations: 30.65 MB / 0.7864 GB, free: 3.074 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.35/11.29, allocations: 13.66 kB / 0.7864 GB, free: 3.066 MB / 0.6075 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/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)