Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/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 8.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.0.0/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_8_0_0_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 8.0.0/package.mo): time 2.566/2.566, allocations: 284.9 MB / 292.4 MB, free: 10.54 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001407/0.001407, allocations: 188 kB / 360.6 MB, free: 7.281 MB / 298.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.183/2.183, allocations: 205.3 MB / 0.6191 GB, free: 12.2 MB / 474.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001045/0.001045, allocations: 85.22 kB / 0.7321 GB, free: 44.73 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 4.246e-05/4.247e-05, allocations: 8 kB / 0.8509 GB, free: 3.32 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8411/0.8412, allocations: 115.3 MB / 0.9634 GB, free: 78.58 MB / 0.6667 GB Notification: Performance of FrontEnd - scodeFlatten: time 6.044/6.885, allocations: 2.066 GB / 3.029 GB, free: 51.89 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003888/6.886, allocations: 94.53 kB / 3.029 GB, free: 51.84 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.027/7.913, allocations: 92.3 MB / 3.12 GB, free: 322.7 MB / 0.948 GB Notification: Performance of FrontEnd: time 3.887e-06/7.913, allocations: 0.9375 kB / 3.12 GB, free: 322.7 MB / 0.948 GB Notification: Performance of Transformations before backend: time 0.0001233/7.913, allocations: 17.06 kB / 3.12 GB, free: 322.7 MB / 0.948 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.004818/7.918, allocations: 1.399 MB / 3.121 GB, free: 321.8 MB / 0.948 GB Notification: Performance of prepare preOptimizeDAE: time 6.114e-05/7.918, allocations: 9.031 kB / 3.121 GB, free: 321.8 MB / 0.948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02609/7.944, allocations: 2.083 MB / 3.123 GB, free: 321.6 MB / 0.948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005117/7.949, allocations: 1.296 MB / 3.124 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.692e-05/7.949, allocations: 3.188 kB / 3.124 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001869/7.949, allocations: 13.34 kB / 3.124 GB, free: 320.9 MB / 0.948 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001624/7.951, allocations: 0.5875 MB / 3.125 GB, free: 320.7 MB / 0.948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001229/7.952, allocations: 489.7 kB / 3.125 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.189e-05/7.952, allocations: 0 / 3.125 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.28e-05/7.952, allocations: 0.9688 kB / 3.125 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.268e-06/7.952, allocations: 3.125 kB / 3.125 GB, free: 320.5 MB / 0.948 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01801/7.97, allocations: 3.602 MB / 3.129 GB, free: 319 MB / 0.948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002981/7.973, allocations: 0.7294 MB / 3.13 GB, free: 318.7 MB / 0.948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008861/7.974, allocations: 319.2 kB / 3.13 GB, free: 318.6 MB / 0.948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003128/7.975, allocations: 106 kB / 3.13 GB, free: 318.5 MB / 0.948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001007/7.976, allocations: 447.7 kB / 3.13 GB, free: 318.3 MB / 0.948 GB Notification: Performance of pre-optimization done (n=23): time 2.996e-06/7.976, allocations: 0 / 3.13 GB, free: 318.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=23): time 0.008026/7.984, allocations: 1.184 MB / 3.132 GB, free: 318 MB / 0.948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.99e-05/7.984, allocations: 109.8 kB / 3.132 GB, free: 317.8 MB / 0.948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005914/7.99, allocations: 2.084 MB / 3.134 GB, free: 317.1 MB / 0.948 GB Notification: Performance of collectPreVariables (initialization): time 0.0003474/7.99, allocations: 28.2 kB / 3.134 GB, free: 317 MB / 0.948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0009489/7.991, allocations: 0.5476 MB / 3.134 GB, free: 316.6 MB / 0.948 GB Notification: Performance of collectInitialBindings (initialization): time 0.000221/7.991, allocations: 66.61 kB / 3.134 GB, free: 316.6 MB / 0.948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001053/7.992, allocations: 1.25 kB / 3.134 GB, free: 316.6 MB / 0.948 GB Notification: Performance of setup shared object (initialization): time 8.164e-05/7.992, allocations: 319.1 kB / 3.135 GB, free: 316.3 MB / 0.948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001178/7.993, allocations: 447.8 kB / 3.135 GB, free: 316.1 MB / 0.948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/7.994, allocations: 486.4 kB / 3.136 GB, free: 315.9 MB / 0.948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.04578/8.04, allocations: 9.726 MB / 3.145 GB, free: 315.3 MB / 0.948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.145e-05/8.04, allocations: 0 / 3.145 GB, free: 315.3 MB / 0.948 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.04975/8.09, allocations: 10.72 MB / 3.155 GB, free: 311.5 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001073/8.09, allocations: 136.1 kB / 3.156 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.057e-05/8.09, allocations: 4 kB / 3.156 GB, free: 311.4 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004802/8.095, allocations: 0.7028 MB / 3.156 GB, free: 311 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005837/8.101, allocations: 495.2 kB / 3.157 GB, free: 310.8 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003236/8.104, allocations: 2.734 MB / 3.159 GB, free: 308.4 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.006212/8.11, allocations: 453.4 kB / 3.16 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003388/8.111, allocations: 34.66 kB / 3.16 GB, free: 308.2 MB / 0.948 GB Notification: Performance of prepare postOptimizeDAE: time 1.641e-05/8.111, allocations: 6.062 kB / 3.16 GB, free: 308.2 MB / 0.948 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.04707/8.158, allocations: 10.46 MB / 3.17 GB, free: 301.1 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.045e-06/8.158, allocations: 4.812 kB / 3.17 GB, free: 301.1 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003358/8.161, allocations: 0.6388 MB / 3.171 GB, free: 300.4 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.005762/8.167, allocations: 496.8 kB / 3.171 GB, free: 300 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006096/8.173, allocations: 5.946 MB / 3.177 GB, free: 293.6 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.005984/8.179, allocations: 447.3 kB / 3.177 GB, free: 293.2 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003017/8.179, allocations: 31.97 kB / 3.178 GB, free: 293.1 MB / 0.948 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 () * 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.00036/8.18, allocations: 160.3 kB / 3.178 GB, free: 293 MB / 0.948 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.006065/8.186, allocations: 1.105 MB / 3.179 GB, free: 291.8 MB / 0.948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0009168/8.187, allocations: 134.3 kB / 3.179 GB, free: 291.7 MB / 0.948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.007349/8.194, allocations: 0.9709 MB / 3.18 GB, free: 290.7 MB / 0.948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.486e-05/8.194, allocations: 7.953 kB / 3.18 GB, free: 290.7 MB / 0.948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.829e-06/8.194, allocations: 0 / 3.18 GB, free: 290.7 MB / 0.948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.168e-05/8.194, allocations: 3.984 kB / 3.18 GB, free: 290.7 MB / 0.948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003483/8.198, allocations: 1.193 MB / 3.181 GB, free: 289.5 MB / 0.948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.737e-06/8.198, allocations: 0 / 3.181 GB, free: 289.5 MB / 0.948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.006884/8.205, allocations: 451 kB / 3.181 GB, free: 289 MB / 0.948 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.331e-05/8.205, allocations: 0 / 3.181 GB, free: 289 MB / 0.948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001698/8.205, allocations: 19.97 kB / 3.181 GB, free: 289 MB / 0.948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.972e-06/8.205, allocations: 3.953 kB / 3.181 GB, free: 289 MB / 0.948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.949e-06/8.205, allocations: 0 / 3.181 GB, free: 289 MB / 0.948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003947/8.209, allocations: 0.8863 MB / 3.182 GB, free: 288.1 MB / 0.948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001469/8.211, allocations: 427 kB / 3.183 GB, free: 287.7 MB / 0.948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005898/8.211, allocations: 7.938 kB / 3.183 GB, free: 287.7 MB / 0.948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.005602/8.217, allocations: 399.5 kB / 3.183 GB, free: 287.3 MB / 0.948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001853/8.217, allocations: 19.95 kB / 3.183 GB, free: 287.3 MB / 0.948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001825/8.217, allocations: 31.97 kB / 3.183 GB, free: 287.2 MB / 0.948 GB Notification: Performance of sorting global known variables: time 0.003904/8.221, allocations: 1.589 MB / 3.185 GB, free: 285.6 MB / 0.948 GB Notification: Performance of sort global known variables: time 7.91e-07/8.221, allocations: 1.5 kB / 3.185 GB, free: 285.6 MB / 0.948 GB Notification: Performance of remove unused functions: time 0.003118/8.224, allocations: 0.5544 MB / 3.185 GB, free: 285.1 MB / 0.948 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) * 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.006359/8.231, allocations: 2.411 MB / 3.188 GB, free: 282.8 MB / 0.948 GB Notification: Performance of simCode: created initialization part: time 0.006477/8.237, allocations: 2.326 MB / 3.19 GB, free: 280.4 MB / 0.948 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/8.237, allocations: 0 / 3.19 GB, free: 280.4 MB / 0.948 GB Notification: Performance of simCode: created simulation system equations: time 0.0009299/8.238, allocations: 413.5 kB / 3.19 GB, free: 280 MB / 0.948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00274/8.241, allocations: 313.9 kB / 3.191 GB, free: 279.7 MB / 0.948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02976/8.271, allocations: 4.001 MB / 3.194 GB, free: 275.6 MB / 0.948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001198/8.272, allocations: 1.419 MB / 3.196 GB, free: 274.2 MB / 0.948 GB Notification: Performance of simCode: alias equations: time 0.00622/8.279, allocations: 1.004 MB / 3.197 GB, free: 273.2 MB / 0.948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001331/8.28, allocations: 415.2 kB / 3.197 GB, free: 272.8 MB / 0.948 GB Notification: Performance of SimCode: time 1.503e-06/8.28, allocations: 0 / 3.197 GB, free: 272.8 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1222/8.402, allocations: 42.48 MB / 3.239 GB, free: 230.6 MB / 0.948 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000302/8.402, allocations: 178 kB / 3.239 GB, free: 230.4 MB / 0.948 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.518/12.92, allocations: 0 / 3.239 GB, free: 230.4 MB / 0.948 GB (rm -f Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_0_0_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_8.0.0_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1)