Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.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.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl",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.306/2.306, allocations: 390.3 MB / 405.3 MB, free: 13.48 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.001745/0.001745, allocations: 187.3 kB / 498.1 MB, free: 5.762 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.542/1.542, allocations: 223.2 MB / 0.7948 GB, free: 17.94 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.001034/0.001034, allocations: 102.5 kB / 0.9346 GB, free: 6.262 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 0.000392/0.000392, allocations: 10 kB / 1.084 GB, free: 221.5 MB / 0.823 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3016/0.302, allocations: 142.3 MB / 1.223 GB, free: 114.2 MB / 0.823 GB Notification: Performance of FrontEnd - scodeFlatten: time 1.061/1.363, allocations: 423.5 MB / 1.636 GB, free: 4.469 MB / 0.948 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002348/1.363, allocations: 98.11 kB / 1.637 GB, free: 4.418 MB / 0.948 GB Notification: Performance of FrontEnd - DAE generated: time 1.971/3.334, allocations: 0.6298 GB / 2.266 GB, free: 62.58 MB / 1.167 GB Notification: Performance of FrontEnd: time 3.046e-06/3.334, allocations: 0 / 2.266 GB, free: 62.58 MB / 1.167 GB Notification: Performance of Transformations before backend: time 0.0002553/3.334, allocations: 39.98 kB / 2.266 GB, free: 62.54 MB / 1.167 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 214 * Number of variables: 214 Notification: Performance of Generate backend data structure: time 0.006148/3.341, allocations: 2.117 MB / 2.268 GB, free: 60.36 MB / 1.167 GB Notification: Performance of prepare preOptimizeDAE: time 4.524e-05/3.341, allocations: 8.031 kB / 2.268 GB, free: 60.36 MB / 1.167 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004327/3.341, allocations: 131.3 kB / 2.269 GB, free: 60.22 MB / 1.167 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001831/3.343, allocations: 389.7 kB / 2.269 GB, free: 59.84 MB / 1.167 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.02565/3.369, allocations: 13.76 MB / 2.282 GB, free: 45.9 MB / 1.167 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0007177/3.369, allocations: 206.3 kB / 2.283 GB, free: 45.7 MB / 1.167 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000457/3.37, allocations: 108 kB / 2.283 GB, free: 45.59 MB / 1.167 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003097/3.373, allocations: 1.142 MB / 2.284 GB, free: 44.41 MB / 1.167 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.903e-05/3.373, allocations: 7.938 kB / 2.284 GB, free: 44.4 MB / 1.167 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001558/3.373, allocations: 36 kB / 2.284 GB, free: 44.36 MB / 1.167 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.413e-05/3.373, allocations: 33.98 kB / 2.284 GB, free: 44.33 MB / 1.167 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002732/3.376, allocations: 1.081 MB / 2.285 GB, free: 43.25 MB / 1.167 GB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.009585/3.386, allocations: 4.848 MB / 2.29 GB, free: 38.13 MB / 1.167 GB Notification: Performance of preOpt comSubExp (simulation): time 0.00225/3.388, allocations: 0.9446 MB / 2.291 GB, free: 37.18 MB / 1.167 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000963/3.389, allocations: 1.053 MB / 2.292 GB, free: 35.9 MB / 1.167 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.00127/3.39, allocations: 0.5626 MB / 2.292 GB, free: 35.33 MB / 1.167 GB Notification: Performance of pre-optimization done (n=74): time 4.899e-06/3.39, allocations: 0 / 2.292 GB, free: 35.33 MB / 1.167 GB Notification: Performance of matching and sorting (n=74): time 0.003778/3.394, allocations: 1.441 MB / 2.294 GB, free: 33.88 MB / 1.167 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.563e-05/3.394, allocations: 119.4 kB / 2.294 GB, free: 33.74 MB / 1.167 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/3.396, allocations: 1.035 MB / 2.295 GB, free: 32.7 MB / 1.167 GB Notification: Performance of collectPreVariables (initialization): time 0.0001502/3.396, allocations: 53.69 kB / 2.295 GB, free: 32.64 MB / 1.167 GB Notification: Performance of collectInitialEqns (initialization): time 0.000452/3.396, allocations: 0.5763 MB / 2.295 GB, free: 32.05 MB / 1.167 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001914/3.396, allocations: 260.2 kB / 2.296 GB, free: 31.79 MB / 1.167 GB Notification: Performance of simplifyInitialFunctions (initialization): time 5.805e-05/3.397, allocations: 20 kB / 2.296 GB, free: 31.77 MB / 1.167 GB Notification: Performance of setup shared object (initialization): time 8.655e-05/3.397, allocations: 349.9 kB / 2.296 GB, free: 31.43 MB / 1.167 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00108/3.398, allocations: 461.7 kB / 2.296 GB, free: 30.98 MB / 1.167 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001227/3.399, allocations: 0.7208 MB / 2.297 GB, free: 30.16 MB / 1.167 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001146/3.4, allocations: 0.5179 MB / 2.298 GB, free: 29.64 MB / 1.167 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.045e-06/3.4, allocations: 7.938 kB / 2.298 GB, free: 29.63 MB / 1.167 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.003012/3.403, allocations: 1.337 MB / 2.299 GB, free: 28.28 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003807/3.404, allocations: 1.627 MB / 2.3 GB, free: 26.55 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.453e-05/3.404, allocations: 11.95 kB / 2.301 GB, free: 26.54 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 3.078e-05/3.404, allocations: 8 kB / 2.301 GB, free: 26.53 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001503/3.405, allocations: 307.5 kB / 2.301 GB, free: 26.23 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005584/3.406, allocations: 1.195 MB / 2.302 GB, free: 24.98 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00173/3.407, allocations: 211 kB / 2.302 GB, free: 24.78 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001402/3.408, allocations: 55.95 kB / 2.302 GB, free: 24.72 MB / 1.167 GB Notification: Performance of prepare postOptimizeDAE: time 1.459e-05/3.408, allocations: 8.875 kB / 2.302 GB, free: 24.71 MB / 1.167 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002597/3.41, allocations: 1.192 MB / 2.303 GB, free: 23.52 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.207e-05/3.41, allocations: 4 kB / 2.303 GB, free: 23.51 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.263e-05/3.41, allocations: 8 kB / 2.303 GB, free: 23.5 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001173/3.411, allocations: 299.8 kB / 2.304 GB, free: 23.21 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.482e-05/3.411, allocations: 11.94 kB / 2.304 GB, free: 23.2 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001555/3.413, allocations: 206.9 kB / 2.304 GB, free: 23 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000121/3.413, allocations: 55.97 kB / 2.304 GB, free: 22.94 MB / 1.167 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 8 ($whenCondition1,$PRE.TSet.T_start,TSet.T_start,$PRE.TSet.count,TSet.count,hex.flowRegime,hex.flowRegime_nominal,P.I.trigger_internal) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (120): * Single equations (assignments): 117 * Array equations: 0 * Algorithm blocks: 1 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0007071/3.414, allocations: 364.9 kB / 2.304 GB, free: 22.57 MB / 1.167 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003669/3.414, allocations: 146.2 kB / 2.304 GB, free: 22.43 MB / 1.167 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002992/3.417, allocations: 1.36 MB / 2.306 GB, free: 21.06 MB / 1.167 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-05/3.417, allocations: 8 kB / 2.306 GB, free: 21.05 MB / 1.167 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.824e-06/3.417, allocations: 0 / 2.306 GB, free: 21.05 MB / 1.167 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.979e-06/3.417, allocations: 11.97 kB / 2.306 GB, free: 21.04 MB / 1.167 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004786/3.422, allocations: 2.614 MB / 2.308 GB, free: 18.34 MB / 1.167 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/3.422, allocations: 0 / 2.308 GB, free: 18.34 MB / 1.167 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001021/3.423, allocations: 231.9 kB / 2.309 GB, free: 18.12 MB / 1.167 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.247e-05/3.423, allocations: 4.094 kB / 2.309 GB, free: 18.11 MB / 1.167 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.408e-05/3.423, allocations: 35.95 kB / 2.309 GB, free: 18.08 MB / 1.167 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003769/3.424, allocations: 1.188 MB / 2.31 GB, free: 16.84 MB / 1.167 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/3.424, allocations: 4.031 kB / 2.31 GB, free: 16.84 MB / 1.167 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003841/3.427, allocations: 2.07 MB / 2.312 GB, free: 14.67 MB / 1.167 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007201/3.428, allocations: 359 kB / 2.312 GB, free: 14.3 MB / 1.167 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002974/3.429, allocations: 23.94 kB / 2.312 GB, free: 14.27 MB / 1.167 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001334/3.43, allocations: 139.7 kB / 2.312 GB, free: 14.14 MB / 1.167 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001387/3.43, allocations: 68.86 kB / 2.312 GB, free: 14.07 MB / 1.167 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.063e-05/3.43, allocations: 39.97 kB / 2.312 GB, free: 14.03 MB / 1.167 GB Notification: Performance of sorting global known variables: time 0.00123/3.431, allocations: 0.8011 MB / 2.313 GB, free: 13.23 MB / 1.167 GB Notification: Performance of sort global known variables: time 1.9e-07/3.431, allocations: 0 / 2.313 GB, free: 13.23 MB / 1.167 GB Notification: Performance of remove unused functions: time 0.00291/3.434, allocations: 0.8387 MB / 2.314 GB, free: 12.39 MB / 1.167 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (temSen.T,val.filter.s[1],val.filter.s[2],P.I.y) * Number of discrete variables: 4 ($whenCondition1,TSet.T_start,TSet.count,hex.flowRegime) * Number of discrete states: 1 (TSet.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (91): * Single equations (assignments): 81 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 6 * When equations: 2 * If-equations: 0 * Equation systems (linear and non-linear blocks): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details: * Constant Jacobian: 0 * Linear Jacobian (size,density): 0 * Non-linear Jacobian: 2 {1,1} * Without analytic Jacobian: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.006028/3.44, allocations: 3.903 MB / 2.318 GB, free: 8.422 MB / 1.167 GB Notification: Performance of simCode: created initialization part: time 0.004436/3.445, allocations: 1.904 MB / 2.32 GB, free: 6.492 MB / 1.167 GB Notification: Performance of simCode: created event and clocks part: time 5.821e-06/3.445, allocations: 0 / 2.32 GB, free: 6.492 MB / 1.167 GB Notification: Performance of simCode: created simulation system equations: time 0.001282/3.446, allocations: 0.6195 MB / 2.32 GB, free: 5.875 MB / 1.167 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003031/3.449, allocations: 0.5797 MB / 2.321 GB, free: 5.305 MB / 1.167 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.6012/4.05, allocations: 6.371 MB / 2.327 GB, free: 245.4 MB / 1.167 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007147/4.051, allocations: 1.196 MB / 2.328 GB, free: 244.7 MB / 1.167 GB Notification: Performance of simCode: alias equations: time 0.001935/4.053, allocations: 356.2 kB / 2.329 GB, free: 244.7 MB / 1.167 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007413/4.054, allocations: 0.5431 MB / 2.329 GB, free: 244.7 MB / 1.167 GB Notification: Performance of SimCode: time 5.81e-07/4.054, allocations: 1.812 kB / 2.329 GB, free: 244.7 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07899/4.133, allocations: 43.45 MB / 2.372 GB, free: 244.2 MB / 1.167 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/4.133, allocations: 275.8 kB / 2.372 GB, free: 243.9 MB / 1.167 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.481/7.614, allocations: 4.922 kB / 2.372 GB, free: 243.9 MB / 1.167 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_PlateHeatExchangerEffectivenessNTUPControl.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.PlateHeatExchangerEffectivenessNTUPControl_res.mat does not exist to compare? outputFormat=mat