Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.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,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet",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.29/1.29, allocations: 251.5 MB / 266.7 MB, free: 11.04 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.000874/0.000874, allocations: 178.1 kB / 325.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.361/1.361, allocations: 205 MB / 0.576 GB, free: 21.03 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.0006548/0.0006548, allocations: 86.36 kB / 0.6797 GB, free: 14.7 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0002947/0.0002949, allocations: 11.59 kB / 0.7932 GB, free: 136.7 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1499/0.1502, allocations: 105.4 MB / 0.8962 GB, free: 68.05 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Interfaces.Examples.PrescribedOutlet): time 0.489/0.6393, allocations: 191.5 MB / 1.083 GB, free: 1.547 MB / 0.698 GB Notification: Performance of NFInst.instExpressions: time 0.006908/0.6462, allocations: 5.19 MB / 1.088 GB, free: 1.391 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009286/0.6472, allocations: 44.81 kB / 1.088 GB, free: 1.391 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001462/0.6487, allocations: 0.7134 MB / 1.089 GB, free: 1.371 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.004714/0.6534, allocations: 2.417 MB / 1.091 GB, free: 1.25 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.002167/0.6556, allocations: 1.018 MB / 1.092 GB, free: 1.223 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.002832/0.6584, allocations: 3.583 MB / 1.096 GB, free: 1.219 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001/0.6594, allocations: 0.8225 MB / 1.097 GB, free: 1.117 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001395/0.6608, allocations: 1.027 MB / 1.098 GB, free: 1.113 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008462/0.6617, allocations: 1.009 MB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001128/0.6618, allocations: 48.97 kB / 1.099 GB, free: 1.102 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.6646, allocations: 2.071 MB / 1.101 GB, free: 1.082 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003095/0.6649, allocations: 419.5 kB / 1.101 GB, free: 1.078 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0004831/0.6654, allocations: 0.6183 MB / 1.102 GB, free: 1.078 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.002264/0.6677, allocations: 2.253 MB / 1.104 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.266e-06/0.6677, allocations: 0 / 1.104 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of FrontEnd: time 1.382e-06/0.6677, allocations: 0 / 1.104 GB, free: 0.9375 MB / 0.698 GB Notification: Performance of Transformations before backend: time 1.417e-05/0.6677, allocations: 7.062 kB / 1.104 GB, free: 0.9336 MB / 0.698 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 226 * Number of variables: 226 Notification: Performance of Generate backend data structure: time 0.003772/0.6715, allocations: 1.717 MB / 1.106 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.6715, allocations: 11.59 kB / 1.106 GB, free: 16.03 MB / 0.7136 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000133/0.6717, allocations: 138.7 kB / 1.106 GB, free: 15.99 MB / 0.7136 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004658/0.6763, allocations: 0.9382 MB / 1.107 GB, free: 15.87 MB / 0.7136 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001132/0.6775, allocations: 0.915 MB / 1.108 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.063e-05/0.6775, allocations: 65.22 kB / 1.108 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001472/0.6777, allocations: 101.5 kB / 1.108 GB, free: 15.48 MB / 0.7136 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002982/0.6807, allocations: 1.58 MB / 1.109 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.882e-05/0.6807, allocations: 0 / 1.109 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.353e-05/0.6808, allocations: 38.5 kB / 1.109 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.224e-05/0.6809, allocations: 50.36 kB / 1.109 GB, free: 15.33 MB / 0.7136 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004309/0.6852, allocations: 1.845 MB / 1.111 GB, free: 15.29 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.005987/0.6912, allocations: 4.768 MB / 1.116 GB, free: 13.37 MB / 0.7136 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003707/0.6949, allocations: 1.594 MB / 1.117 GB, free: 13.29 MB / 0.7136 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001975/0.6969, allocations: 0.849 MB / 1.118 GB, free: 13.27 MB / 0.7136 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00114/0.698, allocations: 0.9533 MB / 1.119 GB, free: 12.32 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.002213/0.7003, allocations: 0.9108 MB / 1.12 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=95): time 3.547e-06/0.7003, allocations: 4 kB / 1.12 GB, free: 12.24 MB / 0.7136 GB Notification: Performance of matching and sorting (n=95): time 0.007579/0.7079, allocations: 2.442 MB / 1.122 GB, free: 12.07 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.628e-05/0.708, allocations: 72 kB / 1.123 GB, free: 12 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001304/0.7093, allocations: 1.208 MB / 1.124 GB, free: 11.85 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 9.609e-05/0.7094, allocations: 45.52 kB / 1.124 GB, free: 11.82 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003614/0.7097, allocations: 0.542 MB / 1.124 GB, free: 11.65 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002496/0.71, allocations: 323.7 kB / 1.125 GB, free: 11.45 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001154/0.7101, allocations: 86.08 kB / 1.125 GB, free: 11.43 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001092/0.7102, allocations: 344.9 kB / 1.125 GB, free: 11.12 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001864/0.7121, allocations: 0.6993 MB / 1.126 GB, free: 11.11 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001972/0.7141, allocations: 0.9279 MB / 1.127 GB, free: 10.88 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00367/0.7178, allocations: 1.552 MB / 1.128 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.21e-06/0.7178, allocations: 0 / 1.128 GB, free: 10.68 MB / 0.7136 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.004346/0.7221, allocations: 1.769 MB / 1.13 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.945e-05/0.7222, allocations: 8.562 kB / 1.13 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.7222, allocations: 3.594 kB / 1.13 GB, free: 10.33 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.772e-05/0.7222, allocations: 12.31 kB / 1.13 GB, free: 10.32 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001571/0.7238, allocations: 341.3 kB / 1.13 GB, free: 10.25 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.579e-05/0.7238, allocations: 15.05 kB / 1.13 GB, free: 10.24 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001572/0.7254, allocations: 262 kB / 1.13 GB, free: 10.12 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.741e-05/0.7255, allocations: 48 kB / 1.13 GB, free: 10.12 MB / 0.7136 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (121): * Single equations (assignments): 121 * 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.0004863/0.726, allocations: 336.2 kB / 1.131 GB, free: 9.969 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001906/0.7262, allocations: 139.4 kB / 1.131 GB, free: 9.898 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.004415/0.7306, allocations: 1.8 MB / 1.133 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.654e-06/0.7306, allocations: 8.719 kB / 1.133 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.7306, allocations: 0 / 1.133 GB, free: 9.402 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.04e-05/0.7307, allocations: 3.984 kB / 1.133 GB, free: 9.398 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006113/0.7368, allocations: 3.331 MB / 1.136 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.7368, allocations: 5.125 kB / 1.136 GB, free: 8.156 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00141/0.7382, allocations: 289.5 kB / 1.136 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.706e-06/0.7382, allocations: 8.656 kB / 1.136 GB, free: 8.082 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.179e-05/0.7383, allocations: 33.53 kB / 1.136 GB, free: 8.074 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.126e-06/0.7383, allocations: 9.844 kB / 1.136 GB, free: 8.07 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.424e-06/0.7384, allocations: 22.3 kB / 1.136 GB, free: 8.059 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006227/0.7446, allocations: 2.837 MB / 1.139 GB, free: 7.164 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000518/0.7451, allocations: 322 kB / 1.139 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001758/0.7453, allocations: 23.41 kB / 1.139 GB, free: 6.949 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001263/0.7466, allocations: 177.2 kB / 1.14 GB, free: 6.887 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001302/0.7467, allocations: 71.3 kB / 1.14 GB, free: 6.855 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.972e-05/0.7468, allocations: 37.16 kB / 1.14 GB, free: 6.848 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.0008209/0.7476, allocations: 0.8423 MB / 1.141 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of sort global known variables: time 2.9e-07/0.7476, allocations: 0 / 1.141 GB, free: 6.609 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.0008421/0.7485, allocations: 344 kB / 1.141 GB, free: 6.582 MB / 0.7136 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 17 * Number of states: 6 (heaHigPow.T,heaHigPow.Xi,cooLimPow.T,cooLimPow.Xi,heaCooUnl.T,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 (95): * Single equations (assignments): 89 * 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.007433/0.7559, allocations: 3.826 MB / 1.145 GB, free: 5.008 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.003997/0.7599, allocations: 1.619 MB / 1.146 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of simCode: created event and clocks part: time 4.068e-06/0.76, allocations: 0 / 1.146 GB, free: 4.652 MB / 0.7136 GB Notification: Performance of simCode: created simulation system equations: time 0.001958/0.7619, allocations: 0.8352 MB / 1.147 GB, free: 4.473 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002934/0.7649, allocations: 0.5989 MB / 1.148 GB, free: 4.176 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0224/0.7873, allocations: 13.28 MB / 1.161 GB, free: 6.848 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007018/0.788, allocations: 1.191 MB / 1.162 GB, free: 5.625 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001578/0.7896, allocations: 374.1 kB / 1.162 GB, free: 5.258 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000755/0.7904, allocations: 0.4993 MB / 1.163 GB, free: 4.758 MB / 0.7292 GB Notification: Performance of SimCode: time 5.01e-07/0.7904, allocations: 3.938 kB / 1.163 GB, free: 4.754 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.9769/1.767, allocations: 34.24 MB / 1.196 GB, free: 2.883 MB / 0.7605 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002035/1.768, allocations: 250.7 kB / 1.196 GB, free: 2.633 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.144/4.911, allocations: 0 / 1.196 GB, free: 2.633 MB / 0.7605 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet_fmu --startTime=0 --stopTime=1200 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Interfaces_Examples_PrescribedOutlet.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Interfaces.Examples.PrescribedOutlet.pipe 2>&1)