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.001202/0.001202, allocations: 108 kB / 15.6 MB, free: 132 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.001403/0.001403, allocations: 191.8 kB / 16.53 MB, free: 6.391 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.585/1.585, allocations: 205.1 MB / 222.4 MB, free: 4.598 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.692/1.692, allocations: 292.3 MB / 0.5489 GB, free: 13.54 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.001493/0.001494, allocations: 74.48 kB / 0.6716 GB, free: 25.84 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2519/0.2534, allocations: 114.5 MB / 0.7835 GB, free: 13.52 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6408/0.8943, allocations: 193.8 MB / 0.9728 GB, free: 5.129 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.007479/0.9018, allocations: 4.999 MB / 0.9776 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001244/0.903, allocations: 48.53 kB / 0.9777 GB, free: 4.961 MB / 0.7325 GB Notification: Performance of NFTyping.typeComponents: time 0.001728/0.9048, allocations: 0.8133 MB / 0.9785 GB, free: 4.941 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.005737/0.9106, allocations: 2.567 MB / 0.981 GB, free: 4.816 MB / 0.7325 GB Notification: Performance of NFTyping.typeClassSections: time 0.002641/0.9132, allocations: 1.111 MB / 0.9821 GB, free: 4.793 MB / 0.7325 GB Notification: Performance of NFFlatten.flatten: time 0.003353/0.9166, allocations: 2.581 MB / 0.9846 GB, free: 4.773 MB / 0.7325 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001266/0.9179, allocations: 0.896 MB / 0.9855 GB, free: 4.664 MB / 0.7325 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001784/0.9197, allocations: 1.088 MB / 0.9865 GB, free: 4.59 MB / 0.7325 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009984/0.9207, allocations: 0.9575 MB / 0.9875 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFPackage.collectConstants: time 0.0001579/0.9208, allocations: 80.75 kB / 0.9875 GB, free: 4.441 MB / 0.7325 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003265/0.9241, allocations: 1.781 MB / 0.9893 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of NFScalarize.scalarize: time 0.0003764/0.9245, allocations: 446.2 kB / 0.9897 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of NFVerifyModel.verify: time 0.0005914/0.9251, allocations: 0.6584 MB / 0.9904 GB, free: 4.141 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.002896/0.928, allocations: 2.166 MB / 0.9925 GB, free: 3.82 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.928, allocations: 3.938 kB / 0.9925 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of FrontEnd: time 2.284e-06/0.928, allocations: 0 / 0.9925 GB, free: 3.816 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.83e-05/0.9281, allocations: 0 / 0.9925 GB, free: 3.816 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.004532/0.9326, allocations: 1.946 MB / 0.9944 GB, free: 18.87 MB / 0.7481 GB Notification: Performance of prepare preOptimizeDAE: time 3.971e-05/0.9326, allocations: 13.78 kB / 0.9944 GB, free: 18.86 MB / 0.7481 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001403/0.9328, allocations: 135.9 kB / 0.9945 GB, free: 18.82 MB / 0.7481 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004138/0.9369, allocations: 0.7044 MB / 0.9952 GB, free: 18.73 MB / 0.7481 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001269/0.9382, allocations: 0.9046 MB / 0.9961 GB, free: 18.28 MB / 0.7481 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.879e-05/0.9383, allocations: 67.22 kB / 0.9962 GB, free: 18.25 MB / 0.7481 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000144/0.9384, allocations: 93.58 kB / 0.9962 GB, free: 18.22 MB / 0.7481 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002757/0.9412, allocations: 1.466 MB / 0.9977 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.106e-05/0.9412, allocations: 3.062 kB / 0.9977 GB, free: 17.66 MB / 0.7481 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.9413, allocations: 36.67 kB / 0.9977 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.845e-05/0.9414, allocations: 51.8 kB / 0.9978 GB, free: 17.63 MB / 0.7481 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004135/0.9455, allocations: 1.559 MB / 0.9993 GB, free: 17.2 MB / 0.7481 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.005921/0.9515, allocations: 5.046 MB / 1.004 GB, free: 13.79 MB / 0.7481 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003119/0.9546, allocations: 1.182 MB / 1.005 GB, free: 13.23 MB / 0.7481 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001615/0.9562, allocations: 0.6642 MB / 1.006 GB, free: 12.92 MB / 0.7481 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001172/0.9574, allocations: 0.9426 MB / 1.007 GB, free: 11.91 MB / 0.7481 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001761/0.9592, allocations: 0.7263 MB / 1.008 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of pre-optimization done (n=82): time 2.785e-06/0.9592, allocations: 0 / 1.008 GB, free: 11.49 MB / 0.7481 GB Notification: Performance of matching and sorting (n=82): time 0.006355/0.9656, allocations: 1.959 MB / 1.01 GB, free: 10.56 MB / 0.7481 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.733e-05/0.9657, allocations: 62.94 kB / 1.01 GB, free: 10.5 MB / 0.7481 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001977/0.9676, allocations: 1.274 MB / 1.011 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of collectPreVariables (initialization): time 0.0002075/0.9679, allocations: 43.73 kB / 1.011 GB, free: 9.797 MB / 0.7481 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004969/0.9684, allocations: 0.5772 MB / 1.011 GB, free: 9.289 MB / 0.7481 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002748/0.9687, allocations: 283.8 kB / 1.012 GB, free: 9.051 MB / 0.7481 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003108/0.969, allocations: 183.8 kB / 1.012 GB, free: 8.945 MB / 0.7481 GB Notification: Performance of setup shared object (initialization): time 0.0001197/0.9691, allocations: 350 kB / 1.012 GB, free: 8.605 MB / 0.7481 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001578/0.9707, allocations: 0.5476 MB / 1.013 GB, free: 8.344 MB / 0.7481 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001785/0.9725, allocations: 0.8454 MB / 1.014 GB, free: 7.73 MB / 0.7481 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00322/0.9757, allocations: 1.345 MB / 1.015 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.9757, allocations: 2.531 kB / 1.015 GB, free: 6.914 MB / 0.7481 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003892/0.9796, allocations: 1.517 MB / 1.016 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of prepare postOptimizeDAE: time 2.483e-05/0.9797, allocations: 8.938 kB / 1.016 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.121e-05/0.9797, allocations: 6.844 kB / 1.016 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.299e-05/0.9797, allocations: 14.12 kB / 1.016 GB, free: 6.203 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001419/0.9811, allocations: 291.9 kB / 1.017 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.08e-05/0.9812, allocations: 16.81 kB / 1.017 GB, free: 6.129 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001584/0.9828, allocations: 209.1 kB / 1.017 GB, free: 6.008 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001062/0.9829, allocations: 54.84 kB / 1.017 GB, free: 5.988 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.0006655/0.9836, allocations: 339.1 kB / 1.017 GB, free: 5.758 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002874/0.9839, allocations: 136.3 kB / 1.017 GB, free: 5.688 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003938/0.9878, allocations: 1.452 MB / 1.019 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.889e-06/0.9878, allocations: 4.938 kB / 1.019 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.225e-06/0.9878, allocations: 2.594 kB / 1.019 GB, free: 4.91 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.9879, allocations: 3.984 kB / 1.019 GB, free: 4.906 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00585/0.9937, allocations: 2.877 MB / 1.022 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.497e-06/0.9938, allocations: 4.219 kB / 1.022 GB, free: 3.105 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001222/0.995, allocations: 226.4 kB / 1.022 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.889e-06/0.995, allocations: 7.25 kB / 1.022 GB, free: 3.039 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.687e-05/0.9951, allocations: 29.03 kB / 1.022 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.864e-06/0.9951, allocations: 7.406 kB / 1.022 GB, free: 3.023 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.258e-06/0.9951, allocations: 11.81 kB / 1.022 GB, free: 3.02 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005354/1, allocations: 2.308 MB / 1.024 GB, free: 1.699 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000583/1.001, allocations: 301.8 kB / 1.024 GB, free: 1.453 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001864/1.001, allocations: 22.44 kB / 1.025 GB, free: 1.441 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00109/1.002, allocations: 116 kB / 1.025 GB, free: 1.387 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001337/1.003, allocations: 58.38 kB / 1.025 GB, free: 1.359 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.458e-05/1.003, allocations: 44.81 kB / 1.025 GB, free: 1.34 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.0009929/1.004, allocations: 0.8764 MB / 1.026 GB, free: 0.8906 MB / 0.7481 GB Notification: Performance of sort global known variables: time 1.21e-07/1.004, allocations: 0 / 1.026 GB, free: 0.8906 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.0009694/1.005, allocations: 322.7 kB / 1.026 GB, free: 0.8359 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.006561/1.011, allocations: 3.3 MB / 1.029 GB, free: 14.84 MB / 0.7638 GB Notification: Performance of simCode: created initialization part: time 0.003954/1.015, allocations: 1.424 MB / 1.03 GB, free: 14.26 MB / 0.7638 GB Notification: Performance of simCode: created event and clocks part: time 6.974e-06/1.015, allocations: 1.344 kB / 1.03 GB, free: 14.26 MB / 0.7638 GB Notification: Performance of simCode: created simulation system equations: time 0.001813/1.017, allocations: 0.6591 MB / 1.031 GB, free: 13.98 MB / 0.7638 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/1.02, allocations: 0.6527 MB / 1.032 GB, free: 13.63 MB / 0.7638 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02063/1.041, allocations: 12.01 MB / 1.044 GB, free: 1.34 MB / 0.7638 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006552/1.041, allocations: 1.175 MB / 1.045 GB, free: 136 kB / 0.7638 GB Notification: Performance of simCode: alias equations: time 0.001494/1.043, allocations: 350.4 kB / 1.045 GB, free: 15.78 MB / 0.7794 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006812/1.043, allocations: 0.4914 MB / 1.045 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of SimCode: time 8.62e-07/1.043, allocations: 0 / 1.045 GB, free: 15.29 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.741/2.784, allocations: 35.2 MB / 1.08 GB, free: 12.59 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.432/11.22, allocations: 16 kB / 1.08 GB, free: 12.57 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)