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.0008114/0.0008115, allocations: 86.41 kB / 15.06 MB, free: 1.09 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.0009485/0.0009484, allocations: 168.7 kB / 15.95 MB, free: 204 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.544/1.544, allocations: 205.4 MB / 222.1 MB, free: 5.648 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.79/1.79, allocations: 292.7 MB / 0.5499 GB, free: 14.56 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.0005221/0.0005221, allocations: 16.97 kB / 0.6738 GB, free: 26.08 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2092/0.2097, allocations: 116.3 MB / 0.7874 GB, free: 11.85 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_TSetOnly): time 0.6047/0.8144, allocations: 176.3 MB / 0.9596 GB, free: 4.793 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007305/0.8218, allocations: 4.771 MB / 0.9643 GB, free: 4.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00127/0.8231, allocations: 42.53 kB / 0.9643 GB, free: 4.324 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001516/0.8246, allocations: 0.6132 MB / 0.9649 GB, free: 4.168 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.005198/0.8298, allocations: 1.867 MB / 0.9667 GB, free: 3.723 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002627/0.8325, allocations: 0.912 MB / 0.9676 GB, free: 3.695 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.00394/0.8364, allocations: 2.986 MB / 0.9705 GB, free: 3.242 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001323/0.8378, allocations: 0.7152 MB / 0.9712 GB, free: 3.129 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002151/0.8399, allocations: 0.9975 MB / 0.9722 GB, free: 2.914 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001268/0.8412, allocations: 0.9255 MB / 0.9731 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001352/0.8414, allocations: 46.34 kB / 0.9732 GB, free: 2.75 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002564/0.8439, allocations: 0.9318 MB / 0.9741 GB, free: 2.641 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0004358/0.8444, allocations: 405.8 kB / 0.9745 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005159/0.8449, allocations: 269.5 kB / 0.9747 GB, free: 18.51 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.001825/0.8467, allocations: 1.365 MB / 0.9761 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.8468, allocations: 3.375 kB / 0.9761 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of FrontEnd: time 1.583e-06/0.8468, allocations: 0 / 0.9761 GB, free: 18.37 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 1.602e-05/0.8468, allocations: 0 / 0.9761 GB, free: 18.37 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.004186/0.851, allocations: 1.705 MB / 0.9777 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.933e-05/0.851, allocations: 8.688 kB / 0.9777 GB, free: 17.41 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001611/0.8512, allocations: 139.7 kB / 0.9779 GB, free: 17.36 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003947/0.8551, allocations: 0.7531 MB / 0.9786 GB, free: 17.05 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001528/0.8567, allocations: 0.852 MB / 0.9794 GB, free: 16.53 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.75e-05/0.8568, allocations: 73.19 kB / 0.9795 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001784/0.857, allocations: 91.58 kB / 0.9796 GB, free: 16.52 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002954/0.8599, allocations: 1.467 MB / 0.981 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.234e-05/0.86, allocations: 3.938 kB / 0.981 GB, free: 15.96 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.335e-05/0.8601, allocations: 44.3 kB / 0.9811 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.796e-05/0.8601, allocations: 48.64 kB / 0.9811 GB, free: 15.95 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003505/0.8636, allocations: 1.572 MB / 0.9826 GB, free: 15.61 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.006362/0.87, allocations: 5.047 MB / 0.9876 GB, free: 12.31 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002989/0.873, allocations: 1.238 MB / 0.9888 GB, free: 12.03 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001489/0.8745, allocations: 0.678 MB / 0.9894 GB, free: 11.88 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001262/0.8758, allocations: 0.9536 MB / 0.9904 GB, free: 10.89 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001692/0.8775, allocations: 0.7388 MB / 0.9911 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=82): time 2.885e-06/0.8775, allocations: 0 / 0.9911 GB, free: 10.62 MB / 0.7325 GB Notification: Performance of matching and sorting (n=82): time 0.005383/0.8829, allocations: 1.984 MB / 0.993 GB, free: 10.12 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.999e-05/0.883, allocations: 64.34 kB / 0.9931 GB, free: 10.05 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001659/0.8846, allocations: 1.269 MB / 0.9943 GB, free: 9.68 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.0001048/0.8848, allocations: 46.73 kB / 0.9944 GB, free: 9.648 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004185/0.8852, allocations: 0.575 MB / 0.9949 GB, free: 9.418 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002634/0.8855, allocations: 284.4 kB / 0.9952 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.679e-05/0.8855, allocations: 16.66 kB / 0.9952 GB, free: 9.219 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.000143/0.8857, allocations: 348.2 kB / 0.9956 GB, free: 8.898 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001438/0.8871, allocations: 0.5504 MB / 0.9961 GB, free: 8.773 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001649/0.8888, allocations: 0.8539 MB / 0.9969 GB, free: 8.316 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00148/0.8903, allocations: 0.6084 MB / 0.9975 GB, free: 8.188 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.963e-06/0.8903, allocations: 10.67 kB / 0.9975 GB, free: 8.18 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003529/0.8938, allocations: 1.526 MB / 0.999 GB, free: 7.766 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.974e-05/0.8939, allocations: 13.62 kB / 0.999 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.261e-05/0.8939, allocations: 6.594 kB / 0.999 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.548e-05/0.8939, allocations: 14.47 kB / 0.9991 GB, free: 7.762 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001358/0.8953, allocations: 302 kB / 0.9993 GB, free: 7.684 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.875e-05/0.8953, allocations: 14.45 kB / 0.9994 GB, free: 7.68 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001526/0.8969, allocations: 226.3 kB / 0.9996 GB, free: 7.574 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001269/0.897, allocations: 49.97 kB / 0.9996 GB, free: 7.566 MB / 0.7325 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 ($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 (117): * Single equations (assignments): 117 * 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.0007154/0.8977, allocations: 344 kB / 1 GB, free: 7.402 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002868/0.898, allocations: 138.3 kB / 1 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00368/0.9017, allocations: 1.462 MB / 1.002 GB, free: 6.938 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.176e-06/0.9017, allocations: 15.88 kB / 1.002 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.803e-06/0.9017, allocations: 2.938 kB / 1.002 GB, free: 6.93 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.08e-05/0.9018, allocations: 3.984 kB / 1.002 GB, free: 6.926 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005722/0.9075, allocations: 2.879 MB / 1.004 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.936e-06/0.9075, allocations: 2.688 kB / 1.004 GB, free: 5.773 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001208/0.9087, allocations: 237.8 kB / 1.005 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.399e-05/0.9088, allocations: 8.031 kB / 1.005 GB, free: 5.703 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.281e-05/0.9088, allocations: 29.62 kB / 1.005 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.147e-06/0.9089, allocations: 7.531 kB / 1.005 GB, free: 5.695 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.472e-06/0.9089, allocations: 10.19 kB / 1.005 GB, free: 5.691 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005072/0.914, allocations: 2.336 MB / 1.007 GB, free: 4.914 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006417/0.9146, allocations: 319.8 kB / 1.007 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002924/0.9149, allocations: 22.44 kB / 1.007 GB, free: 4.695 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001193/0.9161, allocations: 134.8 kB / 1.007 GB, free: 4.648 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/0.9163, allocations: 70.69 kB / 1.007 GB, free: 4.617 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.437e-05/0.9164, allocations: 39.55 kB / 1.007 GB, free: 4.609 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001145/0.9175, allocations: 0.8688 MB / 1.008 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2e-07/0.9175, allocations: 0 / 1.008 GB, free: 4.363 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001226/0.9188, allocations: 318.3 kB / 1.009 GB, free: 4.34 MB / 0.7325 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 (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.006625/0.9254, allocations: 3.314 MB / 1.012 GB, free: 2.902 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003536/0.929, allocations: 1.317 MB / 1.013 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 7.615e-06/0.929, allocations: 3.25 kB / 1.013 GB, free: 2.59 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001612/0.9306, allocations: 0.6668 MB / 1.014 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003145/0.9338, allocations: 0.608 MB / 1.014 GB, free: 2.223 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01779/0.9516, allocations: 8.844 MB / 1.023 GB, free: 11.5 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008948/0.9525, allocations: 1.174 MB / 1.024 GB, free: 10.33 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001754/0.9543, allocations: 354.3 kB / 1.025 GB, free: 9.977 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007569/0.9551, allocations: 0.4886 MB / 1.025 GB, free: 9.84 MB / 0.7481 GB Notification: Performance of SimCode: time 1.283e-06/0.9551, allocations: 4 kB / 1.025 GB, free: 9.836 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05552/1.011, allocations: 33.72 MB / 1.058 GB, free: 8.621 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001758/1.011, allocations: 232.5 kB / 1.058 GB, free: 8.387 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.594/3.604, allocations: 0 / 1.058 GB, free: 8.387 MB / 0.7794 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/linux/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) Environment - environmentSimulation: