Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.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.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness,fileNamePrefix="Buildings_9_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness",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.278/2.278, allocations: 387.4 MB / 394.9 MB, free: 13.36 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.001137/0.001137, allocations: 176.8 kB / 487.4 MB, free: 5.027 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.672/1.672, allocations: 221.5 MB / 0.7824 GB, free: 0.9141 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.00109/0.00109, allocations: 106.6 kB / 0.9219 GB, free: 2.141 MB / 0.6823 GB Notification: Performance of FrontEnd - loaded program: time 2.382e-05/2.383e-05, allocations: 4 kB / 1.067 GB, free: 185.6 MB / 0.7605 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3193/0.3193, allocations: 142.4 MB / 1.206 GB, free: 43.85 MB / 0.7605 GB Notification: Performance of FrontEnd - scodeFlatten: time 5.936/6.256, allocations: 2.165 GB / 3.371 GB, free: 137.1 MB / 1.151 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/6.256, allocations: 86.2 kB / 3.371 GB, free: 137.1 MB / 1.151 GB Notification: Performance of FrontEnd - DAE generated: time 2.897/9.153, allocations: 0.7879 GB / 4.159 GB, free: 231.5 MB / 1.151 GB Notification: Performance of FrontEnd: time 1.663e-06/9.153, allocations: 0 / 4.159 GB, free: 231.5 MB / 1.151 GB Notification: Performance of Transformations before backend: time 8.938e-05/9.153, allocations: 31.44 kB / 4.159 GB, free: 231.5 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: 177 * Number of variables: 177 Notification: Performance of Generate backend data structure: time 0.004225/9.158, allocations: 1.566 MB / 4.161 GB, free: 229.9 MB / 1.151 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/9.158, allocations: 12.03 kB / 4.161 GB, free: 229.9 MB / 1.151 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002333/9.16, allocations: 434.1 kB / 4.161 GB, free: 229.4 MB / 1.151 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002236/9.162, allocations: 1.045 MB / 4.162 GB, free: 228.4 MB / 1.151 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0005932/9.163, allocations: 157.9 kB / 4.162 GB, free: 228.2 MB / 1.151 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001233/9.163, allocations: 43.98 kB / 4.162 GB, free: 228.2 MB / 1.151 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.001139/9.164, allocations: 0.738 MB / 4.163 GB, free: 227.4 MB / 1.151 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00118/9.165, allocations: 0.8271 MB / 4.164 GB, free: 226.6 MB / 1.151 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.903e-05/9.165, allocations: 0 / 4.164 GB, free: 226.6 MB / 1.151 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.062e-05/9.166, allocations: 7.875 kB / 4.164 GB, free: 226.6 MB / 1.151 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.971e-05/9.166, allocations: 37.98 kB / 4.164 GB, free: 226.5 MB / 1.151 GB Warning: The model contains alias variables with conflicting start and/or 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.005845/9.171, allocations: 4.058 MB / 4.168 GB, free: 222.3 MB / 1.151 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0006691/9.172, allocations: 0.5195 MB / 4.168 GB, free: 221.7 MB / 1.151 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003792/9.173, allocations: 334.8 kB / 4.169 GB, free: 221.4 MB / 1.151 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006299/9.173, allocations: 0.6363 MB / 4.169 GB, free: 220.6 MB / 1.151 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005625/9.174, allocations: 444.6 kB / 4.17 GB, free: 220.2 MB / 1.151 GB Notification: Performance of pre-optimization done (n=57): time 2.154e-06/9.174, allocations: 0 / 4.17 GB, free: 220.2 MB / 1.151 GB Notification: Performance of matching and sorting (n=57): time 0.001591/9.175, allocations: 0.7127 MB / 4.17 GB, free: 219.5 MB / 1.151 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.848e-05/9.175, allocations: 85.67 kB / 4.17 GB, free: 219.4 MB / 1.151 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006299/9.176, allocations: 0.5591 MB / 4.171 GB, free: 218.8 MB / 1.151 GB Notification: Performance of collectPreVariables (initialization): time 7.701e-05/9.176, allocations: 33.69 kB / 4.171 GB, free: 218.8 MB / 1.151 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002899/9.176, allocations: 440 kB / 4.171 GB, free: 218.3 MB / 1.151 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001342/9.177, allocations: 189.2 kB / 4.172 GB, free: 218.1 MB / 1.151 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.474e-05/9.177, allocations: 0 / 4.172 GB, free: 218.1 MB / 1.151 GB Notification: Performance of setup shared object (initialization): time 7.229e-05/9.177, allocations: 329.9 kB / 4.172 GB, free: 217.8 MB / 1.151 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003439/9.177, allocations: 257 kB / 4.172 GB, free: 217.6 MB / 1.151 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004144/9.177, allocations: 409.3 kB / 4.173 GB, free: 217.1 MB / 1.151 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006058/9.178, allocations: 318 kB / 4.173 GB, free: 216.8 MB / 1.151 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.757e-06/9.178, allocations: 3.938 kB / 4.173 GB, free: 216.8 MB / 1.151 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.001239/9.179, allocations: 0.7634 MB / 4.174 GB, free: 216 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001749/9.18, allocations: 0.9044 MB / 4.175 GB, free: 215 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.103e-06/9.18, allocations: 0 / 4.175 GB, free: 215 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.008e-05/9.18, allocations: 8 kB / 4.175 GB, free: 215 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001386/9.181, allocations: 247.6 kB / 4.175 GB, free: 214.8 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004902/9.181, allocations: 1.203 MB / 4.176 GB, free: 213.5 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001209/9.183, allocations: 171.5 kB / 4.176 GB, free: 213.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.247e-05/9.183, allocations: 35.97 kB / 4.176 GB, free: 213.3 MB / 1.151 GB Notification: Performance of prepare postOptimizeDAE: time 9.247e-06/9.183, allocations: 4 kB / 4.176 GB, free: 213.3 MB / 1.151 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.001138/9.184, allocations: 0.6494 MB / 4.177 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.958e-06/9.184, allocations: 0 / 4.177 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (initialization): time 7.964e-06/9.184, allocations: 4 kB / 4.177 GB, free: 212.7 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001008/9.185, allocations: 227.9 kB / 4.177 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.442e-06/9.185, allocations: 12 kB / 4.177 GB, free: 212.4 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001117/9.186, allocations: 159.5 kB / 4.177 GB, free: 212.3 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.009e-05/9.186, allocations: 39.92 kB / 4.177 GB, free: 212.2 MB / 1.151 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 10 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.trapezoid.T_start,trapezoid.T_start,$PRE.trapezoid.count,trapezoid.count) * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (69): * Single equations (assignments): 66 * 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.0002352/9.186, allocations: 120.9 kB / 4.177 GB, free: 212.1 MB / 1.151 GB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.00119/9.188, allocations: 0.6891 MB / 4.178 GB, free: 211.4 MB / 1.151 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001084/9.188, allocations: 86.97 kB / 4.178 GB, free: 211.3 MB / 1.151 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001525/9.189, allocations: 0.8277 MB / 4.179 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.787e-06/9.189, allocations: 8 kB / 4.179 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.41e-06/9.189, allocations: 3.953 kB / 4.179 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.897e-06/9.189, allocations: 7.984 kB / 4.179 GB, free: 210.5 MB / 1.151 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002835/9.192, allocations: 1.909 MB / 4.181 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/9.192, allocations: 4 kB / 4.181 GB, free: 208.5 MB / 1.151 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001065/9.193, allocations: 228 kB / 4.181 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt tearingSystem (simulation): time 9.508e-06/9.193, allocations: 4 kB / 4.181 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.127e-05/9.193, allocations: 15.98 kB / 4.181 GB, free: 208.3 MB / 1.151 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003549/9.194, allocations: 1.195 MB / 4.182 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5e-06/9.194, allocations: 4 kB / 4.182 GB, free: 207 MB / 1.151 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001387/9.195, allocations: 1.039 MB / 4.183 GB, free: 205.9 MB / 1.151 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004293/9.196, allocations: 287.7 kB / 4.183 GB, free: 205.6 MB / 1.151 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001227/9.196, allocations: 7.953 kB / 4.183 GB, free: 205.6 MB / 1.151 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001146/9.197, allocations: 151.8 kB / 4.184 GB, free: 205.4 MB / 1.151 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001249/9.197, allocations: 60.28 kB / 4.184 GB, free: 205.4 MB / 1.151 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.917e-05/9.197, allocations: 35.92 kB / 4.184 GB, free: 205.3 MB / 1.151 GB Notification: Performance of sorting global known variables: time 0.0004907/9.198, allocations: 439.1 kB / 4.184 GB, free: 204.9 MB / 1.151 GB Notification: Performance of sort global known variables: time 1.71e-07/9.198, allocations: 0 / 4.184 GB, free: 204.9 MB / 1.151 GB Notification: Performance of remove unused functions: time 0.001726/9.199, allocations: 0.5887 MB / 4.185 GB, free: 204.3 MB / 1.151 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 3 ($whenCondition1,trapezoid.T_start,trapezoid.count) * Number of discrete states: 1 (trapezoid.count) * Top-level inputs: 0 Notification: Strong component statistics for simulation (63): * Single equations (assignments): 57 * 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.003763/9.203, allocations: 4.119 MB / 4.189 GB, free: 200.3 MB / 1.151 GB Notification: Performance of simCode: created initialization part: time 0.001935/9.205, allocations: 1.155 MB / 4.19 GB, free: 199.1 MB / 1.151 GB Notification: Performance of simCode: created event and clocks part: time 6.052e-06/9.205, allocations: 320 / 4.19 GB, free: 199.1 MB / 1.151 GB Notification: Performance of simCode: created simulation system equations: time 0.0006329/9.206, allocations: 405.4 kB / 4.19 GB, free: 198.7 MB / 1.151 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001922/9.208, allocations: 357.2 kB / 4.191 GB, free: 198.4 MB / 1.151 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00319/9.211, allocations: 1.489 MB / 4.192 GB, free: 196.8 MB / 1.151 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000404/9.211, allocations: 1.067 MB / 4.193 GB, free: 195.7 MB / 1.151 GB Notification: Performance of simCode: alias equations: time 0.001437/9.213, allocations: 317.1 kB / 4.193 GB, free: 195.4 MB / 1.151 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004464/9.213, allocations: 343.3 kB / 4.194 GB, free: 195.1 MB / 1.151 GB Notification: Performance of SimCode: time 6.01e-07/9.213, allocations: 0 / 4.194 GB, free: 195.1 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05793/9.271, allocations: 35.39 MB / 4.228 GB, free: 159.9 MB / 1.151 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002151/9.271, allocations: 183.3 kB / 4.228 GB, free: 159.7 MB / 1.151 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.319/12.59, allocations: 0 / 4.228 GB, free: 159.7 MB / 1.151 GB (rm -f Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; mkfifo Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe >> ../files/Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness_fmu --startTime=0 --stopTime=360 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_HeatExchangers_Validation_ConstantEffectiveness.fmu > Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.HeatExchangers.Validation.ConstantEffectiveness_res.mat does not exist to compare? outputFormat=mat