Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.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_TSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly",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.001474/0.001474, allocations: 109.4 kB / 15.69 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.001774/0.001774, allocations: 188.6 kB / 16.62 MB, free: 6.613 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.604/1.604, allocations: 205.1 MB / 222.5 MB, free: 4.57 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.711/1.711, allocations: 292.3 MB / 0.549 GB, free: 12.74 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.001479/0.001479, allocations: 65.27 kB / 0.6718 GB, free: 26.34 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.268/0.2695, allocations: 114.5 MB / 0.7836 GB, free: 13.29 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.7525/1.022, allocations: 193.9 MB / 0.9729 GB, free: 15.66 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.01107/1.033, allocations: 4.991 MB / 0.9778 GB, free: 15.18 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002565/1.036, allocations: 47.88 kB / 0.9779 GB, free: 15.16 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.002617/1.038, allocations: 0.8167 MB / 0.9787 GB, free: 14.92 MB / 0.7325 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.008995/1.048, allocations: 2.567 MB / 0.9812 GB, free: 14.1 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.003785/1.051, allocations: 1.113 MB / 0.9822 GB, free: 13.68 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.005159/1.057, allocations: 2.577 MB / 0.9848 GB, free: 12.37 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001787/1.058, allocations: 0.8939 MB / 0.9856 GB, free: 11.83 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002982/1.061, allocations: 1.096 MB / 0.9867 GB, free: 11.27 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0018/1.063, allocations: 0.9554 MB / 0.9876 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0002308/1.063, allocations: 80.91 kB / 0.9877 GB, free: 10.81 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0044/1.068, allocations: 1.789 MB / 0.9895 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0006507/1.068, allocations: 441 kB / 0.9899 GB, free: 9.77 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.001059/1.07, allocations: 0.6536 MB / 0.9905 GB, free: 9.352 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.004879/1.074, allocations: 2.196 MB / 0.9927 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 9.588e-06/1.074, allocations: 2.344 kB / 0.9927 GB, free: 8.129 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.844e-06/1.075, allocations: 3.938 kB / 0.9927 GB, free: 8.125 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.648e-05/1.075, allocations: 0 / 0.9927 GB, free: 8.125 MB / 0.7325 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 222 * Number of variables: 222 Notification: Performance of Generate backend data structure: time 0.005547/1.08, allocations: 1.953 MB / 0.9946 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 4.865e-05/1.08, allocations: 9.375 kB / 0.9946 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001768/1.08, allocations: 138 kB / 0.9947 GB, free: 6.578 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004702/1.085, allocations: 0.7088 MB / 0.9954 GB, free: 6.254 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002957/1.088, allocations: 0.9672 MB / 0.9964 GB, free: 5.531 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.062e-05/1.088, allocations: 70.81 kB / 0.9964 GB, free: 5.504 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000188/1.088, allocations: 92.06 kB / 0.9965 GB, free: 5.473 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003266/1.092, allocations: 1.468 MB / 0.9979 GB, free: 4.555 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.558e-05/1.092, allocations: 6.719 kB / 0.998 GB, free: 4.551 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001035/1.092, allocations: 33.8 kB / 0.998 GB, free: 4.527 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.495e-05/1.092, allocations: 47.95 kB / 0.998 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004125/1.096, allocations: 1.565 MB / 0.9996 GB, free: 3.758 MB / 0.7325 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.007697/1.104, allocations: 5.011 MB / 1.004 GB, free: 15.65 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003435/1.107, allocations: 1.184 MB / 1.006 GB, free: 15.09 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001731/1.109, allocations: 0.6727 MB / 1.006 GB, free: 14.76 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001386/1.11, allocations: 0.9388 MB / 1.007 GB, free: 13.76 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001977/1.112, allocations: 0.7253 MB / 1.008 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 3.356e-06/1.112, allocations: 0 / 1.008 GB, free: 13.34 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.006291/1.119, allocations: 1.957 MB / 1.01 GB, free: 12.41 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.606e-05/1.119, allocations: 63.8 kB / 1.01 GB, free: 12.34 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002103/1.121, allocations: 1.27 MB / 1.011 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0001782/1.121, allocations: 42.77 kB / 1.011 GB, free: 11.65 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.000714/1.122, allocations: 0.578 MB / 1.012 GB, free: 11.14 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.000453/1.122, allocations: 283.8 kB / 1.012 GB, free: 10.9 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004874/1.123, allocations: 190.3 kB / 1.012 GB, free: 10.79 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0002521/1.123, allocations: 348.3 kB / 1.012 GB, free: 10.45 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00183/1.125, allocations: 0.5455 MB / 1.013 GB, free: 10.19 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001978/1.127, allocations: 0.8468 MB / 1.014 GB, free: 9.57 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003558/1.13, allocations: 1.342 MB / 1.015 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.071e-05/1.13, allocations: 0 / 1.015 GB, free: 8.734 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004423/1.135, allocations: 1.517 MB / 1.017 GB, free: 7.98 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 3.277e-05/1.135, allocations: 11.91 kB / 1.017 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.781e-05/1.135, allocations: 6.844 kB / 1.017 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 4.014e-05/1.135, allocations: 12.69 kB / 1.017 GB, free: 7.977 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001408/1.136, allocations: 296.4 kB / 1.017 GB, free: 7.887 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.014e-05/1.137, allocations: 17.14 kB / 1.017 GB, free: 7.883 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001646/1.138, allocations: 203.5 kB / 1.017 GB, free: 7.766 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001564/1.138, allocations: 55.16 kB / 1.017 GB, free: 7.746 MB / 0.7481 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 31 * 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 (117): * Single equations (assignments): 117 * 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.000823/1.139, allocations: 339.1 kB / 1.018 GB, free: 7.504 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004538/1.14, allocations: 135.5 kB / 1.018 GB, free: 7.434 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004161/1.144, allocations: 1.442 MB / 1.019 GB, free: 6.66 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.188e-05/1.144, allocations: 13.75 kB / 1.019 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.158e-06/1.144, allocations: 0 / 1.019 GB, free: 6.656 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.207e-05/1.144, allocations: 3.984 kB / 1.019 GB, free: 6.652 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006762/1.151, allocations: 2.878 MB / 1.022 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/1.151, allocations: 4.656 kB / 1.022 GB, free: 4.824 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001244/1.152, allocations: 228.9 kB / 1.022 GB, free: 4.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 2.092e-05/1.152, allocations: 12.23 kB / 1.022 GB, free: 4.746 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.49e-05/1.152, allocations: 22.08 kB / 1.022 GB, free: 4.734 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.425e-05/1.152, allocations: 15.3 kB / 1.022 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.14e-06/1.152, allocations: 5.125 kB / 1.022 GB, free: 4.727 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005887/1.158, allocations: 2.312 MB / 1.024 GB, free: 2.797 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007792/1.159, allocations: 299.2 kB / 1.025 GB, free: 2.484 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003723/1.159, allocations: 27.98 kB / 1.025 GB, free: 2.457 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001306/1.161, allocations: 111.9 kB / 1.025 GB, free: 2.348 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001704/1.161, allocations: 64.36 kB / 1.025 GB, free: 2.285 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.881e-05/1.161, allocations: 39.97 kB / 1.025 GB, free: 2.246 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.001427/1.162, allocations: 0.8805 MB / 1.026 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.81e-07/1.162, allocations: 0 / 1.026 GB, free: 1.363 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.001475/1.164, allocations: 315.6 kB / 1.026 GB, free: 1.055 MB / 0.7481 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * 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 (82): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * 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.007499/1.171, allocations: 3.299 MB / 1.029 GB, free: 13.87 MB / 0.7637 GB Notification: Performance of simCode: created initialization part: time 0.00424/1.176, allocations: 1.319 MB / 1.031 GB, free: 12.56 MB / 0.7637 GB Notification: Performance of simCode: created event and clocks part: time 9.267e-06/1.176, allocations: 4 kB / 1.031 GB, free: 12.55 MB / 0.7637 GB Notification: Performance of simCode: created simulation system equations: time 0.001944/1.178, allocations: 0.656 MB / 1.031 GB, free: 11.9 MB / 0.7637 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003716/1.181, allocations: 0.6404 MB / 1.032 GB, free: 11.27 MB / 0.7637 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02374/1.205, allocations: 11.14 MB / 1.043 GB, free: 15.73 MB / 0.7794 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001109/1.206, allocations: 1.179 MB / 1.044 GB, free: 14.52 MB / 0.7794 GB Notification: Performance of simCode: alias equations: time 0.001581/1.208, allocations: 346.3 kB / 1.044 GB, free: 14.18 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008879/1.209, allocations: 499.2 kB / 1.045 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of SimCode: time 9.01e-07/1.209, allocations: 4 kB / 1.045 GB, free: 13.69 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07434/1.283, allocations: 35.21 MB / 1.079 GB, free: 10.96 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.36/11.65, allocations: 16.38 kB / 1.079 GB, free: 10.95 MB / 0.8106 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_TSetOnly.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly.pipe 2>&1)