Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.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.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",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.335/1.335, allocations: 251.5 MB / 266.7 MB, free: 11.06 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.0009819/0.0009819, allocations: 184.4 kB / 325.9 MB, free: 2.699 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.489/1.489, allocations: 205 MB / 0.576 GB, free: 20.99 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.00078/0.00078, allocations: 80.86 kB / 0.6797 GB, free: 14.72 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.000364/0.000364, allocations: 12.38 kB / 0.7933 GB, free: 136.6 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2051/0.2055, allocations: 105.4 MB / 0.8962 GB, free: 68.09 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint): time 0.002938/0.2085, allocations: 2.558 MB / 0.8987 GB, free: 65.52 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.1552/0.3637, allocations: 152.3 MB / 1.047 GB, free: 8.59 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004532/0.3642, allocations: 0 / 1.047 GB, free: 8.59 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001658/0.3658, allocations: 0.5017 MB / 1.048 GB, free: 8.086 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.001775/0.3676, allocations: 0.5912 MB / 1.049 GB, free: 7.492 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001719/0.3694, allocations: 0.5591 MB / 1.049 GB, free: 6.934 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001405/0.3708, allocations: 1.244 MB / 1.05 GB, free: 5.688 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003/0.3711, allocations: 182.4 kB / 1.051 GB, free: 5.492 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.000662/0.3718, allocations: 418.2 kB / 1.051 GB, free: 5.082 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001063/0.3729, allocations: 0.568 MB / 1.051 GB, free: 4.512 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0002242/0.3731, allocations: 64 kB / 1.052 GB, free: 4.449 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002233/0.3753, allocations: 1.247 MB / 1.053 GB, free: 3.199 MB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.0003326/0.3757, allocations: 334.9 kB / 1.053 GB, free: 2.871 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.0006947/0.3764, allocations: 0.6098 MB / 1.054 GB, free: 2.258 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.4191/0.7955, allocations: 2.656 MB / 1.056 GB, free: 5.477 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 8.386e-06/0.7955, allocations: 0.6875 kB / 1.056 GB, free: 5.477 MB / 0.698 GB Notification: Performance of FrontEnd: time 4.939e-06/0.7955, allocations: 0 / 1.056 GB, free: 5.477 MB / 0.698 GB Notification: Performance of Transformations before backend: time 8.943e-05/0.7956, allocations: 0 / 1.056 GB, free: 5.477 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.004237/0.7999, allocations: 1.816 MB / 1.058 GB, free: 4.559 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 5.453e-05/0.8, allocations: 11.69 kB / 1.058 GB, free: 4.559 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.41e-05/0.8, allocations: 50.89 kB / 1.058 GB, free: 4.52 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01561/0.8156, allocations: 2.183 MB / 1.06 GB, free: 4.355 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002393/0.8181, allocations: 1.371 MB / 1.062 GB, free: 3.934 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.237e-05/0.8181, allocations: 14.16 kB / 1.062 GB, free: 3.934 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.628e-05/0.8182, allocations: 29.66 kB / 1.062 GB, free: 3.93 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.005515/0.8237, allocations: 1.216 MB / 1.063 GB, free: 3.84 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.377e-06/0.8237, allocations: 0 / 1.063 GB, free: 3.84 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.199e-05/0.8238, allocations: 5.797 kB / 1.063 GB, free: 3.84 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.152e-05/0.8238, allocations: 3.188 kB / 1.063 GB, free: 3.84 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01022/0.834, allocations: 2.068 MB / 1.065 GB, free: 3.75 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01033/0.8444, allocations: 3.651 MB / 1.068 GB, free: 2.863 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00974/0.8542, allocations: 2.171 MB / 1.07 GB, free: 2.746 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.004666/0.8589, allocations: 1.047 MB / 1.072 GB, free: 2.691 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006092/0.8595, allocations: 0.5229 MB / 1.072 GB, free: 2.129 MB / 0.698 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004836/0.8643, allocations: 1.179 MB / 1.073 GB, free: 2 MB / 0.698 GB Notification: Performance of pre-optimization done (n=23): time 2.685e-06/0.8644, allocations: 0 / 1.073 GB, free: 2 MB / 0.698 GB Notification: Performance of matching and sorting (n=23): time 0.01527/0.8796, allocations: 3.303 MB / 1.076 GB, free: 1.727 MB / 0.698 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.732e-05/0.8797, allocations: 107.9 kB / 1.077 GB, free: 1.602 MB / 0.698 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003517/0.8832, allocations: 2.409 MB / 1.079 GB, free: 1.43 MB / 0.698 GB Notification: Performance of collectPreVariables (initialization): time 0.0002062/0.8835, allocations: 34.14 kB / 1.079 GB, free: 1.398 MB / 0.698 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005448/0.884, allocations: 0.5519 MB / 1.079 GB, free: 1.305 MB / 0.698 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001048/0.8841, allocations: 71.89 kB / 1.079 GB, free: 1.262 MB / 0.698 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001265/0.8843, allocations: 49.12 kB / 1.08 GB, free: 1.246 MB / 0.698 GB Notification: Performance of setup shared object (initialization): time 0.000142/0.8844, allocations: 326.4 kB / 1.08 GB, free: 16.94 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.004864/0.8893, allocations: 1.182 MB / 1.081 GB, free: 16.89 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.004853/0.8942, allocations: 1.216 MB / 1.082 GB, free: 16.83 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00921/0.9034, allocations: 2.05 MB / 1.084 GB, free: 16.67 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.183e-06/0.9034, allocations: 0 / 1.084 GB, free: 16.67 MB / 0.7136 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.0118/0.9152, allocations: 2.925 MB / 1.087 GB, free: 16.39 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001076/0.9154, allocations: 133 kB / 1.087 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.676e-06/0.9154, allocations: 1 kB / 1.087 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00351/0.9189, allocations: 0.8159 MB / 1.088 GB, free: 16.19 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003187/0.9221, allocations: 496 kB / 1.088 GB, free: 16.17 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.008337/0.9305, allocations: 7.444 MB / 1.096 GB, free: 10.97 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003791/0.9343, allocations: 462.4 kB / 1.096 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001495/0.9345, allocations: 31.03 kB / 1.096 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 8.385e-06/0.9345, allocations: 5.312 kB / 1.096 GB, free: 10.93 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.01046/0.9449, allocations: 2.614 MB / 1.099 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.968e-06/0.945, allocations: 0 / 1.099 GB, free: 10.76 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002388/0.9474, allocations: 0.6273 MB / 1.099 GB, free: 10.7 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00338/0.9508, allocations: 0.4919 MB / 1.1 GB, free: 10.67 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005482/0.9562, allocations: 6.201 MB / 1.106 GB, free: 5.609 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003537/0.9598, allocations: 446.4 kB / 1.106 GB, free: 5.574 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001034/0.9599, allocations: 32.94 kB / 1.106 GB, free: 5.574 MB / 0.7136 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 (deaBan.y,$PRE.deaBan.y,speRat.nextEventScaled,speRat.nextEvent,$PRE.speRat.nextEvent,speRat.last,speRat.b,speRat.a,appDryPt.stage,$whenCondition1) * 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 (not torn): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 4 systems {(1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001029/0.961, allocations: 0.6648 MB / 1.107 GB, free: 5.355 MB / 0.7136 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002801/0.9612, allocations: 145.5 kB / 1.107 GB, free: 5.277 MB / 0.7136 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0099/0.9712, allocations: 2.331 MB / 1.109 GB, free: 4.883 MB / 0.7136 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.604e-06/0.9712, allocations: 3.938 kB / 1.109 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.419e-06/0.9712, allocations: 3.156 kB / 1.109 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.29e-06/0.9712, allocations: 3.844 kB / 1.109 GB, free: 4.879 MB / 0.7136 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001596/0.9728, allocations: 1.226 MB / 1.111 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.794e-06/0.9728, allocations: 0 / 1.111 GB, free: 4.195 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002668/0.9755, allocations: 446.2 kB / 1.111 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.178e-06/0.9755, allocations: 0 / 1.111 GB, free: 4.039 MB / 0.7136 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.015e-05/0.9756, allocations: 20 kB / 1.111 GB, free: 4.031 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.9756, allocations: 3.938 kB / 1.111 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.9756, allocations: 2.906 kB / 1.111 GB, free: 4.027 MB / 0.7136 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009601/0.9852, allocations: 2.25 MB / 1.113 GB, free: 3.223 MB / 0.7136 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007751/0.986, allocations: 428.4 kB / 1.114 GB, free: 2.996 MB / 0.7136 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002094/0.9862, allocations: 12.69 kB / 1.114 GB, free: 2.992 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002741/0.989, allocations: 393 kB / 1.114 GB, free: 2.848 MB / 0.7136 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.952e-05/0.9891, allocations: 24.34 kB / 1.114 GB, free: 2.836 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.526e-05/0.9891, allocations: 29.34 kB / 1.114 GB, free: 2.828 MB / 0.7136 GB Notification: Performance of sorting global known variables: time 0.002339/0.9915, allocations: 1.72 MB / 1.116 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of sort global known variables: time 1.9e-07/0.9915, allocations: 0 / 1.116 GB, free: 2.406 MB / 0.7136 GB Notification: Performance of remove unused functions: time 0.001559/0.9931, allocations: 0.5388 MB / 1.116 GB, free: 2.383 MB / 0.7136 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 (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.01028/1.003, allocations: 2.941 MB / 1.119 GB, free: 1.012 MB / 0.7136 GB Notification: Performance of simCode: created initialization part: time 0.01661/1.02, allocations: 4.975 MB / 1.124 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 4.168e-06/1.02, allocations: 0 / 1.124 GB, free: 14.77 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.004595/1.025, allocations: 1.146 MB / 1.125 GB, free: 14.37 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002066/1.027, allocations: 313.4 kB / 1.125 GB, free: 14.28 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.07705/1.104, allocations: 23.96 MB / 1.149 GB, free: 12.68 MB / 0.7448 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001128/1.105, allocations: 1.39 MB / 1.15 GB, free: 11.42 MB / 0.7448 GB Notification: Performance of simCode: alias equations: time 0.001865/1.107, allocations: 386.7 kB / 1.151 GB, free: 11.04 MB / 0.7448 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008263/1.108, allocations: 427.8 kB / 1.151 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of SimCode: time 1.653e-06/1.108, allocations: 0 / 1.151 GB, free: 10.93 MB / 0.7448 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1447/1.252, allocations: 40.49 MB / 1.191 GB, free: 2.902 MB / 0.7761 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002382/1.253, allocations: 276.3 kB / 1.191 GB, free: 2.523 MB / 0.7761 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.276/4.529, allocations: 0 / 1.191 GB, free: 2.523 MB / 0.7761 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)