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.ApparatusDewPoint.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.ApparatusDewPoint,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint",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.648/1.648, allocations: 252 MB / 267.3 MB, free: 10.85 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.001032/0.001033, allocations: 171.1 kB / 327 MB, free: 2.094 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.575/1.575, allocations: 205.4 MB / 0.578 GB, free: 20.11 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.0007358/0.0007358, allocations: 87.38 kB / 0.6826 GB, free: 12.77 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003191/0.0003193, allocations: 11.97 kB / 0.7971 GB, free: 135.2 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.177/0.1774, allocations: 106.3 MB / 0.9009 GB, free: 63.38 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint): time 0.0027/0.1801, allocations: 2.533 MB / 0.9034 GB, free: 60.83 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.148/0.3281, allocations: 150.8 MB / 1.051 GB, free: 5.488 MB / 0.698 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0004818/0.3287, allocations: 8 kB / 1.051 GB, free: 5.48 MB / 0.698 GB Notification: Performance of NFTyping.typeComponents: time 0.001523/0.3302, allocations: 498 kB / 1.051 GB, free: 4.992 MB / 0.698 GB Notification: Performance of NFTyping.typeBindings: time 0.00173/0.332, allocations: 0.5951 MB / 1.052 GB, free: 4.395 MB / 0.698 GB Notification: Performance of NFTyping.typeClassSections: time 0.001695/0.3337, allocations: 0.5688 MB / 1.052 GB, free: 3.824 MB / 0.698 GB Notification: Performance of NFFlatten.flatten: time 0.001326/0.335, allocations: 1.226 MB / 1.053 GB, free: 2.598 MB / 0.698 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0002975/0.3353, allocations: 186.4 kB / 1.054 GB, free: 2.398 MB / 0.698 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0004929/0.3358, allocations: 414.2 kB / 1.054 GB, free: 1.992 MB / 0.698 GB Notification: Performance of NFSimplifyModel.simplify: time 0.000852/0.3367, allocations: 0.568 MB / 1.055 GB, free: 1.422 MB / 0.698 GB Notification: Performance of NFPackage.collectConstants: time 0.0001233/0.3368, allocations: 56 kB / 1.055 GB, free: 1.367 MB / 0.698 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002325/0.3391, allocations: 1.255 MB / 1.056 GB, free: 112 kB / 0.698 GB Notification: Performance of NFScalarize.scalarize: time 0.4431/0.7823, allocations: 321 kB / 1.056 GB, free: 4.008 MB / 0.698 GB Notification: Performance of NFVerifyModel.verify: time 0.001101/0.7834, allocations: 0.637 MB / 1.057 GB, free: 3.977 MB / 0.698 GB Notification: Performance of NFConvertDAE.convert: time 0.004363/0.7878, allocations: 2.67 MB / 1.059 GB, free: 3.926 MB / 0.698 GB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.7878, allocations: 0 / 1.059 GB, free: 3.926 MB / 0.698 GB Notification: Performance of FrontEnd: time 2.224e-06/0.7879, allocations: 0 / 1.059 GB, free: 3.926 MB / 0.698 GB Notification: Performance of Transformations before backend: time 3.191e-05/0.7879, allocations: 1.859 kB / 1.059 GB, free: 3.926 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: 31 * Number of variables: 31 Notification: Performance of Generate backend data structure: time 0.003553/0.7915, allocations: 1.812 MB / 1.061 GB, free: 2.945 MB / 0.698 GB Notification: Performance of prepare preOptimizeDAE: time 4.886e-05/0.7915, allocations: 14.62 kB / 1.061 GB, free: 2.945 MB / 0.698 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.685e-05/0.7916, allocations: 43.41 kB / 1.061 GB, free: 2.906 MB / 0.698 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01814/0.8097, allocations: 2.295 MB / 1.063 GB, free: 2.73 MB / 0.698 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003546/0.8133, allocations: 1.387 MB / 1.065 GB, free: 2.301 MB / 0.698 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.112e-05/0.8134, allocations: 17.83 kB / 1.065 GB, free: 2.301 MB / 0.698 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.982e-05/0.8135, allocations: 21.94 kB / 1.065 GB, free: 2.301 MB / 0.698 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00604/0.8196, allocations: 1.257 MB / 1.066 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.465e-05/0.8196, allocations: 0.7812 kB / 1.066 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.391e-05/0.8197, allocations: 4.656 kB / 1.066 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.018e-05/0.8197, allocations: 5.078 kB / 1.066 GB, free: 2.199 MB / 0.698 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01053/0.8302, allocations: 2.091 MB / 1.068 GB, free: 2.105 MB / 0.698 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01204/0.8423, allocations: 3.332 MB / 1.071 GB, free: 1.617 MB / 0.698 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01363/0.856, allocations: 2.773 MB / 1.074 GB, free: 1.445 MB / 0.698 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.005044/0.8611, allocations: 1.072 MB / 1.075 GB, free: 1.379 MB / 0.698 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007092/0.8618, allocations: 451.8 kB / 1.076 GB, free: 16.91 MB / 0.7136 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.005385/0.8672, allocations: 1.227 MB / 1.077 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of pre-optimization done (n=21): time 2.584e-06/0.8673, allocations: 0 / 1.077 GB, free: 16.77 MB / 0.7136 GB Notification: Performance of matching and sorting (n=21): time 0.03433/0.9016, allocations: 4.805 MB / 1.081 GB, free: 16.27 MB / 0.7136 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001023/0.9017, allocations: 137.9 kB / 1.082 GB, free: 16.11 MB / 0.7136 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003913/0.9057, allocations: 2.411 MB / 1.084 GB, free: 15.94 MB / 0.7136 GB Notification: Performance of collectPreVariables (initialization): time 0.0003017/0.906, allocations: 36.83 kB / 1.084 GB, free: 15.91 MB / 0.7136 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005122/0.9065, allocations: 0.5503 MB / 1.085 GB, free: 15.8 MB / 0.7136 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001118/0.9066, allocations: 58.72 kB / 1.085 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.103e-05/0.9067, allocations: 8.062 kB / 1.085 GB, free: 15.77 MB / 0.7136 GB Notification: Performance of setup shared object (initialization): time 0.0001317/0.9068, allocations: 325.9 kB / 1.085 GB, free: 15.46 MB / 0.7136 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005218/0.9121, allocations: 1.218 MB / 1.086 GB, free: 15.41 MB / 0.7136 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005066/0.9171, allocations: 1.257 MB / 1.087 GB, free: 15.34 MB / 0.7136 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.009422/0.9266, allocations: 2.118 MB / 1.089 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.069e-06/0.9266, allocations: 0 / 1.089 GB, free: 15.17 MB / 0.7136 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.03666/0.9633, allocations: 4.165 MB / 1.093 GB, free: 14.77 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001623/0.9635, allocations: 144.3 kB / 1.094 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.529e-05/0.9635, allocations: 1.172 kB / 1.094 GB, free: 14.63 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006303/0.9699, allocations: 0.9735 MB / 1.095 GB, free: 14.54 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003985/0.9739, allocations: 435.7 kB / 1.095 GB, free: 14.45 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01452/0.9884, allocations: 8.083 MB / 1.103 GB, free: 7.965 MB / 0.7136 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005909/0.9944, allocations: 485.2 kB / 1.103 GB, free: 7.77 MB / 0.7136 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003916/0.9948, allocations: 35.61 kB / 1.103 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of prepare postOptimizeDAE: time 1.784e-05/0.9949, allocations: 4.156 kB / 1.103 GB, free: 7.758 MB / 0.7136 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.03896/1.034, allocations: 3.856 MB / 1.107 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.401e-05/1.034, allocations: 3 kB / 1.107 GB, free: 6.434 MB / 0.7136 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004529/1.038, allocations: 0.7965 MB / 1.108 GB, free: 6.086 MB / 0.7136 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.004246/1.043, allocations: 437.4 kB / 1.108 GB, free: 5.93 MB / 0.7136 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.009759/1.053, allocations: 6.844 MB / 1.115 GB, free: 15.91 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005787/1.058, allocations: 473.2 kB / 1.115 GB, free: 15.72 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000282/1.059, allocations: 38.42 kB / 1.115 GB, free: 15.71 MB / 0.7292 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition1,adp.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 (34): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 5 * 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): 5 systems {(1,1), (1,2), (1,2), (1,2), (1,2)} Notification: Performance of prepare postOptimizeDAE: time 0.001778/1.06, allocations: 0.6602 MB / 1.116 GB, free: 15.39 MB / 0.7292 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005974/1.061, allocations: 141.2 kB / 1.116 GB, free: 15.32 MB / 0.7292 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.03925/1.1, allocations: 3.528 MB / 1.12 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.517e-05/1.1, allocations: 0 / 1.12 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.344e-06/1.1, allocations: 6.875 kB / 1.12 GB, free: 14 MB / 0.7292 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.247e-05/1.1, allocations: 3.984 kB / 1.12 GB, free: 13.99 MB / 0.7292 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002564/1.103, allocations: 1.102 MB / 1.121 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.26e-06/1.103, allocations: 2.812 kB / 1.121 GB, free: 13.43 MB / 0.7292 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.004005/1.107, allocations: 396.9 kB / 1.121 GB, free: 13.28 MB / 0.7292 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001068/1.108, allocations: 168.6 kB / 1.121 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.000159/1.108, allocations: 20.61 kB / 1.121 GB, free: 13.2 MB / 0.7292 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001592/1.11, allocations: 0.6565 MB / 1.122 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/1.11, allocations: 3.125 kB / 1.122 GB, free: 12.62 MB / 0.7292 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.04075/1.151, allocations: 3.479 MB / 1.125 GB, free: 11.3 MB / 0.7292 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001635/1.152, allocations: 430.2 kB / 1.126 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005145/1.153, allocations: 9.906 kB / 1.126 GB, free: 11.07 MB / 0.7292 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005181/1.158, allocations: 418.7 kB / 1.126 GB, free: 10.92 MB / 0.7292 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.000156/1.158, allocations: 21.25 kB / 1.126 GB, free: 10.91 MB / 0.7292 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001657/1.159, allocations: 32.3 kB / 1.126 GB, free: 10.9 MB / 0.7292 GB Notification: Performance of sorting global known variables: time 0.004816/1.163, allocations: 1.723 MB / 1.128 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of sort global known variables: time 5.21e-07/1.163, allocations: 0 / 1.128 GB, free: 10.47 MB / 0.7292 GB Notification: Performance of remove unused functions: time 0.003415/1.167, allocations: 0.5471 MB / 1.128 GB, free: 10.45 MB / 0.7292 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,adp.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 (16): * Single equations (assignments): 14 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of Backend phase and start with SimCode phase: time 0.01727/1.184, allocations: 3.067 MB / 1.131 GB, free: 9.012 MB / 0.7292 GB Notification: Performance of simCode: created initialization part: time 0.02966/1.214, allocations: 5.145 MB / 1.137 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of simCode: created event and clocks part: time 9.538e-06/1.214, allocations: 0 / 1.137 GB, free: 5.129 MB / 0.7292 GB Notification: Performance of simCode: created simulation system equations: time 0.008331/1.222, allocations: 1.188 MB / 1.138 GB, free: 4.066 MB / 0.7292 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003073/1.225, allocations: 320.6 kB / 1.138 GB, free: 3.82 MB / 0.7292 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1344/1.36, allocations: 26.27 MB / 1.164 GB, free: 13.31 MB / 0.7605 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001082/1.361, allocations: 1.389 MB / 1.165 GB, free: 12.05 MB / 0.7605 GB Notification: Performance of simCode: alias equations: time 0.001998/1.363, allocations: 382.7 kB / 1.165 GB, free: 11.67 MB / 0.7605 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008388/1.364, allocations: 428.5 kB / 1.166 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of SimCode: time 7.71e-07/1.364, allocations: 0 / 1.166 GB, free: 11.55 MB / 0.7605 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07605/1.44, allocations: 45.66 MB / 1.21 GB, free: 14.38 MB / 0.8073 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002993/1.44, allocations: 283.4 kB / 1.211 GB, free: 13.99 MB / 0.8073 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.232/4.672, allocations: 0 / 1.211 GB, free: 13.99 MB / 0.8073 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1)