Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water,fileNamePrefix="Buildings_8_Buildings_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.001291/0.001291, allocations: 99.36 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.001144/0.001144, allocations: 195.5 kB / 16.25 MB, free: 6.629 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.312/1.312, allocations: 205.1 MB / 222.1 MB, free: 4.715 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.624/1.624, allocations: 292.3 MB / 0.5485 GB, free: 13.66 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001477/0.001477, allocations: 69.09 kB / 0.6711 GB, free: 26.3 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1866/0.1881, allocations: 114.5 MB / 0.783 GB, free: 13.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water): time 0.02819/0.2163, allocations: 29.14 MB / 0.8114 GB, free: 0.5703 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.01236/0.2287, allocations: 6.703 MB / 0.818 GB, free: 9.852 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001116/0.2299, allocations: 47.62 kB / 0.818 GB, free: 9.805 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001821/0.2318, allocations: 0.6144 MB / 0.8186 GB, free: 9.188 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.004251/0.236, allocations: 1.342 MB / 0.8199 GB, free: 7.84 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.00366/0.2397, allocations: 1.065 MB / 0.821 GB, free: 6.785 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.00372/0.2434, allocations: 2.477 MB / 0.8234 GB, free: 4.297 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001373/0.2448, allocations: 0.7864 MB / 0.8242 GB, free: 3.496 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002139/0.247, allocations: 1.043 MB / 0.8252 GB, free: 2.449 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001324/0.2483, allocations: 0.8481 MB / 0.826 GB, free: 1.598 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0001596/0.2485, allocations: 68 kB / 0.8261 GB, free: 1.531 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002232/0.2508, allocations: 0.8381 MB / 0.8269 GB, free: 0.6914 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0003616/0.2511, allocations: 290.9 kB / 0.8272 GB, free: 416 kB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007069/0.2519, allocations: 0.5593 MB / 0.8277 GB, free: 15.84 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.002551/0.2544, allocations: 1.628 MB / 0.8293 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 4.508e-06/0.2544, allocations: 0 / 0.8293 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.874e-06/0.2545, allocations: 0 / 0.8293 GB, free: 14.21 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 1.456e-05/0.2545, allocations: 0 / 0.8293 GB, free: 14.21 MB / 0.6544 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.003621/0.2581, allocations: 1.586 MB / 0.8308 GB, free: 12.57 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 4.482e-05/0.2582, allocations: 8.031 kB / 0.8309 GB, free: 12.56 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001704/0.2583, allocations: 114.7 kB / 0.831 GB, free: 12.44 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005552/0.2639, allocations: 0.5884 MB / 0.8315 GB, free: 11.85 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001741/0.2657, allocations: 0.8213 MB / 0.8323 GB, free: 10.98 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.606e-05/0.2658, allocations: 58.12 kB / 0.8324 GB, free: 10.92 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000189/0.266, allocations: 72 kB / 0.8325 GB, free: 10.85 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003683/0.2697, allocations: 1.106 MB / 0.8335 GB, free: 9.664 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.133e-05/0.2697, allocations: 7.938 kB / 0.8336 GB, free: 9.656 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001209/0.2698, allocations: 31.98 kB / 0.8336 GB, free: 9.625 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.644e-05/0.2699, allocations: 16 kB / 0.8336 GB, free: 9.609 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004795/0.2747, allocations: 1.004 MB / 0.8346 GB, free: 8.602 MB / 0.6544 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.008396/0.2831, allocations: 4.94 MB / 0.8394 GB, free: 3.379 MB / 0.6544 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004405/0.2875, allocations: 0.903 MB / 0.8403 GB, free: 2.465 MB / 0.6544 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001383/0.2889, allocations: 491 kB / 0.8408 GB, free: 1.984 MB / 0.6544 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001285/0.2902, allocations: 1.599 MB / 0.8423 GB, free: 36 kB / 0.6544 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00167/0.2919, allocations: 0.5728 MB / 0.8429 GB, free: 15.45 MB / 0.67 GB Notification: Performance of pre-optimization done (n=61): time 2.584e-06/0.2919, allocations: 0 / 0.8429 GB, free: 15.45 MB / 0.67 GB Notification: Performance of matching and sorting (n=61): time 0.004693/0.2966, allocations: 1.481 MB / 0.8443 GB, free: 13.96 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.509e-05/0.2967, allocations: 63.91 kB / 0.8444 GB, free: 13.88 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00137/0.298, allocations: 1.128 MB / 0.8455 GB, free: 12.74 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 7.856e-05/0.2981, allocations: 37.7 kB / 0.8455 GB, free: 12.7 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004231/0.2986, allocations: 0.5513 MB / 0.8461 GB, free: 12.14 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001834/0.2988, allocations: 201.1 kB / 0.8462 GB, free: 11.94 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002971/0.2991, allocations: 174.4 kB / 0.8464 GB, free: 11.76 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001237/0.2992, allocations: 338 kB / 0.8467 GB, free: 11.43 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001448/0.3006, allocations: 449.6 kB / 0.8472 GB, free: 10.99 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001646/0.3023, allocations: 0.7357 MB / 0.8479 GB, free: 10.13 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002935/0.3053, allocations: 1.12 MB / 0.849 GB, free: 8.906 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.993e-06/0.3053, allocations: 4 kB / 0.849 GB, free: 8.902 MB / 0.67 GB Notification: Performance of matching and sorting (n=100) (initialization): time 0.003451/0.3087, allocations: 1.278 MB / 0.8502 GB, free: 7.613 MB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.004e-05/0.3088, allocations: 14.69 kB / 0.8502 GB, free: 7.602 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.385e-05/0.3088, allocations: 8 kB / 0.8503 GB, free: 7.594 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.189e-05/0.3088, allocations: 12 kB / 0.8503 GB, free: 7.582 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001211/0.31, allocations: 267.6 kB / 0.8505 GB, free: 7.32 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.029e-05/0.3101, allocations: 15.94 kB / 0.8505 GB, free: 7.305 MB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.3113, allocations: 202.9 kB / 0.8507 GB, free: 7.105 MB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.667e-05/0.3115, allocations: 47.97 kB / 0.8508 GB, free: 7.059 MB / 0.67 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.000425/0.3119, allocations: 295.8 kB / 0.8511 GB, free: 6.762 MB / 0.67 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000205/0.3121, allocations: 122.4 kB / 0.8512 GB, free: 6.641 MB / 0.67 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003628/0.3157, allocations: 1.359 MB / 0.8525 GB, free: 5.273 MB / 0.67 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.508e-05/0.3158, allocations: 12 kB / 0.8525 GB, free: 5.262 MB / 0.67 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.36e-06/0.3158, allocations: 0 / 0.8525 GB, free: 5.262 MB / 0.67 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.052e-05/0.3158, allocations: 3.984 kB / 0.8525 GB, free: 5.258 MB / 0.67 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004715/0.3205, allocations: 2.385 MB / 0.8548 GB, free: 2.797 MB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.131e-06/0.3205, allocations: 0 / 0.8548 GB, free: 2.797 MB / 0.67 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00103/0.3216, allocations: 195.9 kB / 0.855 GB, free: 2.605 MB / 0.67 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.386e-06/0.3216, allocations: 4 kB / 0.855 GB, free: 2.602 MB / 0.67 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.951e-05/0.3217, allocations: 23.97 kB / 0.8551 GB, free: 2.578 MB / 0.67 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.222e-06/0.3217, allocations: 4 kB / 0.8551 GB, free: 2.574 MB / 0.67 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.869e-06/0.3217, allocations: 7.938 kB / 0.8551 GB, free: 2.566 MB / 0.67 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004802/0.3265, allocations: 1.977 MB / 0.857 GB, free: 0.5547 MB / 0.67 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003639/0.3269, allocations: 271.4 kB / 0.8573 GB, free: 276 kB / 0.67 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001814/0.327, allocations: 20 kB / 0.8573 GB, free: 256 kB / 0.67 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009895/0.328, allocations: 119.8 kB / 0.8574 GB, free: 136 kB / 0.67 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001084/0.3282, allocations: 60.36 kB / 0.8574 GB, free: 76 kB / 0.67 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.056e-05/0.3282, allocations: 31.97 kB / 0.8575 GB, free: 44 kB / 0.67 GB Notification: Performance of sorting global known variables: time 0.0008506/0.3291, allocations: 0.7682 MB / 0.8582 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3291, allocations: 0 / 0.8582 GB, free: 15.27 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.0009934/0.3301, allocations: 363.4 kB / 0.8586 GB, free: 14.91 MB / 0.6856 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.006384/0.3365, allocations: 3.057 MB / 0.8616 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.003486/0.34, allocations: 1.196 MB / 0.8627 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.34, allocations: 0 / 0.8627 GB, free: 10.77 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001533/0.3415, allocations: 0.5697 MB / 0.8633 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002062/0.3436, allocations: 479.7 kB / 0.8637 GB, free: 9.754 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02092/0.3646, allocations: 10.6 MB / 0.8741 GB, free: 14.59 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006569/0.3652, allocations: 1.108 MB / 0.8752 GB, free: 13.45 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001108/0.3664, allocations: 244.8 kB / 0.8754 GB, free: 13.21 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006518/0.367, allocations: 471.2 kB / 0.8759 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of SimCode: time 5.61e-07/0.367, allocations: 0 / 0.8759 GB, free: 12.75 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.6701/1.037, allocations: 30.63 MB / 0.9058 GB, free: 14.54 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002178/1.037, allocations: 256.8 kB / 0.906 GB, free: 14.28 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.573/3.61, allocations: 0 / 0.906 GB, free: 14.28 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_Water.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_Water.pipe 2>&1)