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.389/2.389, allocations: 387.4 MB / 394.9 MB, free: 13.37 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.001067/0.001067, allocations: 180.9 kB / 487.4 MB, free: 5.047 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.529/1.529, allocations: 221.5 MB / 0.7824 GB, free: 1.016 MB / 0.5417 GB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008964/0.0008964, allocations: 91.91 kB / 0.9219 GB, free: 2.246 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.609e-05/2.611e-05, allocations: 8 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2714/0.2715, allocations: 142.4 MB / 1.206 GB, free: 43.86 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.744/5.016, allocations: 1.724 GB / 2.93 GB, free: 133.3 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003332/5.016, allocations: 104.7 kB / 2.93 GB, free: 133.2 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1839/5.2, allocations: 90.3 MB / 3.018 GB, free: 48.7 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.603e-06/5.2, allocations: 0 / 3.018 GB, free: 48.7 MB / 1.151 GB Notification: Performance of Transformations before backend: time 0.0001433/5.2, allocations: 16 kB / 3.018 GB, free: 48.69 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.003458/5.204, allocations: 1.393 MB / 3.02 GB, free: 47.24 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.954e-05/5.204, allocations: 12.56 kB / 3.02 GB, free: 47.23 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01449/5.218, allocations: 2.086 MB / 3.022 GB, free: 45.14 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003879/5.222, allocations: 1.3 MB / 3.023 GB, free: 43.79 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.118e-05/5.222, allocations: 4 kB / 3.023 GB, free: 43.79 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002176/5.223, allocations: 12 kB / 3.023 GB, free: 43.77 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0009141/5.224, allocations: 0.5859 MB / 3.024 GB, free: 43.18 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007087/5.224, allocations: 483.7 kB / 3.024 GB, free: 42.7 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.579e-05/5.224, allocations: 0 / 3.024 GB, free: 42.7 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.824e-05/5.224, allocations: 3.953 kB / 3.024 GB, free: 42.7 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.905e-06/5.224, allocations: 4 kB / 3.024 GB, free: 42.69 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009886/5.234, allocations: 3.606 MB / 3.028 GB, free: 38.94 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001431/5.236, allocations: 0.733 MB / 3.028 GB, free: 38.2 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003909/5.236, allocations: 312.9 kB / 3.029 GB, free: 37.89 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002225/5.236, allocations: 109 kB / 3.029 GB, free: 37.76 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005305/5.237, allocations: 444.6 kB / 3.029 GB, free: 37.31 MB / 1.151 GB Notification: Performance of pre-optimization done (n=23): time 3.095e-06/5.237, allocations: 4 kB / 3.029 GB, free: 37.3 MB / 1.151 GB Notification: Performance of matching and sorting (n=23): time 0.004199/5.241, allocations: 1.184 MB / 3.03 GB, free: 36.11 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.644e-05/5.241, allocations: 106.8 kB / 3.03 GB, free: 35.98 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00374/5.245, allocations: 2.092 MB / 3.032 GB, free: 33.89 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001632/5.245, allocations: 25.7 kB / 3.032 GB, free: 33.86 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006383/5.246, allocations: 0.5467 MB / 3.033 GB, free: 33.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.000114/5.246, allocations: 67.02 kB / 3.033 GB, free: 33.23 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.824e-05/5.246, allocations: 4 kB / 3.033 GB, free: 33.23 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.156e-05/5.246, allocations: 325.9 kB / 3.033 GB, free: 32.91 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005772/5.247, allocations: 444.2 kB / 3.034 GB, free: 32.47 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005825/5.247, allocations: 488.1 kB / 3.034 GB, free: 31.99 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02203/5.269, allocations: 9.719 MB / 3.044 GB, free: 22.25 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.176e-05/5.269, allocations: 0 / 3.044 GB, free: 22.25 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.02439/5.294, allocations: 10.72 MB / 3.054 GB, free: 11.5 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 8.637e-05/5.294, allocations: 130.3 kB / 3.054 GB, free: 11.36 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.467e-06/5.294, allocations: 0 / 3.054 GB, free: 11.36 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002584/5.297, allocations: 0.7055 MB / 3.055 GB, free: 10.64 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00297/5.3, allocations: 499.3 kB / 3.055 GB, free: 10.15 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001812/5.301, allocations: 2.732 MB / 3.058 GB, free: 7.312 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003409/5.305, allocations: 451.1 kB / 3.059 GB, free: 6.871 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/5.305, allocations: 35.97 kB / 3.059 GB, free: 6.836 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/5.305, allocations: 5.875 kB / 3.059 GB, free: 6.832 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8438/6.149, allocations: 10.46 MB / 3.069 GB, free: 388.3 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.293e-06/6.149, allocations: 1.688 kB / 3.069 GB, free: 388.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002324/6.151, allocations: 0.6266 MB / 3.069 GB, free: 388.3 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003286/6.154, allocations: 0.4899 MB / 3.07 GB, free: 388.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004967/6.159, allocations: 5.949 MB / 3.076 GB, free: 383.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003622/6.163, allocations: 444 kB / 3.076 GB, free: 383.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001637/6.163, allocations: 34.39 kB / 3.076 GB, free: 383.6 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.0003089/6.164, allocations: 147.9 kB / 3.076 GB, free: 383.4 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003735/6.167, allocations: 1.106 MB / 3.077 GB, free: 383.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002122/6.168, allocations: 144 kB / 3.077 GB, free: 383.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002994/6.171, allocations: 0.9591 MB / 3.078 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.655e-06/6.171, allocations: 4.391 kB / 3.078 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/6.171, allocations: 1.656 kB / 3.078 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.614e-06/6.171, allocations: 1.312 kB / 3.078 GB, free: 383.2 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001907/6.173, allocations: 1.191 MB / 3.08 GB, free: 382.9 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.817e-06/6.173, allocations: 2.328 kB / 3.08 GB, free: 382.9 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002808/6.175, allocations: 452.2 kB / 3.08 GB, free: 382.9 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.654e-06/6.175, allocations: 0.9062 kB / 3.08 GB, free: 382.9 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.251e-05/6.175, allocations: 18.36 kB / 3.08 GB, free: 382.9 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.289e-06/6.176, allocations: 0.6094 kB / 3.08 GB, free: 382.9 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/6.176, allocations: 3.594 kB / 3.08 GB, free: 382.9 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002466/6.178, allocations: 0.8903 MB / 3.081 GB, free: 382.8 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007655/6.179, allocations: 419.9 kB / 3.081 GB, free: 382.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002093/6.179, allocations: 4.531 kB / 3.081 GB, free: 382.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.003047/6.182, allocations: 397.2 kB / 3.082 GB, free: 382.6 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001111/6.182, allocations: 24.22 kB / 3.082 GB, free: 382.6 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.271e-05/6.182, allocations: 30.02 kB / 3.082 GB, free: 382.6 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.002847/6.185, allocations: 1.589 MB / 3.083 GB, free: 382.5 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.41e-07/6.185, allocations: 1.344 kB / 3.083 GB, free: 382.5 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002397/6.188, allocations: 0.5665 MB / 3.084 GB, free: 382.5 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.004738/6.192, allocations: 2.426 MB / 3.086 GB, free: 381.7 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.004432/6.197, allocations: 2.321 MB / 3.089 GB, free: 381.2 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.308e-06/6.197, allocations: 0 / 3.089 GB, free: 381.2 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006102/6.197, allocations: 410.6 kB / 3.089 GB, free: 381.1 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001868/6.199, allocations: 307.9 kB / 3.089 GB, free: 381.1 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0184/6.218, allocations: 4.001 MB / 3.093 GB, free: 380.7 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001202/6.219, allocations: 1.41 MB / 3.094 GB, free: 380 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.003779/6.223, allocations: 1.006 MB / 3.095 GB, free: 379.9 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007169/6.223, allocations: 422.1 kB / 3.096 GB, free: 379.9 MB / 1.151 GB Notification: Performance of SimCode: time 9.92e-07/6.223, allocations: 0 / 3.096 GB, free: 379.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08459/6.308, allocations: 42.51 MB / 3.137 GB, free: 374.8 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/6.308, allocations: 167 kB / 3.138 GB, free: 374.6 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.808/10.12, allocations: 0 / 3.138 GB, free: 374.6 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