Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.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_X_wSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",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.0008127/0.0008127, allocations: 91.69 kB / 15.06 MB, free: 1.098 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.0008228/0.000823, allocations: 172.7 kB / 15.95 MB, free: 208 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.45/1.45, allocations: 205.4 MB / 222.1 MB, free: 5.863 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.768/1.768, 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.0005043/0.0005043, allocations: 17.25 kB / 0.6738 GB, free: 26.36 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2103/0.2108, allocations: 116.3 MB / 0.7874 GB, free: 11.83 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.6299/0.8407, allocations: 176.3 MB / 0.9596 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.007954/0.8487, allocations: 4.77 MB / 0.9643 GB, free: 4.254 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001852/0.8506, allocations: 40.5 kB / 0.9643 GB, free: 4.234 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.001894/0.8525, allocations: 0.6215 MB / 0.9649 GB, free: 4.074 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.006003/0.8586, allocations: 1.861 MB / 0.9667 GB, free: 3.633 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002838/0.8614, allocations: 0.9155 MB / 0.9676 GB, free: 3.602 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.004149/0.8656, allocations: 2.993 MB / 0.9705 GB, free: 3.152 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001478/0.8671, allocations: 0.7137 MB / 0.9712 GB, free: 3.039 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002599/0.8697, allocations: 0.9982 MB / 0.9722 GB, free: 2.82 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001948/0.8717, allocations: 0.9185 MB / 0.9731 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0002315/0.8719, allocations: 45.72 kB / 0.9732 GB, free: 2.656 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003022/0.875, allocations: 0.9312 MB / 0.9741 GB, free: 2.551 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005573/0.8755, allocations: 397.6 kB / 0.9744 GB, free: 2.5 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0005095/0.8761, allocations: 263.7 kB / 0.9747 GB, free: 2.422 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.001938/0.878, allocations: 1.359 MB / 0.976 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.759e-06/0.878, allocations: 5.094 kB / 0.976 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.562e-06/0.878, allocations: 0 / 0.976 GB, free: 2.281 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 1.647e-05/0.878, allocations: 4 kB / 0.976 GB, free: 2.277 MB / 0.7169 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.004244/0.8823, allocations: 1.706 MB / 0.9777 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 3.98e-05/0.8823, allocations: 7.969 kB / 0.9777 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001687/0.8825, allocations: 141.5 kB / 0.9778 GB, free: 17.25 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0035/0.886, allocations: 0.6999 MB / 0.9785 GB, free: 16.96 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001612/0.8877, allocations: 0.8494 MB / 0.9794 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.697e-05/0.8877, allocations: 65.69 kB / 0.9794 GB, free: 16.44 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001658/0.8879, allocations: 97.52 kB / 0.9795 GB, free: 16.43 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003007/0.8909, allocations: 1.472 MB / 0.9809 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.341e-05/0.891, allocations: 3.312 kB / 0.981 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.924e-05/0.8911, allocations: 42.5 kB / 0.981 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.304e-05/0.8911, allocations: 57.75 kB / 0.981 GB, free: 15.82 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003502/0.8947, allocations: 1.529 MB / 0.9825 GB, free: 15.48 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.006991/0.9017, allocations: 5.502 MB / 0.9879 GB, free: 11.7 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003213/0.9049, allocations: 1.317 MB / 0.9892 GB, free: 11.39 MB / 0.7325 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001464/0.9064, allocations: 0.6708 MB / 0.9899 GB, free: 11.23 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008417/0.9072, allocations: 0.5928 MB / 0.9904 GB, free: 10.64 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00162/0.9089, allocations: 0.7118 MB / 0.9911 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=80): time 2.865e-06/0.9089, allocations: 1.859 kB / 0.9911 GB, free: 10.38 MB / 0.7325 GB Notification: Performance of matching and sorting (n=80): time 0.004926/0.9138, allocations: 1.908 MB / 0.993 GB, free: 9.883 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.9139, allocations: 69.42 kB / 0.9931 GB, free: 9.812 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001355/0.9152, allocations: 1.244 MB / 0.9943 GB, free: 9.457 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 9.465e-05/0.9154, allocations: 39.95 kB / 0.9943 GB, free: 9.426 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003936/0.9158, allocations: 0.5876 MB / 0.9949 GB, free: 9.184 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002445/0.916, allocations: 274.9 kB / 0.9951 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.014e-05/0.9161, allocations: 18.5 kB / 0.9952 GB, free: 8.992 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001195/0.9162, allocations: 345.4 kB / 0.9955 GB, free: 8.672 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001409/0.9176, allocations: 0.5389 MB / 0.996 GB, free: 8.547 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001603/0.9192, allocations: 0.8575 MB / 0.9969 GB, free: 8.074 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001446/0.9207, allocations: 0.5971 MB / 0.9974 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.893e-06/0.9207, allocations: 2.688 kB / 0.9974 GB, free: 7.945 MB / 0.7325 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.003512/0.9242, allocations: 1.512 MB / 0.9989 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 2.5e-05/0.9243, allocations: 10.3 kB / 0.9989 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.255e-05/0.9243, allocations: 6.469 kB / 0.9989 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.661e-05/0.9243, allocations: 13.81 kB / 0.9989 GB, free: 7.523 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001333/0.9257, allocations: 300.8 kB / 0.9992 GB, free: 7.445 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.736e-05/0.9257, allocations: 18.52 kB / 0.9993 GB, free: 7.441 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001408/0.9271, allocations: 235.4 kB / 0.9995 GB, free: 7.332 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001109/0.9272, allocations: 56.5 kB / 0.9995 GB, free: 7.32 MB / 0.7325 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 33 * 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.0005748/0.9278, allocations: 333.5 kB / 0.9999 GB, free: 7.164 MB / 0.7325 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002352/0.9281, allocations: 133.7 kB / 1 GB, free: 7.094 MB / 0.7325 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003618/0.9317, allocations: 1.432 MB / 1.001 GB, free: 6.691 MB / 0.7325 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.152e-05/0.9317, allocations: 12.27 kB / 1.001 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.096e-06/0.9317, allocations: 0 / 1.001 GB, free: 6.688 MB / 0.7325 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.15e-05/0.9317, allocations: 3.984 kB / 1.001 GB, free: 6.684 MB / 0.7325 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005567/0.9373, allocations: 2.825 MB / 1.004 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.9373, allocations: 4.312 kB / 1.004 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001159/0.9385, allocations: 233.6 kB / 1.004 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.397e-05/0.9385, allocations: 7.812 kB / 1.004 GB, free: 5.484 MB / 0.7325 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.567e-05/0.9386, allocations: 30.59 kB / 1.004 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.566e-06/0.9387, allocations: 7.234 kB / 1.004 GB, free: 5.477 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.732e-06/0.9387, allocations: 13.25 kB / 1.004 GB, free: 5.469 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005025/0.9437, allocations: 2.279 MB / 1.007 GB, free: 4.711 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007368/0.9445, allocations: 301.5 kB / 1.007 GB, free: 4.508 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003139/0.9448, allocations: 21.89 kB / 1.007 GB, free: 4.504 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001182/0.946, allocations: 143.2 kB / 1.007 GB, free: 4.453 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001275/0.9461, allocations: 64.05 kB / 1.007 GB, free: 4.422 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.268e-05/0.9462, allocations: 38.28 kB / 1.007 GB, free: 4.414 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.001148/0.9474, allocations: 0.8528 MB / 1.008 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of sort global known variables: time 2.2e-07/0.9474, allocations: 0 / 1.008 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.001275/0.9487, allocations: 313.2 kB / 1.008 GB, free: 4.148 MB / 0.7325 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 3 (heaHigPow.Xi,cooLimPow.Xi,heaCooUnl.Xi) * 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 (80): * Single equations (assignments): 74 * 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.006457/0.9552, allocations: 3.267 MB / 1.012 GB, free: 2.703 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.003374/0.9586, allocations: 1.291 MB / 1.013 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 5.109e-06/0.9586, allocations: 3.188 kB / 1.013 GB, free: 2.398 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001608/0.9602, allocations: 0.6494 MB / 1.013 GB, free: 2.242 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002876/0.9631, allocations: 0.5783 MB / 1.014 GB, free: 2.055 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01611/0.9792, allocations: 8.706 MB / 1.022 GB, free: 11.69 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008554/0.9801, allocations: 1.175 MB / 1.024 GB, free: 10.51 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.001597/0.9817, allocations: 342 kB / 1.024 GB, free: 10.18 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007204/0.9825, allocations: 0.4905 MB / 1.024 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of SimCode: time 7.21e-07/0.9825, allocations: 4 kB / 1.024 GB, free: 10.04 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05491/1.037, allocations: 32.71 MB / 1.056 GB, free: 9.824 MB / 0.7794 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000173/1.038, allocations: 245 kB / 1.057 GB, free: 9.578 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.551/3.588, allocations: 4.5 kB / 1.057 GB, free: 9.574 MB / 0.7794 GB (rm -f Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_8_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1) Environment - environmentSimulation: