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.001439/0.001439, allocations: 108.6 kB / 15.73 MB, free: 72 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.001319/0.001319, allocations: 183.2 kB / 16.66 MB, free: 6.602 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.438/1.438, allocations: 222.9 MB / 240.4 MB, free: 4.32 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.827/0.827, allocations: 132.2 MB / 422.7 MB, free: 1.719 MB / 350.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001934/0.001934, allocations: 67.89 kB / 0.5809 GB, free: 8.031 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.366/0.3679, allocations: 80.21 MB / 0.6592 GB, free: 9.879 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02491/0.3929, allocations: 29.35 MB / 0.6879 GB, free: 2.754 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.009701/0.4026, allocations: 6.865 MB / 0.6946 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0007856/0.4034, allocations: 45.81 kB / 0.6946 GB, free: 13.14 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.001304/0.4047, allocations: 0.6864 MB / 0.6953 GB, free: 12.63 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002759/0.4075, allocations: 1.462 MB / 0.6967 GB, free: 11.5 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.002396/0.4099, allocations: 1.159 MB / 0.6979 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.002582/0.4125, allocations: 2.47 MB / 0.7003 GB, free: 9.223 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0009635/0.4135, allocations: 0.7939 MB / 0.701 GB, free: 8.711 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001421/0.4149, allocations: 1.008 MB / 0.702 GB, free: 8.125 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000965/0.4159, allocations: 0.8239 MB / 0.7028 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 0.0001338/0.416, allocations: 66.19 kB / 0.7029 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001813/0.4179, allocations: 0.8159 MB / 0.7037 GB, free: 7.207 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0003362/0.4182, allocations: 281.2 kB / 0.704 GB, free: 7.008 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.0006319/0.4189, allocations: 0.5496 MB / 0.7045 GB, free: 6.641 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.002592/0.4215, allocations: 1.645 MB / 0.7061 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 8.496e-06/0.4215, allocations: 0 / 0.7061 GB, free: 5.602 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.193e-06/0.4215, allocations: 3.938 kB / 0.7061 GB, free: 5.598 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 2.275e-05/0.4215, allocations: 0 / 0.7061 GB, free: 5.598 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.002855/0.4244, allocations: 1.62 MB / 0.7077 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.562e-05/0.4244, allocations: 9.594 kB / 0.7077 GB, free: 4.328 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001401/0.4246, allocations: 114.6 kB / 0.7078 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003573/0.4282, allocations: 0.5908 MB / 0.7084 GB, free: 3.668 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0016/0.4298, allocations: 0.8918 MB / 0.7093 GB, free: 2.723 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.997e-05/0.4298, allocations: 58 kB / 0.7093 GB, free: 2.664 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001327/0.43, allocations: 68 kB / 0.7094 GB, free: 2.598 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002693/0.4327, allocations: 1.096 MB / 0.7104 GB, free: 1.422 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.693e-05/0.4327, allocations: 7.938 kB / 0.7105 GB, free: 1.414 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.398e-05/0.4328, allocations: 31.98 kB / 0.7105 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.858e-05/0.4329, allocations: 16 kB / 0.7105 GB, free: 1.367 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003291/0.4362, allocations: 0.9962 MB / 0.7115 GB, free: 376 kB / 0.5294 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.006477/0.4426, allocations: 4.952 MB / 0.7163 GB, free: 11.12 MB / 0.545 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003097/0.4458, allocations: 0.9007 MB / 0.7172 GB, free: 10.22 MB / 0.545 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.00157/0.4474, allocations: 495 kB / 0.7177 GB, free: 9.734 MB / 0.545 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001523/0.4489, allocations: 1.587 MB / 0.7192 GB, free: 7.793 MB / 0.545 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001779/0.4507, allocations: 0.569 MB / 0.7198 GB, free: 7.215 MB / 0.545 GB Notification: Performance of pre-optimization done (n=61): time 2.936e-06/0.4507, allocations: 3.938 kB / 0.7198 GB, free: 7.211 MB / 0.545 GB Notification: Performance of matching and sorting (n=61): time 0.005094/0.4558, allocations: 1.489 MB / 0.7212 GB, free: 5.715 MB / 0.545 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.536e-05/0.4559, allocations: 63.91 kB / 0.7213 GB, free: 5.641 MB / 0.545 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001433/0.4573, allocations: 1.108 MB / 0.7224 GB, free: 4.52 MB / 0.545 GB Notification: Performance of collectPreVariables (initialization): time 9.81e-05/0.4574, allocations: 45.7 kB / 0.7224 GB, free: 4.469 MB / 0.545 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004838/0.4579, allocations: 0.5598 MB / 0.723 GB, free: 3.902 MB / 0.545 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002122/0.4581, allocations: 218.2 kB / 0.7232 GB, free: 3.688 MB / 0.545 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002877/0.4584, allocations: 166.6 kB / 0.7233 GB, free: 3.516 MB / 0.545 GB Notification: Performance of setup shared object (initialization): time 0.0001534/0.4586, allocations: 341.9 kB / 0.7236 GB, free: 3.176 MB / 0.545 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00154/0.4601, allocations: 441.6 kB / 0.7241 GB, free: 2.746 MB / 0.545 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001793/0.4619, allocations: 0.7281 MB / 0.7248 GB, free: 1.91 MB / 0.545 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003253/0.4652, allocations: 1.113 MB / 0.7259 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.04e-06/0.4652, allocations: 0 / 0.7259 GB, free: 0.6914 MB / 0.545 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003871/0.4691, allocations: 1.275 MB / 0.7271 GB, free: 15.41 MB / 0.5606 GB Notification: Performance of prepare postOptimizeDAE: time 2.134e-05/0.4691, allocations: 11.94 kB / 0.7271 GB, free: 15.4 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/0.4692, allocations: 8 kB / 0.7271 GB, free: 15.39 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.569e-05/0.4692, allocations: 12 kB / 0.7271 GB, free: 15.38 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00124/0.4704, allocations: 276.3 kB / 0.7274 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.278e-05/0.4705, allocations: 16.03 kB / 0.7274 GB, free: 15.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001234/0.4717, allocations: 183.2 kB / 0.7276 GB, free: 14.91 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001043/0.4718, allocations: 55.97 kB / 0.7277 GB, free: 14.86 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.0004822/0.4723, allocations: 289.9 kB / 0.7279 GB, free: 14.57 MB / 0.5606 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000199/0.4725, allocations: 123.2 kB / 0.728 GB, free: 14.45 MB / 0.5606 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003987/0.4765, allocations: 1.362 MB / 0.7294 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.933e-05/0.4766, allocations: 8 kB / 0.7294 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.791e-06/0.4766, allocations: 0 / 0.7294 GB, free: 13.09 MB / 0.5606 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.049e-05/0.4766, allocations: 3.984 kB / 0.7294 GB, free: 13.08 MB / 0.5606 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005246/0.4818, allocations: 2.374 MB / 0.7317 GB, free: 10.64 MB / 0.5606 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.207e-06/0.4819, allocations: 7.938 kB / 0.7317 GB, free: 10.63 MB / 0.5606 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001045/0.4829, allocations: 183.9 kB / 0.7319 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.245e-06/0.4829, allocations: 4 kB / 0.7319 GB, free: 10.45 MB / 0.5606 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.744e-05/0.483, allocations: 35.91 kB / 0.7319 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.623e-06/0.483, allocations: 4 kB / 0.7319 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.128e-06/0.483, allocations: 3.984 kB / 0.7319 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005369/0.4884, allocations: 1.978 MB / 0.7339 GB, free: 8.391 MB / 0.5606 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004795/0.4889, allocations: 288 kB / 0.7341 GB, free: 8.09 MB / 0.5606 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000161/0.4891, allocations: 23.92 kB / 0.7342 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009488/0.49, allocations: 103.9 kB / 0.7343 GB, free: 7.965 MB / 0.5606 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001087/0.4902, allocations: 44.5 kB / 0.7343 GB, free: 7.922 MB / 0.5606 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.903e-05/0.4902, allocations: 39.97 kB / 0.7343 GB, free: 7.883 MB / 0.5606 GB Notification: Performance of sorting global known variables: time 0.0009894/0.4912, allocations: 0.7716 MB / 0.7351 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of sort global known variables: time 2.9e-07/0.4913, allocations: 0 / 0.7351 GB, free: 7.105 MB / 0.5606 GB Notification: Performance of remove unused functions: time 0.001068/0.4923, allocations: 343.4 kB / 0.7354 GB, free: 6.77 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.007661/0.5, allocations: 3.088 MB / 0.7384 GB, free: 3.84 MB / 0.5606 GB Notification: Performance of simCode: created initialization part: time 0.003532/0.5036, allocations: 1.107 MB / 0.7395 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of simCode: created event and clocks part: time 3.537e-06/0.5036, allocations: 0 / 0.7395 GB, free: 2.73 MB / 0.5606 GB Notification: Performance of simCode: created simulation system equations: time 0.001731/0.5053, allocations: 0.5814 MB / 0.7401 GB, free: 2.148 MB / 0.5606 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002176/0.5075, allocations: 458.9 kB / 0.7405 GB, free: 1.719 MB / 0.5606 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01926/0.5268, allocations: 9.615 MB / 0.7499 GB, free: 7.73 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008918/0.5277, allocations: 1.108 MB / 0.751 GB, free: 6.59 MB / 0.5762 GB Notification: Performance of simCode: alias equations: time 0.0009666/0.5287, allocations: 247.9 kB / 0.7512 GB, free: 6.352 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007111/0.5294, allocations: 459.2 kB / 0.7517 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of SimCode: time 8.11e-07/0.5294, allocations: 0 / 0.7517 GB, free: 5.902 MB / 0.5762 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.8454/1.375, allocations: 30.63 MB / 0.7816 GB, free: 7.656 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.49/11.86, allocations: 5.094 kB / 0.7816 GB, free: 7.656 MB / 0.6075 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)