Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/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 Buildings with version 9.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_9_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 9.1.1-maint.9.1.x/package.mo): time 2.381/2.381, allocations: 387.1 MB / 399.7 MB, free: 9.5 MB / 314.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001279/0.00128, allocations: 184.9 kB / 492.3 MB, free: 0.6289 MB / 394.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.474/1.474, allocations: 221.3 MB / 0.7871 GB, free: 12.96 MB / 0.5573 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00115/0.00115, allocations: 100.2 kB / 0.9267 GB, free: 14.03 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 3.48e-05/3.499e-05, allocations: 4 kB / 1.073 GB, free: 180.3 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2574/0.2574, allocations: 142.3 MB / 1.213 GB, free: 38.43 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.498/4.756, allocations: 1.725 GB / 2.937 GB, free: 126.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003256/4.756, allocations: 95.69 kB / 2.937 GB, free: 126.5 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.2084/4.964, allocations: 105.6 MB / 3.04 GB, free: 26.36 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.465e-06/4.964, allocations: 4 kB / 3.04 GB, free: 26.35 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001791/4.965, allocations: 16 kB / 3.04 GB, free: 26.34 MB / 1.151 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.004038/4.969, allocations: 1.397 MB / 3.042 GB, free: 24.88 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 5.639e-05/4.969, allocations: 8.031 kB / 3.042 GB, free: 24.88 MB / 1.151 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000127/4.969, allocations: 50.5 kB / 3.042 GB, free: 24.82 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01464/4.984, allocations: 2.086 MB / 3.044 GB, free: 22.73 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003802/4.987, allocations: 1.297 MB / 3.045 GB, free: 21.38 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.05e-05/4.987, allocations: 16 kB / 3.045 GB, free: 21.37 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001975/4.988, allocations: 24 kB / 3.045 GB, free: 21.34 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000843/4.989, allocations: 0.4885 MB / 3.046 GB, free: 20.84 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/4.989, allocations: 0 / 3.046 GB, free: 20.84 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.593e-05/4.989, allocations: 8 kB / 3.046 GB, free: 20.83 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.251e-05/4.989, allocations: 7.953 kB / 3.046 GB, free: 20.82 MB / 1.151 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008307/4.989, allocations: 0.5937 MB / 3.046 GB, free: 20.23 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0098/4.999, allocations: 3.655 MB / 3.05 GB, free: 16.42 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001524/5.001, allocations: 0.7446 MB / 3.05 GB, free: 15.66 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004403/5.001, allocations: 320.8 kB / 3.051 GB, free: 15.34 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002098/5.002, allocations: 105.1 kB / 3.051 GB, free: 15.22 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005772/5.002, allocations: 449.3 kB / 3.051 GB, free: 14.77 MB / 1.151 GB Notification: Performance of pre-optimization done (n=23): time 2.825e-06/5.002, allocations: 0 / 3.051 GB, free: 14.77 MB / 1.151 GB Notification: Performance of matching and sorting (n=23): time 0.002397/5.005, allocations: 0.8693 MB / 3.052 GB, free: 13.88 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.722e-05/5.005, allocations: 114.8 kB / 3.052 GB, free: 13.75 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003503/5.008, allocations: 2.166 MB / 3.054 GB, free: 11.57 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001315/5.008, allocations: 37.7 kB / 3.054 GB, free: 11.53 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004245/5.009, allocations: 0.562 MB / 3.055 GB, free: 10.96 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.002e-05/5.009, allocations: 70.98 kB / 3.055 GB, free: 10.89 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.804e-05/5.009, allocations: 16 kB / 3.055 GB, free: 10.88 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.847e-05/5.009, allocations: 318 kB / 3.055 GB, free: 10.56 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006137/5.01, allocations: 452.2 kB / 3.056 GB, free: 10.12 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000599/5.01, allocations: 472.1 kB / 3.056 GB, free: 9.652 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005485/5.011, allocations: 418.6 kB / 3.057 GB, free: 9.238 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.095e-06/5.011, allocations: 0 / 3.057 GB, free: 9.238 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.002818/5.014, allocations: 1.418 MB / 3.058 GB, free: 7.789 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 7.316e-05/5.014, allocations: 135.6 kB / 3.058 GB, free: 7.645 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.555e-06/5.014, allocations: 3.953 kB / 3.058 GB, free: 7.641 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002581/5.016, allocations: 0.7523 MB / 3.059 GB, free: 6.875 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002836/5.019, allocations: 495.3 kB / 3.059 GB, free: 6.391 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001777/5.021, allocations: 2.67 MB / 3.062 GB, free: 3.617 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003224/5.024, allocations: 463.2 kB / 3.062 GB, free: 3.164 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001155/5.024, allocations: 35.97 kB / 3.062 GB, free: 3.129 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.399e-05/5.024, allocations: 4 kB / 3.062 GB, free: 3.125 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001928/5.026, allocations: 1.188 MB / 3.064 GB, free: 1.922 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.917e-06/5.026, allocations: 0 / 3.064 GB, free: 1.922 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001863/5.028, allocations: 0.643 MB / 3.064 GB, free: 1.266 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002821/5.031, allocations: 491.4 kB / 3.065 GB, free: 0.7852 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.8204/5.851, allocations: 6.171 MB / 3.071 GB, free: 379 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003588/5.855, allocations: 450.2 kB / 3.071 GB, free: 379 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001623/5.855, allocations: 30.86 kB / 3.071 GB, free: 379 MB / 1.151 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.0002752/5.856, allocations: 163.8 kB / 3.071 GB, free: 378.8 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000305/5.856, allocations: 140.5 kB / 3.071 GB, free: 378.8 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002367/5.858, allocations: 0.9087 MB / 3.072 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.2e-06/5.858, allocations: 2.469 kB / 3.072 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.935e-06/5.858, allocations: 2.812 kB / 3.072 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.634e-06/5.858, allocations: 1.891 kB / 3.072 GB, free: 378.7 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002304/5.861, allocations: 1.228 MB / 3.074 GB, free: 378.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.656e-06/5.861, allocations: 1.688 kB / 3.074 GB, free: 378.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.003104/5.864, allocations: 449.8 kB / 3.074 GB, free: 378.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.271e-05/5.864, allocations: 4.766 kB / 3.074 GB, free: 378.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.516e-05/5.864, allocations: 18.56 kB / 3.074 GB, free: 378.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.462e-06/5.864, allocations: 0.875 kB / 3.074 GB, free: 378.3 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.804e-06/5.864, allocations: 1.031 kB / 3.074 GB, free: 378.3 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002085/5.866, allocations: 0.844 MB / 3.075 GB, free: 378.2 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001064/5.867, allocations: 420.5 kB / 3.075 GB, free: 378 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001895/5.867, allocations: 11.09 kB / 3.075 GB, free: 378 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003019/5.87, allocations: 402.5 kB / 3.076 GB, free: 378 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001397/5.87, allocations: 22.98 kB / 3.076 GB, free: 378 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001068/5.87, allocations: 35.14 kB / 3.076 GB, free: 378 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.003608/5.874, allocations: 1.67 MB / 3.077 GB, free: 377.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 3.01e-07/5.874, allocations: 0.75 kB / 3.077 GB, free: 377.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002975/5.877, allocations: 0.5882 MB / 3.078 GB, free: 377.9 MB / 1.151 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.003966/5.881, allocations: 2.27 MB / 3.08 GB, free: 377.1 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004896/5.886, allocations: 2.358 MB / 3.082 GB, free: 376.5 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 5.931e-06/5.886, allocations: 0 / 3.082 GB, free: 376.5 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0008048/5.887, allocations: 424.5 kB / 3.083 GB, free: 376.5 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001995/5.889, allocations: 329.8 kB / 3.083 GB, free: 376.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01919/5.908, allocations: 3.993 MB / 3.087 GB, free: 376 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001256/5.909, allocations: 1.414 MB / 3.088 GB, free: 375.3 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003836/5.913, allocations: 0.9872 MB / 3.089 GB, free: 375.3 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00075/5.914, allocations: 416.6 kB / 3.09 GB, free: 375.3 MB / 1.151 GB Notification: Performance of SimCode: time 1.703e-06/5.914, allocations: 2.594 kB / 3.09 GB, free: 375.3 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1137/6.028, allocations: 55.22 MB / 3.144 GB, free: 366 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001712/6.028, allocations: 205 kB / 3.144 GB, free: 365.8 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 4.205/10.23, allocations: 0 / 3.144 GB, free: 365.8 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat does not exist to compare? outputFormat=mat