Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/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 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint,fileNamePrefix="Buildings_latest_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 10.0.0-master/package.mo): time 2.345/2.345, allocations: 390.5 MB / 398 MB, free: 10.96 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.001165/0.001165, allocations: 183 kB / 491.2 MB, free: 1.625 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.657/1.657, allocations: 221.5 MB / 0.7868 GB, free: 13.3 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.0008668/0.0008664, allocations: 91.89 kB / 0.9269 GB, free: 13.81 MB / 0.698 GB Notification: Performance of FrontEnd - loaded program: time 2.771e-05/2.772e-05, allocations: 8 kB / 1.073 GB, free: 182 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3091/0.3092, allocations: 143 MB / 1.212 GB, free: 39.44 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 4.752/5.061, allocations: 1.725 GB / 2.937 GB, free: 140.5 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002971/5.062, allocations: 99.94 kB / 2.937 GB, free: 140.4 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 0.1786/5.24, allocations: 90.32 MB / 3.025 GB, free: 49.23 MB / 1.151 GB Notification: Performance of FrontEnd: time 2.485e-06/5.24, allocations: 0 / 3.025 GB, free: 49.23 MB / 1.151 GB Notification: Performance of Transformations before backend: time 5.474e-05/5.241, allocations: 19.94 kB / 3.025 GB, free: 49.21 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.002573/5.243, allocations: 1.397 MB / 3.027 GB, free: 47.75 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 6.163e-05/5.243, allocations: 11.97 kB / 3.027 GB, free: 47.74 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.01368/5.257, allocations: 2.086 MB / 3.029 GB, free: 45.65 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002662/5.26, allocations: 1.293 MB / 3.03 GB, free: 44.31 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.239e-05/5.26, allocations: 4 kB / 3.03 GB, free: 44.31 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.054e-05/5.26, allocations: 12 kB / 3.03 GB, free: 44.3 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0008005/5.261, allocations: 0.5859 MB / 3.031 GB, free: 43.71 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006385/5.261, allocations: 483.7 kB / 3.031 GB, free: 43.22 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.09e-05/5.261, allocations: 3.953 kB / 3.031 GB, free: 43.22 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.364e-05/5.261, allocations: 0 / 3.031 GB, free: 43.22 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.364e-06/5.261, allocations: 4 kB / 3.031 GB, free: 43.21 MB / 1.151 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009273/5.271, allocations: 3.609 MB / 3.035 GB, free: 39.46 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/5.272, allocations: 0.7368 MB / 3.035 GB, free: 38.71 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003623/5.272, allocations: 312.9 kB / 3.036 GB, free: 38.41 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002096/5.273, allocations: 101.1 kB / 3.036 GB, free: 38.29 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005177/5.273, allocations: 440.7 kB / 3.036 GB, free: 37.84 MB / 1.151 GB Notification: Performance of pre-optimization done (n=23): time 3.868e-06/5.273, allocations: 0 / 3.036 GB, free: 37.84 MB / 1.151 GB Notification: Performance of matching and sorting (n=23): time 0.003996/5.277, allocations: 1.188 MB / 3.037 GB, free: 36.64 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.488e-05/5.277, allocations: 114.8 kB / 3.037 GB, free: 36.51 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002587/5.28, allocations: 2.088 MB / 3.039 GB, free: 34.41 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 0.0001321/5.28, allocations: 29.7 kB / 3.04 GB, free: 34.38 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004388/5.28, allocations: 0.5428 MB / 3.04 GB, free: 33.83 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 9.712e-05/5.28, allocations: 67 kB / 3.04 GB, free: 33.76 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 6.541e-05/5.281, allocations: 4 kB / 3.04 GB, free: 33.76 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 8.152e-05/5.281, allocations: 325.9 kB / 3.04 GB, free: 33.43 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005479/5.281, allocations: 440.2 kB / 3.041 GB, free: 33 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0005698/5.282, allocations: 484.1 kB / 3.041 GB, free: 32.52 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.02234/5.304, allocations: 9.723 MB / 3.051 GB, free: 22.79 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.532e-05/5.304, allocations: 4 kB / 3.051 GB, free: 22.78 MB / 1.151 GB Notification: Performance of matching and sorting (n=49) (initialization): time 0.02528/5.33, allocations: 10.72 MB / 3.061 GB, free: 12.03 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001159/5.33, allocations: 134.3 kB / 3.061 GB, free: 11.88 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.316e-05/5.33, allocations: 4 kB / 3.061 GB, free: 11.88 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002776/5.333, allocations: 0.7094 MB / 3.062 GB, free: 11.16 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002941/5.336, allocations: 495.3 kB / 3.063 GB, free: 10.67 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002067/5.338, allocations: 2.728 MB / 3.065 GB, free: 7.84 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003418/5.341, allocations: 459.2 kB / 3.066 GB, free: 7.391 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001844/5.341, allocations: 31.97 kB / 3.066 GB, free: 7.359 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 1.677e-05/5.341, allocations: 5.562 kB / 3.066 GB, free: 7.355 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.8641/6.205, allocations: 10.45 MB / 3.076 GB, free: 384.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.727e-06/6.205, allocations: 4.812 kB / 3.076 GB, free: 384.5 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.002576/6.208, allocations: 0.6221 MB / 3.077 GB, free: 384.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.003517/6.212, allocations: 0.4926 MB / 3.077 GB, free: 384.5 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005406/6.217, allocations: 5.946 MB / 3.083 GB, free: 379.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.003785/6.221, allocations: 442.5 kB / 3.083 GB, free: 379.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001702/6.221, allocations: 33.73 kB / 3.083 GB, free: 379.8 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.0003061/6.221, allocations: 146.9 kB / 3.083 GB, free: 379.7 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.003943/6.225, allocations: 1.106 MB / 3.084 GB, free: 379.6 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002375/6.226, allocations: 134.8 kB / 3.085 GB, free: 379.5 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003183/6.229, allocations: 0.9694 MB / 3.086 GB, free: 379.4 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.893e-06/6.229, allocations: 4.406 kB / 3.086 GB, free: 379.4 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.216e-06/6.229, allocations: 1 kB / 3.086 GB, free: 379.4 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.878e-06/6.229, allocations: 1.547 kB / 3.086 GB, free: 379.4 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002114/6.231, allocations: 1.196 MB / 3.087 GB, free: 379.1 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.178e-06/6.231, allocations: 1.203 kB / 3.087 GB, free: 379.1 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.002889/6.234, allocations: 450.6 kB / 3.087 GB, free: 379.1 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.036e-05/6.234, allocations: 1.094 kB / 3.087 GB, free: 379.1 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.608e-05/6.234, allocations: 14.88 kB / 3.087 GB, free: 379.1 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.288e-06/6.234, allocations: 1.375 kB / 3.087 GB, free: 379.1 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.918e-06/6.234, allocations: 0 / 3.087 GB, free: 379.1 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002673/6.237, allocations: 0.8936 MB / 3.088 GB, free: 379 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008497/6.238, allocations: 425.6 kB / 3.088 GB, free: 378.8 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002313/6.238, allocations: 8.141 kB / 3.088 GB, free: 378.8 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.002932/6.241, allocations: 399.2 kB / 3.089 GB, free: 378.8 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001271/6.241, allocations: 26.3 kB / 3.089 GB, free: 378.8 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.426e-05/6.241, allocations: 30.3 kB / 3.089 GB, free: 378.8 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.00321/6.244, allocations: 1.591 MB / 3.09 GB, free: 378.7 MB / 1.151 GB Notification: Performance of sort global known variables: time 2.485e-06/6.244, allocations: 0 / 3.09 GB, free: 378.7 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.002542/6.247, allocations: 0.5602 MB / 3.091 GB, free: 378.7 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.00579/6.253, allocations: 2.431 MB / 3.093 GB, free: 377.9 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.00535/6.258, allocations: 2.311 MB / 3.096 GB, free: 377.4 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 4.969e-06/6.258, allocations: 0 / 3.096 GB, free: 377.4 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0007208/6.259, allocations: 405.8 kB / 3.096 GB, free: 377.3 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00204/6.261, allocations: 320.1 kB / 3.096 GB, free: 377.3 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02011/6.281, allocations: 3.993 MB / 3.1 GB, free: 376.9 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001606/6.282, allocations: 1.415 MB / 3.102 GB, free: 376.2 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.004421/6.287, allocations: 1.001 MB / 3.103 GB, free: 376.1 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008595/6.288, allocations: 417.1 kB / 3.103 GB, free: 376.1 MB / 1.151 GB Notification: Performance of SimCode: time 2.374e-06/6.288, allocations: 0.7188 kB / 3.103 GB, free: 376.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08945/6.377, allocations: 42.51 MB / 3.145 GB, free: 371.1 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001787/6.378, allocations: 169.7 kB / 3.145 GB, free: 370.9 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.745/10.12, allocations: 0 / 3.145 GB, free: 370.9 MB / 1.151 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_DXCoils_BaseClasses_Examples_ApparatusDryPoint.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.DXCoils.BaseClasses.Examples.ApparatusDryPoint_res.mat does not exist to compare? outputFormat=mat