Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.477/1.477, allocations: 251.9 MB / 266.9 MB, free: 11.02 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001088/0.001088, allocations: 181 kB / 326.5 MB, free: 2.25 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.025/2.025, allocations: 205.4 MB / 0.5775 GB, free: 20.27 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001035/0.001035, allocations: 90.38 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003492/0.0003494, allocations: 9.719 kB / 0.7963 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2343/0.2346, allocations: 106.3 MB / 0.9001 GB, free: 63.87 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly): time 0.737/0.9716, allocations: 161 MB / 1.057 GB, free: 3.797 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.009275/0.981, allocations: 5.026 MB / 1.062 GB, free: 3.75 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001595/0.9826, allocations: 42.19 kB / 1.062 GB, free: 3.75 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.002466/0.9851, allocations: 0.7904 MB / 1.063 GB, free: 3.746 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.006863/0.992, allocations: 1.781 MB / 1.065 GB, free: 3.727 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.004618/0.9966, allocations: 1.277 MB / 1.066 GB, free: 3.707 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.003742/1, allocations: 1.617 MB / 1.068 GB, free: 3.703 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001611/1.002, allocations: 0.7504 MB / 1.068 GB, free: 3.629 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002556/1.005, allocations: 0.9646 MB / 1.069 GB, free: 3.625 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001803/1.006, allocations: 0.6821 MB / 1.07 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002548/1.007, allocations: 45.38 kB / 1.07 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002867/1.01, allocations: 0.738 MB / 1.071 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0006685/1.01, allocations: 373.3 kB / 1.071 GB, free: 3.621 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0009181/1.011, allocations: 270.7 kB / 1.071 GB, free: 19.59 MB / 0.7136 GB Notification: Performance of NFConvertDAE.convert: time 0.002895/1.014, allocations: 1.224 MB / 1.073 GB, free: 19.47 MB / 0.7136 GB Notification: Performance of FrontEnd - DAE generated: time 4.057e-06/1.014, allocations: 0 / 1.073 GB, free: 19.47 MB / 0.7136 GB Notification: Performance of FrontEnd: time 3.386e-06/1.014, allocations: 4 kB / 1.073 GB, free: 19.46 MB / 0.7136 GB Notification: Performance of Transformations before backend: time 9.67e-05/1.014, allocations: 3.688 kB / 1.073 GB, free: 19.46 MB / 0.7136 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.006671/1.021, allocations: 1.669 MB / 1.074 GB, free: 18.58 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 5.669e-05/1.021, allocations: 9.719 kB / 1.074 GB, free: 18.58 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005528/1.022, allocations: 138.5 kB / 1.074 GB, free: 18.54 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004566/1.026, allocations: 0.702 MB / 1.075 GB, free: 18.44 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00283/1.029, allocations: 0.8432 MB / 1.076 GB, free: 18.1 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001361/1.029, allocations: 79.11 kB / 1.076 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0005086/1.03, allocations: 88.97 kB / 1.076 GB, free: 18.09 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.004531/1.034, allocations: 1.469 MB / 1.077 GB, free: 17.84 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.215e-05/1.034, allocations: 4.125 kB / 1.077 GB, free: 17.84 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002058/1.035, allocations: 38.95 kB / 1.078 GB, free: 17.84 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.333e-05/1.035, allocations: 53.44 kB / 1.078 GB, free: 17.84 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.005025/1.04, allocations: 1.538 MB / 1.079 GB, free: 17.8 MB / 0.7136 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.01019/1.05, allocations: 5.158 MB / 1.084 GB, free: 14.79 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004064/1.054, allocations: 1.313 MB / 1.085 GB, free: 14.73 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005042/1.055, allocations: 163.5 kB / 1.086 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00207/1.057, allocations: 0.7181 MB / 1.086 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=80): time 5.4e-06/1.057, allocations: 0 / 1.086 GB, free: 14.57 MB / 0.7136 GB Notification: Performance of matching and sorting (n=80): time 0.006101/1.063, allocations: 1.905 MB / 1.088 GB, free: 14.42 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.767e-05/1.063, allocations: 62.3 kB / 1.088 GB, free: 14.36 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0023/1.065, allocations: 1.238 MB / 1.089 GB, free: 14.2 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0002651/1.065, allocations: 44.64 kB / 1.089 GB, free: 14.16 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005433/1.066, allocations: 0.5888 MB / 1.09 GB, free: 13.97 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003293/1.066, allocations: 276.3 kB / 1.09 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.974e-05/1.066, allocations: 20.25 kB / 1.09 GB, free: 13.8 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001588/1.067, allocations: 341.3 kB / 1.091 GB, free: 13.49 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001604/1.068, allocations: 0.5493 MB / 1.091 GB, free: 13.48 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001757/1.07, allocations: 0.8468 MB / 1.092 GB, free: 13.15 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001702/1.072, allocations: 0.597 MB / 1.093 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.159e-05/1.072, allocations: 2.906 kB / 1.093 GB, free: 13.12 MB / 0.7136 GB Notification: Performance of matching and sorting (n=117) (initialization): time 0.004075/1.076, allocations: 1.512 MB / 1.094 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 2.774e-05/1.076, allocations: 10.66 kB / 1.094 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.727e-05/1.076, allocations: 5.625 kB / 1.094 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.758e-05/1.076, allocations: 13.81 kB / 1.094 GB, free: 12.97 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001402/1.077, allocations: 303.7 kB / 1.094 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.225e-05/1.077, allocations: 16.91 kB / 1.094 GB, free: 12.96 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001814/1.079, allocations: 238.8 kB / 1.095 GB, free: 12.9 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001511/1.079, allocations: 45.47 kB / 1.095 GB, free: 12.9 MB / 0.7136 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.setHeaCooUnl.nextTimeEvent,$whenCondition2,$PRE.setCooLimPow.nextTimeEvent,$whenCondition1,$PRE.setHeaHigPow.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.0008578/1.08, allocations: 346.9 kB / 1.095 GB, free: 12.77 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003759/1.081, allocations: 137.7 kB / 1.095 GB, free: 12.7 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004057/1.085, allocations: 1.426 MB / 1.097 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.054e-05/1.085, allocations: 8.156 kB / 1.097 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.342e-05/1.085, allocations: 3.094 kB / 1.097 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.366e-05/1.085, allocations: 6.141 kB / 1.097 GB, free: 12.6 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006985/1.092, allocations: 2.824 MB / 1.099 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.023e-05/1.092, allocations: 2.469 kB / 1.099 GB, free: 12.09 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001224/1.093, allocations: 232.1 kB / 1.099 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.979e-05/1.093, allocations: 8.125 kB / 1.1 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.968e-05/1.093, allocations: 27.2 kB / 1.1 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.069e-05/1.093, allocations: 11.84 kB / 1.1 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.83e-06/1.093, allocations: 2.438 kB / 1.1 GB, free: 12.08 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00581/1.099, allocations: 2.501 MB / 1.102 GB, free: 11.42 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001229/1.1, allocations: 304.2 kB / 1.102 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006826/1.101, allocations: 30.36 kB / 1.102 GB, free: 11.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001584/1.103, allocations: 133.9 kB / 1.102 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001577/1.103, allocations: 60.72 kB / 1.102 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.508e-05/1.103, allocations: 33.84 kB / 1.103 GB, free: 11.23 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.001631/1.105, allocations: 0.8518 MB / 1.103 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.473e-06/1.105, allocations: 6.047 kB / 1.103 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.00164/1.106, allocations: 315.6 kB / 1.104 GB, free: 11.09 MB / 0.7136 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 (setHeaCooUnl.nextTimeEvent,setCooLimPow.nextTimeEvent,setHeaHigPow.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.00755/1.114, allocations: 4.54 MB / 1.108 GB, free: 8.703 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003734/1.118, allocations: 1.3 MB / 1.109 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 8.396e-06/1.118, allocations: 0 / 1.109 GB, free: 8.668 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.00179/1.119, allocations: 0.6512 MB / 1.11 GB, free: 8.652 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003622/1.123, allocations: 0.5811 MB / 1.111 GB, free: 8.59 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02451/1.148, allocations: 13.42 MB / 1.124 GB, free: 15.64 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001119/1.149, allocations: 1.207 MB / 1.125 GB, free: 14.73 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.002218/1.151, allocations: 342.7 kB / 1.125 GB, free: 14.57 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009502/1.152, allocations: 0.4885 MB / 1.126 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of SimCode: time 2.454e-06/1.152, allocations: 2.906 kB / 1.126 GB, free: 14.52 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07128/1.223, allocations: 32.69 MB / 1.158 GB, free: 6.871 MB / 0.7448 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000251/1.224, allocations: 242.1 kB / 1.158 GB, free: 6.594 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.947/4.171, allocations: 4 kB / 1.158 GB, free: 6.59 MB / 0.7448 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_X_wSetOnly.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet_X_wSetOnly.pipe 2>&1)