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.006273/0.006273, allocations: 107 kB / 15.74 MB, free: 6.449 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.001491/0.001491, allocations: 197 kB / 16.67 MB, free: 6.355 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.352/1.352, allocations: 222.9 MB / 240.4 MB, free: 4.27 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.9486/0.9486, allocations: 135.1 MB / 425.7 MB, free: 12.07 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001382/0.001382, allocations: 67.89 kB / 0.5852 GB, free: 3.797 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3917/0.3931, allocations: 80.9 MB / 0.6642 GB, free: 7.277 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02771/0.4209, allocations: 29.34 MB / 0.6928 GB, free: 15.71 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.0108/0.4317, allocations: 6.879 MB / 0.6996 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001512/0.4333, allocations: 48.53 kB / 0.6996 GB, free: 10.09 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001845/0.4352, allocations: 0.6917 MB / 0.7003 GB, free: 9.566 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.004036/0.4393, allocations: 1.449 MB / 0.7017 GB, free: 8.449 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.003371/0.4427, allocations: 1.15 MB / 0.7028 GB, free: 7.586 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.004202/0.4469, allocations: 2.482 MB / 0.7052 GB, free: 6.152 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00142/0.4483, allocations: 0.7923 MB / 0.706 GB, free: 5.648 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002033/0.4503, allocations: 1.035 MB / 0.707 GB, free: 5.047 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001087/0.4514, allocations: 0.8092 MB / 0.7078 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001205/0.4516, allocations: 66 kB / 0.7079 GB, free: 4.59 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001939/0.4535, allocations: 0.8269 MB / 0.7087 GB, free: 3.887 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0002749/0.4538, allocations: 274.9 kB / 0.7089 GB, free: 3.617 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0005417/0.4544, allocations: 0.5553 MB / 0.7095 GB, free: 3.059 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.00207/0.4564, allocations: 1.639 MB / 0.7111 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.468e-06/0.4565, allocations: 0 / 0.7111 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.503e-06/0.4565, allocations: 0 / 0.7111 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.331e-05/0.4565, allocations: 0 / 0.7111 GB, free: 1.414 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.002472/0.459, allocations: 1.574 MB / 0.7126 GB, free: 15.78 MB / 0.545 GB Notification: Performance of prepare preOptimizeDAE: time 3.656e-05/0.459, allocations: 8.031 kB / 0.7126 GB, free: 15.77 MB / 0.545 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001204/0.4591, allocations: 114.7 kB / 0.7127 GB, free: 15.65 MB / 0.545 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003362/0.4625, allocations: 0.5884 MB / 0.7133 GB, free: 15.06 MB / 0.545 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001378/0.4639, allocations: 0.8713 MB / 0.7142 GB, free: 14.14 MB / 0.545 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.65e-05/0.464, allocations: 54 kB / 0.7142 GB, free: 14.08 MB / 0.545 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001172/0.4641, allocations: 76 kB / 0.7143 GB, free: 14.01 MB / 0.545 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002383/0.4665, allocations: 1.099 MB / 0.7154 GB, free: 12.83 MB / 0.545 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.332e-05/0.4665, allocations: 3.984 kB / 0.7154 GB, free: 12.82 MB / 0.545 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.142e-05/0.4666, allocations: 31.94 kB / 0.7154 GB, free: 12.79 MB / 0.545 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.4666, allocations: 24 kB / 0.7154 GB, free: 12.77 MB / 0.545 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003016/0.4696, allocations: 1 MB / 0.7164 GB, free: 11.77 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.005399/0.475, allocations: 4.954 MB / 0.7212 GB, free: 6.527 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00292/0.478, allocations: 0.899 MB / 0.7221 GB, free: 5.621 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001436/0.4794, allocations: 479.1 kB / 0.7226 GB, free: 5.152 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001376/0.4808, allocations: 1.603 MB / 0.7241 GB, free: 3.195 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001903/0.4827, allocations: 0.5689 MB / 0.7247 GB, free: 2.617 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 3.046e-06/0.4827, allocations: 3.938 kB / 0.7247 GB, free: 2.613 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.004852/0.4876, allocations: 1.489 MB / 0.7262 GB, free: 1.121 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.379e-05/0.4877, allocations: 55.97 kB / 0.7262 GB, free: 1.055 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00124/0.4889, allocations: 1.116 MB / 0.7273 GB, free: 15.92 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 6.602e-05/0.489, allocations: 45.7 kB / 0.7273 GB, free: 15.87 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004061/0.4894, allocations: 0.5433 MB / 0.7279 GB, free: 15.32 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001792/0.4896, allocations: 205.1 kB / 0.7281 GB, free: 15.12 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002672/0.4899, allocations: 166.4 kB / 0.7282 GB, free: 14.95 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 0.0001305/0.49, allocations: 341.9 kB / 0.7286 GB, free: 14.61 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001443/0.4914, allocations: 445.6 kB / 0.729 GB, free: 14.18 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001642/0.4931, allocations: 0.7205 MB / 0.7297 GB, free: 13.35 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003007/0.4961, allocations: 1.117 MB / 0.7308 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.202e-06/0.4961, allocations: 4 kB / 0.7308 GB, free: 12.12 MB / 0.5606 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003502/0.4996, allocations: 1.274 MB / 0.732 GB, free: 10.84 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.242e-05/0.4997, allocations: 12.16 kB / 0.732 GB, free: 10.83 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.313e-05/0.4997, allocations: 8 kB / 0.732 GB, free: 10.82 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.442e-05/0.4997, allocations: 12 kB / 0.7321 GB, free: 10.81 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001168/0.5009, allocations: 263.6 kB / 0.7323 GB, free: 10.55 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.916e-05/0.5009, allocations: 19.92 kB / 0.7323 GB, free: 10.53 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001081/0.502, allocations: 175 kB / 0.7325 GB, free: 10.36 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.904e-05/0.5021, allocations: 47.97 kB / 0.7325 GB, free: 10.31 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.0004027/0.5025, allocations: 295.7 kB / 0.7328 GB, free: 10.01 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001603/0.5027, allocations: 118.5 kB / 0.7329 GB, free: 9.895 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003784/0.5065, allocations: 1.359 MB / 0.7343 GB, free: 8.531 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.814e-05/0.5065, allocations: 12 kB / 0.7343 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.24e-06/0.5065, allocations: 0 / 0.7343 GB, free: 8.52 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.5065, allocations: 3.984 kB / 0.7343 GB, free: 8.516 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004978/0.5115, allocations: 2.366 MB / 0.7366 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.626e-06/0.5116, allocations: 0 / 0.7366 GB, free: 6.078 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001043/0.5126, allocations: 191.9 kB / 0.7368 GB, free: 5.891 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.361e-05/0.5126, allocations: 8 kB / 0.7368 GB, free: 5.883 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.31e-05/0.5127, allocations: 27.91 kB / 0.7368 GB, free: 5.855 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.049e-05/0.5127, allocations: 7.938 kB / 0.7368 GB, free: 5.848 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.668e-06/0.5127, allocations: 4 kB / 0.7368 GB, free: 5.844 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00553/0.5183, allocations: 1.969 MB / 0.7387 GB, free: 3.836 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007038/0.519, allocations: 283.3 kB / 0.739 GB, free: 3.539 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001602/0.5192, allocations: 19.94 kB / 0.739 GB, free: 3.52 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009151/0.5201, allocations: 107.9 kB / 0.7391 GB, free: 3.414 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001241/0.5202, allocations: 52.48 kB / 0.7392 GB, free: 3.363 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.44e-05/0.5203, allocations: 35.91 kB / 0.7392 GB, free: 3.328 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009172/0.5212, allocations: 0.7677 MB / 0.74 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.91e-07/0.5213, allocations: 0 / 0.74 GB, free: 2.555 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001075/0.5223, allocations: 339.6 kB / 0.7403 GB, free: 2.223 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.006757/0.5291, allocations: 3.079 MB / 0.7433 GB, free: 15.26 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.00334/0.5325, allocations: 1.114 MB / 0.7444 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 3.276e-06/0.5325, allocations: 192 / 0.7444 GB, free: 14.15 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.001626/0.5341, allocations: 0.5734 MB / 0.7449 GB, free: 13.57 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001968/0.5361, allocations: 455 kB / 0.7454 GB, free: 13.14 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0172/0.5533, allocations: 9.578 MB / 0.7547 GB, free: 3.195 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006773/0.554, allocations: 1.104 MB / 0.7558 GB, free: 2.062 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0008929/0.5549, allocations: 248.7 kB / 0.756 GB, free: 1.816 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006305/0.5556, allocations: 459.2 kB / 0.7565 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of SimCode: time 8.42e-07/0.5556, allocations: 0 / 0.7565 GB, free: 1.367 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06218/0.6178, allocations: 31.12 MB / 0.7869 GB, free: 2.586 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.08/10.7, allocations: 19.91 kB / 0.7869 GB, free: 2.566 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)