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.001251/0.001251, allocations: 103.4 kB / 15.33 MB, free: 0.5078 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.001625/0.001625, allocations: 193.9 kB / 16.25 MB, free: 6.621 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.748/1.748, allocations: 222.9 MB / 239.9 MB, free: 4.512 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 0.969/0.969, allocations: 135.1 MB / 425.2 MB, free: 11.87 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001094/0.001094, allocations: 68.28 kB / 0.505 GB, free: 5.539 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1716/0.1727, allocations: 80.93 MB / 0.584 GB, free: 4.785 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.3046/0.4773, allocations: 29.11 MB / 0.6124 GB, free: 35.72 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.007557/0.4849, allocations: 6.831 MB / 0.6191 GB, free: 35.1 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001208/0.4862, allocations: 42.12 kB / 0.6191 GB, free: 35.08 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.001335/0.4875, allocations: 0.6152 MB / 0.6197 GB, free: 34.91 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.00306/0.4906, allocations: 1.353 MB / 0.6211 GB, free: 34.2 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.002413/0.4931, allocations: 1.062 MB / 0.6221 GB, free: 33.64 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.002344/0.4954, allocations: 2.488 MB / 0.6245 GB, free: 32.52 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008392/0.4963, allocations: 0.8008 MB / 0.6253 GB, free: 32.19 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001329/0.4976, allocations: 1.031 MB / 0.6263 GB, free: 31.73 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006834/0.4983, allocations: 0.8483 MB / 0.6271 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 9.077e-05/0.4984, allocations: 67.38 kB / 0.6272 GB, free: 31.39 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001438/0.4999, allocations: 0.8313 MB / 0.628 GB, free: 31.07 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0001908/0.5001, allocations: 281.8 kB / 0.6283 GB, free: 30.93 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0003838/0.5004, allocations: 0.5577 MB / 0.6288 GB, free: 30.58 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001444/0.5019, allocations: 1.616 MB / 0.6304 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.458e-06/0.5019, allocations: 0 / 0.6304 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of FrontEnd: time 1.493e-06/0.5019, allocations: 0 / 0.6304 GB, free: 29.95 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 1.214e-05/0.5019, allocations: 0 / 0.6304 GB, free: 29.95 MB / 0.4981 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.001965/0.5039, allocations: 1.569 MB / 0.6319 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 3.85e-05/0.504, allocations: 11.81 kB / 0.6319 GB, free: 28.89 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.155e-05/0.504, allocations: 113 kB / 0.6321 GB, free: 28.81 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003152/0.5072, allocations: 0.5943 MB / 0.6326 GB, free: 28.71 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008914/0.5081, allocations: 0.8032 MB / 0.6334 GB, free: 28.2 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.5082, allocations: 60.66 kB / 0.6335 GB, free: 28.16 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001007/0.5083, allocations: 75.3 kB / 0.6335 GB, free: 28.14 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001904/0.5102, allocations: 1.097 MB / 0.6346 GB, free: 27.63 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.986e-05/0.5102, allocations: 3.938 kB / 0.6346 GB, free: 27.62 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.61e-05/0.5103, allocations: 33.09 kB / 0.6347 GB, free: 27.6 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.35e-05/0.5103, allocations: 18.31 kB / 0.6347 GB, free: 27.6 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002482/0.5128, allocations: 1 MB / 0.6356 GB, free: 27.34 MB / 0.4981 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.004013/0.5168, allocations: 4.937 MB / 0.6405 GB, free: 23.49 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002458/0.5193, allocations: 0.9024 MB / 0.6414 GB, free: 23.23 MB / 0.4981 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001186/0.5205, allocations: 497.4 kB / 0.6418 GB, free: 23.09 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009528/0.5214, allocations: 1.589 MB / 0.6434 GB, free: 21.29 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001363/0.5228, allocations: 0.5776 MB / 0.6439 GB, free: 21.1 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 2.675e-06/0.5228, allocations: 4 kB / 0.6439 GB, free: 21.1 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.003981/0.5268, allocations: 1.473 MB / 0.6454 GB, free: 20.68 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.5269, allocations: 64.28 kB / 0.6454 GB, free: 20.61 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001102/0.528, allocations: 1.119 MB / 0.6465 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 6.319e-05/0.528, allocations: 38.55 kB / 0.6466 GB, free: 20.15 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003211/0.5284, allocations: 0.5429 MB / 0.6471 GB, free: 19.71 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001431/0.5285, allocations: 209.5 kB / 0.6473 GB, free: 19.55 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002378/0.5288, allocations: 163 kB / 0.6475 GB, free: 19.48 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 5.951e-05/0.5288, allocations: 336.5 kB / 0.6478 GB, free: 19.16 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001305/0.5301, allocations: 450 kB / 0.6482 GB, free: 19.05 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001418/0.5316, allocations: 0.7235 MB / 0.6489 GB, free: 18.61 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002608/0.5342, allocations: 1.112 MB / 0.65 GB, free: 18.04 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.961e-06/0.5342, allocations: 2.094 kB / 0.65 GB, free: 18.04 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003239/0.5374, allocations: 1.274 MB / 0.6512 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 2.412e-05/0.5375, allocations: 8.547 kB / 0.6513 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.494e-05/0.5375, allocations: 9.516 kB / 0.6513 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.62e-05/0.5375, allocations: 11.59 kB / 0.6513 GB, free: 17.61 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001222/0.5388, allocations: 275.3 kB / 0.6515 GB, free: 17.58 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.125e-05/0.5388, allocations: 17.48 kB / 0.6516 GB, free: 17.57 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001184/0.54, allocations: 194.9 kB / 0.6517 GB, free: 17.51 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.387e-05/0.5401, allocations: 48.08 kB / 0.6518 GB, free: 17.5 MB / 0.4981 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.0004177/0.5405, allocations: 296.9 kB / 0.6521 GB, free: 17.3 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001596/0.5407, allocations: 119.4 kB / 0.6522 GB, free: 17.24 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003597/0.5443, allocations: 1.357 MB / 0.6535 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.829e-05/0.5443, allocations: 8.531 kB / 0.6535 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.502e-06/0.5443, allocations: 1.922 kB / 0.6535 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.137e-05/0.5443, allocations: 3.188 kB / 0.6535 GB, free: 16.82 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004512/0.5488, allocations: 2.388 MB / 0.6559 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.602e-06/0.5489, allocations: 1.062 kB / 0.6559 GB, free: 15.79 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000971/0.5498, allocations: 187.2 kB / 0.656 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.875e-06/0.5499, allocations: 8.469 kB / 0.656 GB, free: 15.77 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.581e-05/0.5499, allocations: 29.72 kB / 0.6561 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.933e-06/0.5499, allocations: 4.375 kB / 0.6561 GB, free: 15.76 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.819e-06/0.55, allocations: 10.12 kB / 0.6561 GB, free: 15.75 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004523/0.5545, allocations: 1.967 MB / 0.658 GB, free: 15 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003393/0.5548, allocations: 278.7 kB / 0.6583 GB, free: 14.79 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000142/0.555, allocations: 19.95 kB / 0.6583 GB, free: 14.78 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009286/0.5559, allocations: 125.3 kB / 0.6584 GB, free: 14.76 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001108/0.556, allocations: 57.42 kB / 0.6585 GB, free: 14.74 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-05/0.5561, allocations: 36.64 kB / 0.6585 GB, free: 14.73 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.0008429/0.557, allocations: 0.7643 MB / 0.6592 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of sort global known variables: time 1.61e-07/0.557, allocations: 0 / 0.6592 GB, free: 14.45 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.0009797/0.558, allocations: 343.7 kB / 0.6596 GB, free: 14.38 MB / 0.4981 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.005833/0.5638, allocations: 3.06 MB / 0.6626 GB, free: 12.93 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.0033/0.5671, allocations: 1.191 MB / 0.6637 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 2.845e-06/0.5671, allocations: 0 / 0.6637 GB, free: 12.61 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.001443/0.5686, allocations: 0.5726 MB / 0.6643 GB, free: 12.46 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001797/0.5704, allocations: 458.8 kB / 0.6647 GB, free: 12.3 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0162/0.5866, allocations: 10.54 MB / 0.675 GB, free: 6.492 MB / 0.4981 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005569/0.5872, allocations: 1.103 MB / 0.6761 GB, free: 5.762 MB / 0.4981 GB Notification: Performance of simCode: alias equations: time 0.001036/0.5882, allocations: 249.2 kB / 0.6763 GB, free: 5.684 MB / 0.4981 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000521/0.5887, allocations: 461.1 kB / 0.6768 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of SimCode: time 6.82e-07/0.5887, allocations: 0 / 0.6768 GB, free: 5.359 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.7574/1.346, allocations: 30.05 MB / 0.7061 GB, free: 15.3 MB / 0.5294 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0004383/1.347, allocations: 247.9 kB / 0.7064 GB, free: 15.04 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.252/5.599, allocations: 4 kB / 0.7064 GB, free: 15.04 MB / 0.5294 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)