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.001862/0.001862, allocations: 99.86 kB / 15.05 MB, free: 1.105 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.001815/0.001816, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.447/2.447, allocations: 223.2 MB / 239.9 MB, free: 5.344 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.716/1.716, allocations: 135.2 MB / 426.2 MB, free: 14.31 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005262/0.0005269, allocations: 8 kB / 0.5069 GB, free: 5.152 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.291/0.2915, allocations: 82.31 MB / 0.5873 GB, free: 3.012 MB / 494.1 MB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.6324/0.924, allocations: 24.55 MB / 0.6113 GB, free: 34.86 MB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.01827/0.9423, allocations: 5.95 MB / 0.6171 GB, free: 34.75 MB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00213/0.9445, allocations: 43.94 kB / 0.6171 GB, free: 34.73 MB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.002799/0.9473, allocations: 0.6401 MB / 0.6177 GB, free: 34.64 MB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.006723/0.9541, allocations: 1.215 MB / 0.6189 GB, free: 34.55 MB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 0.006325/0.9605, allocations: 1.297 MB / 0.6202 GB, free: 34.51 MB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.004689/0.9652, allocations: 1.576 MB / 0.6217 GB, free: 34.43 MB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001627/0.9668, allocations: 0.6721 MB / 0.6224 GB, free: 34.35 MB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00277/0.9696, allocations: 0.8321 MB / 0.6232 GB, free: 34.16 MB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001509/0.9712, allocations: 0.5698 MB / 0.6237 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 0.0001825/0.9714, allocations: 37.25 kB / 0.6238 GB, free: 33.96 MB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002816/0.9742, allocations: 0.5249 MB / 0.6243 GB, free: 33.84 MB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 0.0003423/0.9746, allocations: 230.1 kB / 0.6245 GB, free: 33.75 MB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 0.0005062/0.9751, allocations: 235.8 kB / 0.6247 GB, free: 33.62 MB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.002009/0.9771, allocations: 1.013 MB / 0.6257 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 5.931e-06/0.9771, allocations: 0 / 0.6257 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of FrontEnd: time 3.997e-06/0.9772, allocations: 3.938 kB / 0.6257 GB, free: 33.41 MB / 0.4981 GB Notification: Performance of Transformations before backend: time 2.093e-05/0.9772, allocations: 0 / 0.6257 GB, free: 33.41 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.003623/0.9808, allocations: 1.376 MB / 0.6271 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/0.9809, allocations: 9.062 kB / 0.6271 GB, free: 32.48 MB / 0.4981 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.00021/0.9811, allocations: 113.8 kB / 0.6272 GB, free: 32.4 MB / 0.4981 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005485/0.9866, allocations: 0.6288 MB / 0.6278 GB, free: 32.3 MB / 0.4981 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002238/0.9889, allocations: 0.7698 MB / 0.6286 GB, free: 31.86 MB / 0.4981 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.664e-05/0.989, allocations: 51.28 kB / 0.6286 GB, free: 31.83 MB / 0.4981 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002102/0.9892, allocations: 79.16 kB / 0.6287 GB, free: 31.81 MB / 0.4981 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003393/0.9926, allocations: 1.094 MB / 0.6298 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.121e-05/0.9927, allocations: 3.938 kB / 0.6298 GB, free: 31.3 MB / 0.4981 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001116/0.9928, allocations: 35.53 kB / 0.6298 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.338e-05/0.9929, allocations: 18.25 kB / 0.6298 GB, free: 31.27 MB / 0.4981 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00409/0.997, allocations: 1.018 MB / 0.6308 GB, free: 31.01 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.007045/1.004, allocations: 4.983 MB / 0.6357 GB, free: 27.19 MB / 0.4981 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004257/1.008, allocations: 0.9506 MB / 0.6366 GB, free: 26.95 MB / 0.4981 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001453/1.01, allocations: 1.592 MB / 0.6381 GB, free: 25.14 MB / 0.4981 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00229/1.012, allocations: 0.5865 MB / 0.6387 GB, free: 24.97 MB / 0.4981 GB Notification: Performance of pre-optimization done (n=61): time 4.268e-06/1.012, allocations: 7.938 kB / 0.6387 GB, free: 24.96 MB / 0.4981 GB Notification: Performance of matching and sorting (n=61): time 0.006857/1.019, allocations: 1.511 MB / 0.6402 GB, free: 24.54 MB / 0.4981 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/1.019, allocations: 57.94 kB / 0.6403 GB, free: 24.48 MB / 0.4981 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002106/1.021, allocations: 1.108 MB / 0.6413 GB, free: 24.06 MB / 0.4981 GB Notification: Performance of collectPreVariables (initialization): time 0.0001267/1.021, allocations: 42.95 kB / 0.6414 GB, free: 24.02 MB / 0.4981 GB Notification: Performance of collectInitialEqns (initialization): time 0.000539/1.022, allocations: 0.5485 MB / 0.6419 GB, free: 23.58 MB / 0.4981 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002606/1.022, allocations: 209.5 kB / 0.6421 GB, free: 23.43 MB / 0.4981 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.677e-05/1.022, allocations: 14.62 kB / 0.6421 GB, free: 23.41 MB / 0.4981 GB Notification: Performance of setup shared object (initialization): time 9.71e-05/1.022, allocations: 348.2 kB / 0.6425 GB, free: 23.09 MB / 0.4981 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.002108/1.025, allocations: 457.6 kB / 0.6429 GB, free: 22.98 MB / 0.4981 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.002352/1.027, allocations: 0.7202 MB / 0.6436 GB, free: 22.55 MB / 0.4981 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002238/1.029, allocations: 496.5 kB / 0.6441 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.838e-05/1.029, allocations: 3.5 kB / 0.6441 GB, free: 22.41 MB / 0.4981 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.006669/1.036, allocations: 1.287 MB / 0.6453 GB, free: 21.99 MB / 0.4981 GB Notification: Performance of prepare postOptimizeDAE: time 4.683e-05/1.036, allocations: 9.688 kB / 0.6453 GB, free: 21.99 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.215e-05/1.036, allocations: 7.406 kB / 0.6454 GB, free: 21.99 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.388e-05/1.036, allocations: 17.31 kB / 0.6454 GB, free: 21.99 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.007138/1.043, allocations: 272.9 kB / 0.6456 GB, free: 21.96 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.114e-05/1.043, allocations: 16.69 kB / 0.6456 GB, free: 21.96 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002029/1.045, allocations: 203.9 kB / 0.6458 GB, free: 21.89 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002037/1.046, allocations: 46.78 kB / 0.6459 GB, free: 21.89 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 ($whenCondition3,$PRE.setHeaHigPow.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaCooUnl.nextTimeEvent,setHeaHigPow.nextTimeEvent,$PRE.setHeaHigPow.nextTimeEventScaled,setHeaHigPow.nextTimeEventScaled,setCooLimPow.nextTimeEvent,$PRE.setCooLimPow.nextTimeEventScaled,setCooLimPow.nextTimeEventScaled,setHeaCooUnl.nextTimeEvent,$PRE.setHeaCooUnl.nextTimeEventScaled,setHeaCooUnl.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.00067/1.046, allocations: 298.7 kB / 0.6462 GB, free: 21.68 MB / 0.4981 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002702/1.047, allocations: 118.6 kB / 0.6463 GB, free: 21.62 MB / 0.4981 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005257/1.052, allocations: 1.379 MB / 0.6476 GB, free: 21.21 MB / 0.4981 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.33e-05/1.052, allocations: 15.27 kB / 0.6476 GB, free: 21.21 MB / 0.4981 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.247e-06/1.052, allocations: 3.062 kB / 0.6476 GB, free: 21.21 MB / 0.4981 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.11e-05/1.052, allocations: 4.234 kB / 0.6477 GB, free: 21.21 MB / 0.4981 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006816/1.059, allocations: 2.389 MB / 0.65 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.559e-05/1.059, allocations: 1.188 kB / 0.65 GB, free: 20.21 MB / 0.4981 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001356/1.06, allocations: 190.7 kB / 0.6502 GB, free: 20.2 MB / 0.4981 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.697e-05/1.06, allocations: 9 kB / 0.6502 GB, free: 20.19 MB / 0.4981 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001342/1.061, allocations: 29.59 kB / 0.6502 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.617e-05/1.061, allocations: 3.719 kB / 0.6502 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.586e-06/1.061, allocations: 5.75 kB / 0.6502 GB, free: 20.18 MB / 0.4981 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009889/1.07, allocations: 2.075 MB / 0.6522 GB, free: 19.32 MB / 0.4981 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001123/1.072, allocations: 283.4 kB / 0.6525 GB, free: 19.11 MB / 0.4981 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003035/1.072, allocations: 22.7 kB / 0.6525 GB, free: 19.1 MB / 0.4981 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001992/1.074, allocations: 132.8 kB / 0.6527 GB, free: 19.08 MB / 0.4981 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002256/1.074, allocations: 49.73 kB / 0.6527 GB, free: 19.07 MB / 0.4981 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001644/1.074, allocations: 36.91 kB / 0.6527 GB, free: 19.06 MB / 0.4981 GB Notification: Performance of sorting global known variables: time 0.001952/1.076, allocations: 0.7602 MB / 0.6535 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of sort global known variables: time 5.71e-07/1.076, allocations: 4 kB / 0.6535 GB, free: 18.77 MB / 0.4981 GB Notification: Performance of remove unused functions: time 0.00226/1.079, allocations: 343.7 kB / 0.6538 GB, free: 18.69 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.01402/1.093, allocations: 3.577 MB / 0.6573 GB, free: 16.75 MB / 0.4981 GB Notification: Performance of simCode: created initialization part: time 0.006835/1.1, allocations: 1.13 MB / 0.6584 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of simCode: created event and clocks part: time 9.979e-06/1.1, allocations: 0 / 0.6584 GB, free: 16.46 MB / 0.4981 GB Notification: Performance of simCode: created simulation system equations: time 0.003367/1.103, allocations: 0.5826 MB / 0.659 GB, free: 16.32 MB / 0.4981 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005167/1.108, allocations: 419.2 kB / 0.6594 GB, free: 16.2 MB / 0.4981 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03599/1.144, allocations: 12.52 MB / 0.6716 GB, free: 23.41 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.002418/1.147, allocations: 1.133 MB / 0.6727 GB, free: 22.66 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 0.002603/1.15, allocations: 248 kB / 0.6729 GB, free: 22.59 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001194/1.151, allocations: 456.6 kB / 0.6734 GB, free: 22.26 MB / 0.5137 GB Notification: Performance of SimCode: time 1.583e-06/1.151, allocations: 0 / 0.6734 GB, free: 22.26 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1287/1.279, allocations: 29.08 MB / 0.7018 GB, free: 5.395 MB / 0.5137 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003666/1.28, allocations: 228.9 kB / 0.702 GB, free: 5.148 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.351/5.631, allocations: 0 / 0.702 GB, free: 5.148 MB / 0.5137 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/linux/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) Environment - environmentSimulation: