Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint",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.001585/0.001585, allocations: 99.55 kB / 15.05 MB, free: 1.105 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.001981/0.001981, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.32/2.32, allocations: 223.2 MB / 239.9 MB, free: 5.336 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 4.399/4.399, allocations: 409.2 MB / 0.6838 GB, free: 0.9844 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0005533/0.0005534, allocations: 12 kB / 0.8375 GB, free: 6.547 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.527/1.528, allocations: 146.8 MB / 0.9809 GB, free: 6.297 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint): time 0.005108/1.533, allocations: 2.41 MB / 0.9832 GB, free: 3.875 MB / 0.7325 GB Notification: Performance of NFInst.instExpressions: time 0.257/1.79, allocations: 130.6 MB / 1.111 GB, free: 0.8945 MB / 0.8575 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.000749/1.791, allocations: 7.938 kB / 1.111 GB, free: 0.8867 MB / 0.8575 GB Notification: Performance of NFTyping.typeComponents: time 0.002912/1.794, allocations: 0.6427 MB / 1.111 GB, free: 248 kB / 0.8575 GB Notification: Performance of NFTyping.typeBindings: time 0.00245/1.796, allocations: 0.4985 MB / 1.112 GB, free: 15.74 MB / 0.8731 GB Notification: Performance of NFTyping.typeClassSections: time 0.002397/1.799, allocations: 458 kB / 1.112 GB, free: 15.29 MB / 0.8731 GB Notification: Performance of NFFlatten.flatten: time 0.002031/1.801, allocations: 0.8919 MB / 1.113 GB, free: 14.41 MB / 0.8731 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0004542/1.801, allocations: 186.6 kB / 1.113 GB, free: 14.21 MB / 0.8731 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000771/1.802, allocations: 386.5 kB / 1.114 GB, free: 13.83 MB / 0.8731 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001245/1.803, allocations: 0.502 MB / 1.114 GB, free: 13.32 MB / 0.8731 GB Notification: Performance of NFPackage.collectConstants: time 0.0001264/1.804, allocations: 36 kB / 1.114 GB, free: 13.29 MB / 0.8731 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002995/1.807, allocations: 0.8035 MB / 1.115 GB, free: 12.48 MB / 0.8731 GB Notification: Performance of NFScalarize.scalarize: time 0.0004372/1.807, allocations: 255 kB / 1.115 GB, free: 12.23 MB / 0.8731 GB Notification: Performance of NFVerifyModel.verify: time 0.0004178/1.807, allocations: 285 kB / 1.116 GB, free: 11.95 MB / 0.8731 GB Notification: Performance of NFConvertDAE.convert: time 0.003163/1.811, allocations: 1.874 MB / 1.117 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of FrontEnd - DAE generated: time 5.65e-06/1.811, allocations: 0 / 1.117 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of FrontEnd: time 5.059e-06/1.811, allocations: 0 / 1.117 GB, free: 10.07 MB / 0.8731 GB Notification: Performance of Transformations before backend: time 6.906e-05/1.811, allocations: 0 / 1.117 GB, free: 10.07 MB / 0.8731 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.005723/1.817, allocations: 1.813 MB / 1.119 GB, free: 8.195 MB / 0.8731 GB Notification: Performance of prepare preOptimizeDAE: time 8.067e-05/1.817, allocations: 8.031 kB / 1.119 GB, free: 8.188 MB / 0.8731 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001142/1.817, allocations: 54.55 kB / 1.119 GB, free: 8.125 MB / 0.8731 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02282/1.84, allocations: 2.187 MB / 1.121 GB, free: 5.934 MB / 0.8731 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003841/1.843, allocations: 1.036 MB / 1.122 GB, free: 4.852 MB / 0.8731 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.57e-05/1.844, allocations: 20 kB / 1.122 GB, free: 4.832 MB / 0.8731 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001586/1.844, allocations: 23.98 kB / 1.122 GB, free: 4.809 MB / 0.8731 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.007599/1.851, allocations: 1.221 MB / 1.124 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.783e-05/1.851, allocations: 0 / 1.124 GB, free: 3.574 MB / 0.8731 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.649e-05/1.852, allocations: 4 kB / 1.124 GB, free: 3.57 MB / 0.8731 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.128e-05/1.852, allocations: 8 kB / 1.124 GB, free: 3.562 MB / 0.8731 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0163/1.868, allocations: 2.064 MB / 1.126 GB, free: 1.496 MB / 0.8731 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01499/1.883, allocations: 3.291 MB / 1.129 GB, free: 14.05 MB / 0.8887 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01503/1.898, allocations: 2.176 MB / 1.131 GB, free: 11.86 MB / 0.8887 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000964/1.899, allocations: 445.5 kB / 1.131 GB, free: 11.34 MB / 0.8887 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007506/1.907, allocations: 1.176 MB / 1.133 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of pre-optimization done (n=23): time 7.814e-06/1.907, allocations: 0 / 1.133 GB, free: 10.14 MB / 0.8887 GB Notification: Performance of matching and sorting (n=23): time 0.02292/1.93, allocations: 3.392 MB / 1.136 GB, free: 6.715 MB / 0.8887 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001099/1.93, allocations: 106.8 kB / 1.136 GB, free: 6.586 MB / 0.8887 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005258/1.935, allocations: 2.078 MB / 1.138 GB, free: 4.504 MB / 0.8887 GB Notification: Performance of collectPreVariables (initialization): time 0.0003055/1.935, allocations: 37.7 kB / 1.138 GB, free: 4.461 MB / 0.8887 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008713/1.936, allocations: 0.5978 MB / 1.139 GB, free: 3.859 MB / 0.8887 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001716/1.937, allocations: 66.95 kB / 1.139 GB, free: 3.793 MB / 0.8887 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.841e-05/1.937, allocations: 4 kB / 1.139 GB, free: 3.789 MB / 0.8887 GB Notification: Performance of setup shared object (initialization): time 0.0001597/1.937, allocations: 329.9 kB / 1.139 GB, free: 3.461 MB / 0.8887 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.007181/1.944, allocations: 1.167 MB / 1.14 GB, free: 2.289 MB / 0.8887 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.007389/1.951, allocations: 1.21 MB / 1.141 GB, free: 1.074 MB / 0.8887 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.006976/1.958, allocations: 1.091 MB / 1.142 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.241e-05/1.959, allocations: 0 / 1.142 GB, free: 15.98 MB / 0.9044 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.01755/1.976, allocations: 2.885 MB / 1.145 GB, free: 13.06 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001676/1.976, allocations: 130.9 kB / 1.145 GB, free: 12.92 MB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.376e-05/1.976, allocations: 4 kB / 1.145 GB, free: 12.91 MB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004647/1.981, allocations: 0.7718 MB / 1.146 GB, free: 12.13 MB / 0.9044 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004713/1.986, allocations: 495.3 kB / 1.147 GB, free: 11.64 MB / 0.9044 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01658/2.002, allocations: 7.546 MB / 1.154 GB, free: 3.551 MB / 0.9044 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005282/2.008, allocations: 467 kB / 1.154 GB, free: 3.094 MB / 0.9044 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003325/2.008, allocations: 35.97 kB / 1.154 GB, free: 3.059 MB / 0.9044 GB Notification: Performance of prepare postOptimizeDAE: time 2.094e-05/2.008, allocations: 4 kB / 1.154 GB, free: 3.055 MB / 0.9044 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01579/2.024, allocations: 2.611 MB / 1.157 GB, free: 436 kB / 0.9044 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.347e-06/2.024, allocations: 0 / 1.157 GB, free: 436 kB / 0.9044 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002892/2.027, allocations: 0.6043 MB / 1.158 GB, free: 15.81 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004805/2.032, allocations: 0.4915 MB / 1.158 GB, free: 15.32 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008749/2.041, allocations: 6.245 MB / 1.164 GB, free: 8.543 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005725/2.046, allocations: 455.1 kB / 1.165 GB, free: 8.098 MB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0004137/2.047, allocations: 35.97 kB / 1.165 GB, free: 8.062 MB / 0.92 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,$PRE.speRat.nextEvent,speRat.nextEvent,speRat.nextEventScaled,$PRE.deaBan.y,deaBan.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (36): * Single equations (assignments): 31 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.002366/2.049, allocations: 0.6837 MB / 1.165 GB, free: 7.363 MB / 0.92 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.001042/2.05, allocations: 146.2 kB / 1.165 GB, free: 7.219 MB / 0.92 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01737/2.068, allocations: 2.337 MB / 1.168 GB, free: 4.867 MB / 0.92 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.747e-05/2.068, allocations: 4 kB / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.082e-06/2.068, allocations: 0 / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.938e-05/2.068, allocations: 0 / 1.168 GB, free: 4.863 MB / 0.92 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003768/2.072, allocations: 1.127 MB / 1.169 GB, free: 3.656 MB / 0.92 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.145e-05/2.072, allocations: 7.891 kB / 1.169 GB, free: 3.648 MB / 0.92 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004694/2.076, allocations: 451.5 kB / 1.169 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.44e-05/2.076, allocations: 0 / 1.169 GB, free: 3.207 MB / 0.92 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001684/2.077, allocations: 19.97 kB / 1.169 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.652e-06/2.077, allocations: 0 / 1.169 GB, free: 3.188 MB / 0.92 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.985e-06/2.077, allocations: 3.938 kB / 1.169 GB, free: 3.184 MB / 0.92 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.01737/2.094, allocations: 2.254 MB / 1.171 GB, free: 0.9023 MB / 0.92 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001696/2.096, allocations: 359.1 kB / 1.172 GB, free: 0.5312 MB / 0.92 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000716/2.097, allocations: 8 kB / 1.172 GB, free: 0.5234 MB / 0.92 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005471/2.102, allocations: 399.5 kB / 1.172 GB, free: 136 kB / 0.92 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0002471/2.102, allocations: 27.95 kB / 1.172 GB, free: 108 kB / 0.92 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0002612/2.103, allocations: 27.98 kB / 1.172 GB, free: 80 kB / 0.92 GB Notification: Performance of sorting global known variables: time 0.00618/2.109, allocations: 1.49 MB / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of sort global known variables: time 1.032e-06/2.109, allocations: 0 / 1.174 GB, free: 14.59 MB / 0.9356 GB Notification: Performance of remove unused functions: time 0.004504/2.114, allocations: 0.5155 MB / 1.174 GB, free: 14.08 MB / 0.9356 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,appDryPt.stage,speRat.a,speRat.b,speRat.last,speRat.nextEvent,speRat.nextEventScaled,deaBan.y) * Number of discrete states: 7 (deaBan.y,speRat.nextEvent,speRat.last,speRat.nextEventScaled,speRat.b,speRat.a,$whenCondition1) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (20): * Single equations (assignments): 19 * Array equations: 0 * Algorithm blocks: 1 * 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 Backend phase and start with SimCode phase: time 0.02048/2.134, allocations: 2.949 MB / 1.177 GB, free: 11.09 MB / 0.9356 GB Notification: Performance of simCode: created initialization part: time 0.03219/2.166, allocations: 4.981 MB / 1.182 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of simCode: created event and clocks part: time 1.289e-05/2.166, allocations: 0 / 1.182 GB, free: 5.98 MB / 0.9356 GB Notification: Performance of simCode: created simulation system equations: time 0.009063/2.175, allocations: 1.154 MB / 1.183 GB, free: 4.812 MB / 0.9356 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.004425/2.18, allocations: 332.1 kB / 1.183 GB, free: 4.488 MB / 0.9356 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03336/2.213, allocations: 5.451 MB / 1.189 GB, free: 14.98 MB / 0.9512 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001931/2.215, allocations: 1.449 MB / 1.19 GB, free: 13.51 MB / 0.9512 GB Notification: Performance of simCode: alias equations: time 0.002864/2.218, allocations: 273 kB / 1.19 GB, free: 13.24 MB / 0.9512 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001376/2.22, allocations: 439.2 kB / 1.191 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of SimCode: time 1.473e-06/2.22, allocations: 0 / 1.191 GB, free: 12.81 MB / 0.9512 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1021/2.322, allocations: 36.98 MB / 1.227 GB, free: 8.289 MB / 0.9825 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003427/2.322, allocations: 251.1 kB / 1.227 GB, free: 8.039 MB / 0.9825 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.881/7.203, allocations: 0 / 1.227 GB, free: 8.039 MB / 0.9825 GB (rm -f Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_DXSystems_Cooling_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_latest_Buildings.Fluid.DXSystems.Cooling.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) Environment - environmentSimulation: