Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.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 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo", uses=false) 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) 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 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.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl",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.00105/0.00105, allocations: 99.78 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.001102/0.001103, allocations: 177.3 kB / 15.95 MB, free: 216 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.41/1.41, allocations: 223.2 MB / 239.9 MB, free: 5.371 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 9.1.1-maint.9.1.x/package.mo): time 2.46/2.46, allocations: 390.3 MB / 0.6653 GB, free: 2.938 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003328/0.0003328, allocations: 15.98 kB / 0.8146 GB, free: 14.16 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.8231/0.8235, allocations: 142.3 MB / 0.9536 GB, free: 8.141 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl): time 0.1979/1.021, allocations: 175.8 MB / 1.125 GB, free: 15.95 MB / 0.8887 GB Notification: Performance of NFInst.instExpressions: time 0.01472/1.036, allocations: 9.77 MB / 1.135 GB, free: 6.16 MB / 0.8887 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001999/1.038, allocations: 47.62 kB / 1.135 GB, free: 6.113 MB / 0.8887 GB Notification: Performance of NFTyping.typeComponents: time 0.002402/1.041, allocations: 0.7074 MB / 1.136 GB, free: 5.402 MB / 0.8887 GB Notification: Performance of NFTyping.typeBindings: time 0.006926/1.048, allocations: 2.275 MB / 1.138 GB, free: 3.121 MB / 0.8887 GB Notification: Performance of NFTyping.typeClassSections: time 0.00557/1.053, allocations: 1.913 MB / 1.14 GB, free: 1.238 MB / 0.8887 GB Notification: Performance of NFFlatten.flatten: time 0.004585/1.058, allocations: 2.194 MB / 1.142 GB, free: 15.04 MB / 0.9044 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00179/1.06, allocations: 1.023 MB / 1.143 GB, free: 13.99 MB / 0.9044 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004351/1.064, allocations: 1.46 MB / 1.144 GB, free: 12.53 MB / 0.9044 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001794/1.066, allocations: 0.8089 MB / 1.145 GB, free: 11.71 MB / 0.9044 GB Notification: Performance of NFPackage.collectConstants: time 0.0002833/1.066, allocations: 60 kB / 1.145 GB, free: 11.66 MB / 0.9044 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004488/1.071, allocations: 1.997 MB / 1.147 GB, free: 9.656 MB / 0.9044 GB Notification: Performance of NFScalarize.scalarize: time 0.0005353/1.071, allocations: 350.7 kB / 1.147 GB, free: 9.312 MB / 0.9044 GB Notification: Performance of NFVerifyModel.verify: time 0.0006544/1.072, allocations: 344.8 kB / 1.148 GB, free: 8.969 MB / 0.9044 GB Notification: Performance of NFConvertDAE.convert: time 0.00376/1.076, allocations: 2.175 MB / 1.15 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of FrontEnd - DAE generated: time 4.228e-06/1.076, allocations: 0 / 1.15 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of FrontEnd: time 2.515e-06/1.076, allocations: 0 / 1.15 GB, free: 6.789 MB / 0.9044 GB Notification: Performance of Transformations before backend: time 3.334e-05/1.076, allocations: 0 / 1.15 GB, free: 6.789 MB / 0.9044 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 249 * Number of variables: 249 Notification: Performance of Generate backend data structure: time 0.004836/1.081, allocations: 2.015 MB / 1.152 GB, free: 4.715 MB / 0.9044 GB Notification: Performance of prepare preOptimizeDAE: time 3.912e-05/1.081, allocations: 12.03 kB / 1.152 GB, free: 4.703 MB / 0.9044 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002561/1.081, allocations: 152.2 kB / 1.152 GB, free: 4.547 MB / 0.9044 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00302/1.084, allocations: 0.5833 MB / 1.152 GB, free: 3.961 MB / 0.9044 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002488/1.086, allocations: 1.173 MB / 1.154 GB, free: 2.734 MB / 0.9044 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0006442/1.087, allocations: 214.2 kB / 1.154 GB, free: 2.527 MB / 0.9044 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002056/1.087, allocations: 108 kB / 1.154 GB, free: 2.422 MB / 0.9044 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002647/1.09, allocations: 1.349 MB / 1.155 GB, free: 1.039 MB / 0.9044 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/1.09, allocations: 3.984 kB / 1.155 GB, free: 1.035 MB / 0.9044 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001161/1.09, allocations: 36 kB / 1.155 GB, free: 1 MB / 0.9044 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.008e-05/1.09, allocations: 53.92 kB / 1.155 GB, free: 0.9492 MB / 0.9044 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003166/1.093, allocations: 1.394 MB / 1.157 GB, free: 15.55 MB / 0.92 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.009231/1.103, allocations: 5.343 MB / 1.162 GB, free: 9.914 MB / 0.92 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002611/1.105, allocations: 1.077 MB / 1.163 GB, free: 8.809 MB / 0.92 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001052/1.106, allocations: 0.6046 MB / 1.164 GB, free: 8.094 MB / 0.92 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.001622/1.108, allocations: 0.6328 MB / 1.164 GB, free: 7.449 MB / 0.92 GB Notification: Performance of pre-optimization done (n=82): time 5.43e-06/1.108, allocations: 0 / 1.164 GB, free: 7.449 MB / 0.92 GB Notification: Performance of matching and sorting (n=82): time 0.004814/1.113, allocations: 1.655 MB / 1.166 GB, free: 5.785 MB / 0.92 GB Notification: Performance of inlineWhenForInitialization (initialization): time 6.316e-05/1.113, allocations: 64.06 kB / 1.166 GB, free: 5.711 MB / 0.92 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/1.115, allocations: 1.314 MB / 1.167 GB, free: 4.387 MB / 0.92 GB Notification: Performance of collectPreVariables (initialization): time 0.0002743/1.115, allocations: 53.69 kB / 1.167 GB, free: 4.328 MB / 0.92 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006316/1.116, allocations: 0.6349 MB / 1.168 GB, free: 3.688 MB / 0.92 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003286/1.116, allocations: 283.9 kB / 1.168 GB, free: 3.406 MB / 0.92 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.653e-05/1.117, allocations: 20 kB / 1.168 GB, free: 3.387 MB / 0.92 GB Notification: Performance of setup shared object (initialization): time 0.0001761/1.117, allocations: 349.9 kB / 1.168 GB, free: 3.039 MB / 0.92 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001391/1.118, allocations: 0.5101 MB / 1.169 GB, free: 2.531 MB / 0.92 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001544/1.12, allocations: 0.7798 MB / 1.17 GB, free: 1.66 MB / 0.92 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001453/1.121, allocations: 0.5863 MB / 1.17 GB, free: 1.066 MB / 0.92 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.124e-06/1.121, allocations: 8 kB / 1.17 GB, free: 1.059 MB / 0.92 GB Notification: Performance of matching and sorting (n=131) (initialization): time 0.003689/1.125, allocations: 1.501 MB / 1.172 GB, free: 15.54 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 0.0008118/1.126, allocations: 1.905 MB / 1.174 GB, free: 13.53 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.423e-05/1.126, allocations: 4 kB / 1.174 GB, free: 13.52 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.885e-05/1.126, allocations: 15.95 kB / 1.174 GB, free: 13.51 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001776/1.128, allocations: 351.5 kB / 1.174 GB, free: 13.16 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007059/1.128, allocations: 1.192 MB / 1.175 GB, free: 11.93 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00182/1.13, allocations: 235.2 kB / 1.175 GB, free: 11.7 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001373/1.13, allocations: 55.97 kB / 1.175 GB, free: 11.64 MB / 0.9356 GB Notification: Performance of prepare postOptimizeDAE: time 1.763e-05/1.13, allocations: 7.953 kB / 1.175 GB, free: 11.63 MB / 0.9356 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003154/1.133, allocations: 1.341 MB / 1.177 GB, free: 10.29 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.071e-05/1.133, allocations: 4 kB / 1.177 GB, free: 10.28 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.441e-05/1.133, allocations: 12 kB / 1.177 GB, free: 10.27 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001438/1.135, allocations: 323.7 kB / 1.177 GB, free: 9.953 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.568e-05/1.135, allocations: 8 kB / 1.177 GB, free: 9.945 MB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001679/1.137, allocations: 210.9 kB / 1.177 GB, free: 9.738 MB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001189/1.137, allocations: 55.97 kB / 1.177 GB, free: 9.684 MB / 0.9356 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 21 * 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 (130): * Single equations (assignments): 127 * 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.0008155/1.138, allocations: 422.1 kB / 1.178 GB, free: 9.262 MB / 0.9356 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003763/1.138, allocations: 169.9 kB / 1.178 GB, free: 9.094 MB / 0.9356 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003331/1.141, allocations: 1.381 MB / 1.179 GB, free: 7.711 MB / 0.9356 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.462e-05/1.141, allocations: 8 kB / 1.179 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.093e-06/1.141, allocations: 0 / 1.179 GB, free: 7.703 MB / 0.9356 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.19e-05/1.141, allocations: 3.984 kB / 1.179 GB, free: 7.699 MB / 0.9356 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005686/1.147, allocations: 2.902 MB / 1.182 GB, free: 4.691 MB / 0.9356 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.498e-06/1.147, allocations: 4 kB / 1.182 GB, free: 4.688 MB / 0.9356 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001201/1.148, allocations: 247.9 kB / 1.182 GB, free: 4.445 MB / 0.9356 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.597e-05/1.148, allocations: 11.95 kB / 1.182 GB, free: 4.434 MB / 0.9356 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.79e-05/1.148, allocations: 35.97 kB / 1.182 GB, free: 4.398 MB / 0.9356 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005588/1.149, allocations: 1.176 MB / 1.183 GB, free: 3.176 MB / 0.9356 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.82e-06/1.149, allocations: 4 kB / 1.183 GB, free: 3.172 MB / 0.9356 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004726/1.154, allocations: 2.357 MB / 1.186 GB, free: 0.6445 MB / 0.9356 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009489/1.155, allocations: 374.8 kB / 1.186 GB, free: 264 kB / 0.9356 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002274/1.155, allocations: 20 kB / 1.186 GB, free: 244 kB / 0.9356 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001254/1.156, allocations: 135.8 kB / 1.186 GB, free: 108 kB / 0.9356 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001588/1.156, allocations: 72.52 kB / 1.186 GB, free: 36 kB / 0.9356 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001105/1.156, allocations: 39.95 kB / 1.186 GB, free: 15.99 MB / 0.9512 GB Notification: Performance of sorting global known variables: time 0.001315/1.158, allocations: 0.882 MB / 1.187 GB, free: 15.12 MB / 0.9512 GB Notification: Performance of sort global known variables: time 1.4e-07/1.158, allocations: 4 kB / 1.187 GB, free: 15.11 MB / 0.9512 GB Notification: Performance of remove unused functions: time 0.002326/1.16, allocations: 0.7926 MB / 1.188 GB, free: 14.32 MB / 0.9512 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 16 * 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): 85 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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.006372/1.167, allocations: 4.234 MB / 1.192 GB, free: 9.965 MB / 0.9512 GB Notification: Performance of simCode: created initialization part: time 0.005469/1.172, allocations: 2.109 MB / 1.194 GB, free: 7.836 MB / 0.9512 GB Notification: Performance of simCode: created event and clocks part: time 1.1e-05/1.172, allocations: 4 kB / 1.194 GB, free: 7.832 MB / 0.9512 GB Notification: Performance of simCode: created simulation system equations: time 0.001703/1.174, allocations: 0.6603 MB / 1.195 GB, free: 7.176 MB / 0.9512 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003595/1.177, allocations: 0.6843 MB / 1.196 GB, free: 6.492 MB / 0.9512 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008931/1.186, allocations: 7.077 MB / 1.202 GB, free: 15.22 MB / 0.9669 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000928/1.187, allocations: 1.258 MB / 1.204 GB, free: 13.94 MB / 0.9669 GB Notification: Performance of simCode: alias equations: time 0.002113/1.189, allocations: 415.3 kB / 1.204 GB, free: 13.54 MB / 0.9669 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009055/1.19, allocations: 0.5657 MB / 1.205 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of SimCode: time 1.062e-06/1.19, allocations: 0 / 1.205 GB, free: 12.97 MB / 0.9669 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07577/1.266, allocations: 41.62 MB / 1.245 GB, free: 3.922 MB / 0.9981 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002218/1.266, allocations: 269.7 kB / 1.246 GB, free: 3.566 MB / 0.9981 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.802/4.069, allocations: 0 / 1.246 GB, free: 3.566 MB / 0.9981 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Examples_DryCoilEffectivenessNTUPControl.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Examples.DryCoilEffectivenessNTUPControl_res.mat does not exist to compare? outputFormat=mat