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.001503/0.001503, allocations: 108 kB / 15.6 MB, free: 128 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001776/0.001776, allocations: 197.8 kB / 16.53 MB, free: 6.672 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.364/1.364, allocations: 222.9 MB / 240.2 MB, free: 4.418 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.7633/0.7633, allocations: 132.2 MB / 422.6 MB, free: 1.789 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001268/0.001268, allocations: 64.23 kB / 0.5019 GB, free: 3.773 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.353/0.3543, allocations: 80.2 MB / 0.5802 GB, free: 4.57 MB / 430.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02465/0.379, allocations: 29.34 MB / 0.6088 GB, free: 14.93 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.008548/0.3876, allocations: 6.878 MB / 0.6156 GB, free: 9.328 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0006789/0.3883, allocations: 47.12 kB / 0.6156 GB, free: 9.309 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001204/0.3895, allocations: 0.6886 MB / 0.6163 GB, free: 8.793 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002479/0.392, allocations: 1.454 MB / 0.6177 GB, free: 7.672 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0022/0.3942, allocations: 1.149 MB / 0.6188 GB, free: 6.812 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.002181/0.3964, allocations: 2.468 MB / 0.6212 GB, free: 5.414 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008657/0.3973, allocations: 0.7951 MB / 0.622 GB, free: 4.902 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.00132/0.3986, allocations: 1.008 MB / 0.623 GB, free: 4.328 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000809/0.3994, allocations: 0.813 MB / 0.6238 GB, free: 3.867 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001113/0.3995, allocations: 66.16 kB / 0.6238 GB, free: 3.867 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001418/0.401, allocations: 0.8113 MB / 0.6246 GB, free: 3.426 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002308/0.4012, allocations: 288.7 kB / 0.6249 GB, free: 3.219 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004493/0.4017, allocations: 0.5509 MB / 0.6255 GB, free: 2.852 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001631/0.4033, allocations: 1.601 MB / 0.627 GB, free: 1.441 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.517e-06/0.4033, allocations: 0 / 0.627 GB, free: 1.441 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.082e-06/0.4033, allocations: 0 / 0.627 GB, free: 1.441 MB / 462.1 MB Notification: Performance of Transformations before backend: time 1.496e-05/0.4034, allocations: 0 / 0.627 GB, free: 1.441 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.002149/0.4055, allocations: 1.583 MB / 0.6286 GB, free: 15.8 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.132e-05/0.4055, allocations: 8.031 kB / 0.6286 GB, free: 15.8 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001053/0.4057, allocations: 114.7 kB / 0.6287 GB, free: 15.68 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003178/0.4088, allocations: 0.5846 MB / 0.6293 GB, free: 15.09 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001115/0.41, allocations: 0.8091 MB / 0.63 GB, free: 14.23 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.308e-05/0.41, allocations: 54 kB / 0.6301 GB, free: 14.17 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001125/0.4101, allocations: 79.84 kB / 0.6302 GB, free: 14.09 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002216/0.4124, allocations: 1.096 MB / 0.6312 GB, free: 12.92 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.7e-05/0.4124, allocations: 7.938 kB / 0.6312 GB, free: 12.91 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.319e-05/0.4125, allocations: 28 kB / 0.6313 GB, free: 12.89 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.565e-05/0.4125, allocations: 20 kB / 0.6313 GB, free: 12.87 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002863/0.4154, allocations: 1 MB / 0.6323 GB, free: 11.87 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.004728/0.4201, allocations: 4.951 MB / 0.6371 GB, free: 6.629 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.002723/0.4228, allocations: 0.9029 MB / 0.638 GB, free: 5.715 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.001355/0.4242, allocations: 493 kB / 0.6385 GB, free: 5.234 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001179/0.4254, allocations: 1.592 MB / 0.64 GB, free: 3.293 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001509/0.4269, allocations: 0.5806 MB / 0.6406 GB, free: 2.699 MB / 478.1 MB Notification: Performance of pre-optimization done (n=61): time 2.304e-06/0.4269, allocations: 0 / 0.6406 GB, free: 2.699 MB / 478.1 MB Notification: Performance of matching and sorting (n=61): time 0.004466/0.4314, allocations: 1.481 MB / 0.642 GB, free: 1.211 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.178e-05/0.4315, allocations: 55.97 kB / 0.6421 GB, free: 1.145 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001098/0.4326, allocations: 1.12 MB / 0.6432 GB, free: 12 kB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 7.374e-05/0.4326, allocations: 41.7 kB / 0.6432 GB, free: 15.96 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003655/0.433, allocations: 0.5472 MB / 0.6437 GB, free: 15.41 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001562/0.4332, allocations: 209.1 kB / 0.6439 GB, free: 15.2 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000234/0.4334, allocations: 162.5 kB / 0.6441 GB, free: 15.04 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 9.887e-05/0.4335, allocations: 338 kB / 0.6444 GB, free: 14.7 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001384/0.4349, allocations: 453.6 kB / 0.6449 GB, free: 14.26 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/0.4365, allocations: 0.7125 MB / 0.6456 GB, free: 13.44 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.002832/0.4393, allocations: 1.124 MB / 0.6466 GB, free: 12.21 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.71e-06/0.4393, allocations: 4 kB / 0.6467 GB, free: 12.21 MB / 494.1 MB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003353/0.4427, allocations: 1.275 MB / 0.6479 GB, free: 10.92 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.4427, allocations: 8 kB / 0.6479 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.4427, allocations: 8 kB / 0.6479 GB, free: 10.91 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.909e-05/0.4428, allocations: 8 kB / 0.6479 GB, free: 10.9 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001134/0.4439, allocations: 271.6 kB / 0.6482 GB, free: 10.63 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.667e-05/0.4439, allocations: 16.03 kB / 0.6482 GB, free: 10.62 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001057/0.445, allocations: 182.9 kB / 0.6484 GB, free: 10.44 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.312e-05/0.4451, allocations: 47.97 kB / 0.6484 GB, free: 10.39 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.0003917/0.4455, allocations: 291.7 kB / 0.6487 GB, free: 10.1 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001573/0.4456, allocations: 126.5 kB / 0.6488 GB, free: 9.973 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003564/0.4492, allocations: 1.354 MB / 0.6501 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.73e-05/0.4492, allocations: 11.98 kB / 0.6501 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.35e-06/0.4493, allocations: 0 / 0.6501 GB, free: 8.613 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.417e-06/0.4493, allocations: 3.984 kB / 0.6502 GB, free: 8.609 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004627/0.4539, allocations: 2.378 MB / 0.6525 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.841e-06/0.4539, allocations: 0 / 0.6525 GB, free: 6.16 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000981/0.4549, allocations: 187.9 kB / 0.6527 GB, free: 5.977 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.817e-06/0.4549, allocations: 4 kB / 0.6527 GB, free: 5.973 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.058e-05/0.455, allocations: 27.97 kB / 0.6527 GB, free: 5.945 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.917e-06/0.455, allocations: 7.938 kB / 0.6527 GB, free: 5.938 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.508e-06/0.455, allocations: 11.94 kB / 0.6527 GB, free: 5.926 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004808/0.4598, allocations: 1.965 MB / 0.6546 GB, free: 3.926 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003687/0.4602, allocations: 279.3 kB / 0.6549 GB, free: 3.633 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001663/0.4604, allocations: 19.98 kB / 0.6549 GB, free: 3.613 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000923/0.4613, allocations: 111.8 kB / 0.655 GB, free: 3.504 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.375e-05/0.4614, allocations: 44.5 kB / 0.6551 GB, free: 3.461 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.789e-05/0.4615, allocations: 35.97 kB / 0.6551 GB, free: 3.426 MB / 494.1 MB Notification: Performance of sorting global known variables: time 0.000802/0.4623, allocations: 0.7677 MB / 0.6558 GB, free: 2.652 MB / 494.1 MB Notification: Performance of sort global known variables: time 2.2e-07/0.4623, allocations: 0 / 0.6558 GB, free: 2.652 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0009322/0.4632, allocations: 347.5 kB / 0.6562 GB, free: 2.312 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.006304/0.4696, allocations: 3.068 MB / 0.6592 GB, free: 15.4 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.00367/0.4732, allocations: 1.188 MB / 0.6603 GB, free: 14.21 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 6.402e-06/0.4733, allocations: 4 kB / 0.6603 GB, free: 14.2 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001672/0.4749, allocations: 0.5697 MB / 0.6609 GB, free: 13.64 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002165/0.4771, allocations: 458.6 kB / 0.6613 GB, free: 13.21 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01875/0.4959, allocations: 10.21 MB / 0.6713 GB, free: 2.422 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006375/0.4966, allocations: 1.104 MB / 0.6724 GB, free: 1.289 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.00114/0.4977, allocations: 251.4 kB / 0.6726 GB, free: 1.047 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000706/0.4984, allocations: 459.2 kB / 0.6731 GB, free: 0.5977 MB / 0.4981 GB Notification: Performance of SimCode: time 1.243e-06/0.4984, allocations: 3.938 kB / 0.6731 GB, free: 0.5938 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7977/1.296, allocations: 30.31 MB / 0.7027 GB, free: 2.703 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.899/11.19, allocations: 10.44 kB / 0.7027 GB, free: 2.695 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)