Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001232/0.001232, 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.001365/0.001365, 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 3.2.3+maint.om/package.mo): time 1.787/1.787, allocations: 205.4 MB / 222.1 MB, free: 5.531 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.882/1.882, allocations: 292.6 MB / 0.5497 GB, free: 14.64 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005767/0.0005768, allocations: 14.78 kB / 0.6737 GB, free: 26.07 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2871/0.2877, allocations: 116.3 MB / 0.7872 GB, free: 11.89 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint): time 0.003821/0.2916, allocations: 2.337 MB / 0.7895 GB, free: 9.535 MB / 0.6075 GB Notification: Performance of NFInst.instExpressions: time 0.8869/1.179, allocations: 130.6 MB / 0.9171 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0005218/1.179, allocations: 5.969 kB / 0.9171 GB, free: 6.344 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.002226/1.181, allocations: 0.5857 MB / 0.9176 GB, free: 6.34 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.002023/1.183, allocations: 498.3 kB / 0.9181 GB, free: 6.332 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.002051/1.185, allocations: 479.8 kB / 0.9186 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.001501/1.187, allocations: 0.8466 MB / 0.9194 GB, free: 6.328 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0003535/1.187, allocations: 179 kB / 0.9196 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0008455/1.188, allocations: 378.2 kB / 0.9199 GB, free: 6.27 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0008741/1.189, allocations: 0.4911 MB / 0.9204 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0001218/1.189, allocations: 36.91 kB / 0.9204 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002599/1.192, allocations: 0.8066 MB / 0.9212 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0002988/1.192, allocations: 244.4 kB / 0.9215 GB, free: 6.266 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.0006695/1.193, allocations: 269.8 kB / 0.9217 GB, free: 22.23 MB / 0.7325 GB Notification: Performance of NFConvertDAE.convert: time 0.003682/1.196, allocations: 1.833 MB / 0.9235 GB, free: 22.12 MB / 0.7325 GB Notification: Performance of FrontEnd - DAE generated: time 3.997e-06/1.197, allocations: 0 / 0.9235 GB, free: 22.12 MB / 0.7325 GB Notification: Performance of FrontEnd: time 3.747e-06/1.197, allocations: 0 / 0.9235 GB, free: 22.12 MB / 0.7325 GB Notification: Performance of Transformations before backend: time 2.797e-05/1.197, allocations: 6.812 kB / 0.9235 GB, free: 22.12 MB / 0.7325 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.004898/1.201, allocations: 1.759 MB / 0.9252 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of prepare preOptimizeDAE: time 6.166e-05/1.202, allocations: 7.719 kB / 0.9252 GB, free: 21.13 MB / 0.7325 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.177e-05/1.202, allocations: 45.88 kB / 0.9253 GB, free: 21.09 MB / 0.7325 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.02367/1.225, allocations: 2.292 MB / 0.9275 GB, free: 20.9 MB / 0.7325 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003653/1.229, allocations: 0.9868 MB / 0.9285 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.178e-05/1.229, allocations: 20.56 kB / 0.9285 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003417/1.229, allocations: 21.44 kB / 0.9285 GB, free: 20.55 MB / 0.7325 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.008097/1.238, allocations: 1.257 MB / 0.9298 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.011e-05/1.238, allocations: 0 / 0.9298 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.525e-05/1.238, allocations: 2.438 kB / 0.9298 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.414e-05/1.238, allocations: 6.469 kB / 0.9298 GB, free: 20.44 MB / 0.7325 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.01438/1.252, allocations: 2.089 MB / 0.9318 GB, free: 20.35 MB / 0.7325 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01527/1.268, allocations: 2.978 MB / 0.9347 GB, free: 19.83 MB / 0.7325 GB Notification: Performance of preOpt comSubExp (simulation): time 0.01801/1.286, allocations: 2.774 MB / 0.9374 GB, free: 19.65 MB / 0.7325 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008741/1.287, allocations: 449.5 kB / 0.9379 GB, free: 19.18 MB / 0.7325 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.007384/1.294, allocations: 1.227 MB / 0.9391 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of pre-optimization done (n=21): time 5.421e-06/1.294, allocations: 0 / 0.9391 GB, free: 19.04 MB / 0.7325 GB Notification: Performance of matching and sorting (n=21): time 0.03812/1.332, allocations: 4.882 MB / 0.9438 GB, free: 18.44 MB / 0.7325 GB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001509/1.332, allocations: 137.4 kB / 0.944 GB, free: 18.28 MB / 0.7325 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.005298/1.338, allocations: 2.02 MB / 0.9459 GB, free: 17.84 MB / 0.7325 GB Notification: Performance of collectPreVariables (initialization): time 0.000354/1.338, allocations: 34.14 kB / 0.946 GB, free: 17.8 MB / 0.7325 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008069/1.339, allocations: 0.5501 MB / 0.9465 GB, free: 17.66 MB / 0.7325 GB Notification: Performance of collectInitialBindings (initialization): time 0.000237/1.339, allocations: 65.12 kB / 0.9466 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001727/1.339, allocations: 3.562 kB / 0.9466 GB, free: 17.62 MB / 0.7325 GB Notification: Performance of setup shared object (initialization): time 0.0001513/1.339, allocations: 324.2 kB / 0.9469 GB, free: 17.31 MB / 0.7325 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.005527/1.345, allocations: 1.204 MB / 0.948 GB, free: 16.95 MB / 0.7325 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.005475/1.35, allocations: 1.246 MB / 0.9493 GB, free: 16.56 MB / 0.7325 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.005299/1.356, allocations: 1.12 MB / 0.9504 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.564e-06/1.356, allocations: 0 / 0.9504 GB, free: 16.2 MB / 0.7325 GB Notification: Performance of matching and sorting (n=48) (initialization): time 0.02928/1.385, allocations: 4.131 MB / 0.9544 GB, free: 14.71 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002232/1.385, allocations: 221.7 kB / 0.9546 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.732e-05/1.386, allocations: 0 / 0.9546 GB, free: 14.48 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004266/1.39, allocations: 0.9314 MB / 0.9555 GB, free: 14.07 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00279/1.393, allocations: 430.9 kB / 0.9559 GB, free: 13.92 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.01195/1.405, allocations: 8.214 MB / 0.9639 GB, free: 7.371 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.004405/1.409, allocations: 483.9 kB / 0.9644 GB, free: 7.176 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0003472/1.409, allocations: 40.77 kB / 0.9644 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of prepare postOptimizeDAE: time 1.248e-05/1.409, allocations: 2.875 kB / 0.9644 GB, free: 7.16 MB / 0.7325 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.02846/1.438, allocations: 3.857 MB / 0.9682 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.445e-05/1.438, allocations: 0 / 0.9682 GB, free: 5.836 MB / 0.7325 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.003054/1.441, allocations: 0.7611 MB / 0.969 GB, free: 5.488 MB / 0.7325 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002831/1.444, allocations: 427.5 kB / 0.9694 GB, free: 5.34 MB / 0.7325 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.007947/1.452, allocations: 6.899 MB / 0.9761 GB, free: 15.32 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003821/1.456, allocations: 471.4 kB / 0.9766 GB, free: 15.13 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002371/1.456, allocations: 32.56 kB / 0.9766 GB, free: 15.12 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 5 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 5 {1 1,1 2,1 2,1 2,1 2} Notification: Performance of prepare postOptimizeDAE: time 0.001762/1.458, allocations: 0.6767 MB / 0.9772 GB, free: 14.8 MB / 0.7481 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005733/1.458, allocations: 140.4 kB / 0.9774 GB, free: 14.72 MB / 0.7481 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.02662/1.485, allocations: 3.517 MB / 0.9808 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.911e-05/1.485, allocations: 1.75 kB / 0.9808 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.594e-06/1.485, allocations: 2.938 kB / 0.9808 GB, free: 13.41 MB / 0.7481 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.142e-05/1.485, allocations: 4 kB / 0.9808 GB, free: 13.4 MB / 0.7481 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002674/1.488, allocations: 0.9703 MB / 0.9818 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.392e-06/1.488, allocations: 0 / 0.9818 GB, free: 12.89 MB / 0.7481 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002643/1.49, allocations: 400.8 kB / 0.9822 GB, free: 12.75 MB / 0.7481 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007027/1.491, allocations: 168.6 kB / 0.9823 GB, free: 12.68 MB / 0.7481 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0001547/1.491, allocations: 22.92 kB / 0.9823 GB, free: 12.67 MB / 0.7481 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001147/1.493, allocations: 0.6546 MB / 0.983 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.505e-06/1.493, allocations: 4.062 kB / 0.983 GB, free: 12.09 MB / 0.7481 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.02719/1.52, allocations: 3.491 MB / 0.9864 GB, free: 10.74 MB / 0.7481 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001293/1.521, allocations: 364.1 kB / 0.9867 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0005523/1.522, allocations: 6.656 kB / 0.9867 GB, free: 10.52 MB / 0.7481 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003633/1.525, allocations: 412.5 kB / 0.9871 GB, free: 10.37 MB / 0.7481 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001524/1.525, allocations: 28.62 kB / 0.9872 GB, free: 10.36 MB / 0.7481 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001294/1.526, allocations: 37.97 kB / 0.9872 GB, free: 10.34 MB / 0.7481 GB Notification: Performance of sorting global known variables: time 0.00387/1.529, allocations: 1.45 MB / 0.9886 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of sort global known variables: time 4.61e-07/1.53, allocations: 0 / 0.9886 GB, free: 9.965 MB / 0.7481 GB Notification: Performance of remove unused functions: time 0.003327/1.533, allocations: 0.504 MB / 0.9891 GB, free: 9.945 MB / 0.7481 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of Backend phase and start with SimCode phase: time 0.01317/1.546, allocations: 3.147 MB / 0.9922 GB, free: 7.23 MB / 0.7481 GB Notification: Performance of simCode: created initialization part: time 0.02121/1.567, allocations: 5.141 MB / 0.9972 GB, free: 2.543 MB / 0.7481 GB Notification: Performance of simCode: created event and clocks part: time 9.317e-06/1.567, allocations: 8 kB / 0.9972 GB, free: 2.535 MB / 0.7481 GB Notification: Performance of simCode: created simulation system equations: time 0.006086/1.573, allocations: 1.188 MB / 0.9984 GB, free: 1.477 MB / 0.7481 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001904/1.575, allocations: 299.2 kB / 0.9987 GB, free: 1.242 MB / 0.7481 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02372/1.599, allocations: 5.752 MB / 1.004 GB, free: 11.96 MB / 0.7637 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001041/1.6, allocations: 1.407 MB / 1.006 GB, free: 10.68 MB / 0.7637 GB Notification: Performance of simCode: alias equations: time 0.001585/1.602, allocations: 248.6 kB / 1.006 GB, free: 10.43 MB / 0.7637 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008031/1.603, allocations: 412.4 kB / 1.006 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of SimCode: time 1.042e-06/1.603, allocations: 0 / 1.006 GB, free: 10.34 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07469/1.677, allocations: 40.8 MB / 1.046 GB, free: 2.086 MB / 0.795 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002038/1.678, allocations: 250.3 kB / 1.046 GB, free: 1.844 MB / 0.795 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.886/4.563, allocations: 0 / 1.046 GB, free: 1.844 MB / 0.795 GB (rm -f Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; mkfifo Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe >> ../files/Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDewPoint.fmu > Buildings_8_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDewPoint.pipe 2>&1) Environment - environmentSimulation: