Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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/NcDataReader2 2.5.1-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo", uses=false) Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/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(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser",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.005117/0.005117, allocations: 102.6 kB / 15.73 MB, free: 6.496 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.001222/0.001222, allocations: 195.7 kB / 16.67 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.321/1.321, allocations: 222.9 MB / 240.4 MB, free: 4.301 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 2.5.1-master/package.mo): time 0.002341/0.002341, allocations: 281.9 kB / 290.8 MB, free: 1.91 MB / 238.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems 2.0.0-master/package.mo): time 0.9562/0.9562, allocations: 169.3 MB / 0.4983 GB, free: 13.8 MB / 382.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001975/0.001976, allocations: 96.38 kB / 0.681 GB, free: 15.99 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1611/0.1631, allocations: 86.98 MB / 0.7659 GB, free: 8.941 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.3749/0.5381, allocations: 35.86 MB / 0.8009 GB, free: 9.434 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.01165/0.5498, allocations: 8.002 MB / 0.8087 GB, free: 3.754 MB / 0.5762 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001362/0.5512, allocations: 32.31 kB / 0.8088 GB, free: 3.742 MB / 0.5762 GB Notification: Performance of NFTyping.typeComponents: time 0.001296/0.5525, allocations: 424.2 kB / 0.8092 GB, free: 3.488 MB / 0.5762 GB Notification: Performance of NFTyping.typeBindings: time 0.004459/0.557, allocations: 1.397 MB / 0.8105 GB, free: 2.684 MB / 0.5762 GB Notification: Performance of NFTyping.typeClassSections: time 0.003304/0.5603, allocations: 1.112 MB / 0.8116 GB, free: 2.094 MB / 0.5762 GB Notification: Performance of NFFlatten.flatten: time 0.003663/0.564, allocations: 2.14 MB / 0.8137 GB, free: 1.055 MB / 0.5762 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001464/0.5655, allocations: 0.7182 MB / 0.8144 GB, free: 0.7383 MB / 0.5762 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002754/0.5682, allocations: 0.9056 MB / 0.8153 GB, free: 324 kB / 0.5762 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00137/0.5696, allocations: 0.61 MB / 0.8159 GB, free: 40 kB / 0.5762 GB Notification: Performance of NFPackage.collectConstants: time 0.0002626/0.5699, allocations: 79.59 kB / 0.816 GB, free: 36 kB / 0.5762 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002456/0.5723, allocations: 0.847 MB / 0.8168 GB, free: 15.74 MB / 0.5919 GB Notification: Performance of NFScalarize.scalarize: time 0.0003797/0.5727, allocations: 202.5 kB / 0.817 GB, free: 15.62 MB / 0.5919 GB Notification: Performance of NFVerifyModel.verify: time 0.001064/0.5738, allocations: 481.8 kB / 0.8174 GB, free: 15.34 MB / 0.5919 GB Notification: Performance of NFConvertDAE.convert: time 0.003324/0.5771, allocations: 1.518 MB / 0.8189 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd - DAE generated: time 1.318e-05/0.5772, allocations: 0 / 0.8189 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of FrontEnd: time 3.076e-06/0.5772, allocations: 3.938 kB / 0.8189 GB, free: 14.79 MB / 0.5919 GB Notification: Performance of Transformations before backend: time 2.998e-05/0.5772, allocations: 3.938 kB / 0.8189 GB, free: 14.78 MB / 0.5919 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.002553/0.5798, allocations: 1.225 MB / 0.8201 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of prepare preOptimizeDAE: time 4.686e-05/0.5798, allocations: 9.062 kB / 0.8201 GB, free: 13.91 MB / 0.5919 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001394/0.58, allocations: 101.1 kB / 0.8202 GB, free: 13.83 MB / 0.5919 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002491/0.5825, allocations: 304.3 kB / 0.8205 GB, free: 13.77 MB / 0.5919 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001596/0.5841, allocations: 0.7617 MB / 0.8213 GB, free: 13.29 MB / 0.5919 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.596e-05/0.5841, allocations: 45.36 kB / 0.8213 GB, free: 13.27 MB / 0.5919 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001156/0.5843, allocations: 59.28 kB / 0.8214 GB, free: 13.25 MB / 0.5919 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00197/0.5862, allocations: 0.7932 MB / 0.8221 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.846e-05/0.5863, allocations: 1.344 kB / 0.8221 GB, free: 12.86 MB / 0.5919 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.668e-05/0.5864, allocations: 26.69 kB / 0.8222 GB, free: 12.84 MB / 0.5919 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.333e-05/0.5864, allocations: 22.59 kB / 0.8222 GB, free: 12.83 MB / 0.5919 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002072/0.5885, allocations: 0.6171 MB / 0.8228 GB, free: 12.64 MB / 0.5919 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.005213/0.5937, allocations: 3.921 MB / 0.8266 GB, free: 9.523 MB / 0.5919 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001828/0.5955, allocations: 467.6 kB / 0.8271 GB, free: 9.297 MB / 0.5919 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007879/0.5964, allocations: 201.2 kB / 0.8273 GB, free: 9.199 MB / 0.5919 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006927/0.5971, allocations: 0.5212 MB / 0.8278 GB, free: 8.605 MB / 0.5919 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.653e-05/0.5971, allocations: 37.31 kB / 0.8278 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of pre-optimization done (n=26): time 2.464e-06/0.5971, allocations: 0 / 0.8278 GB, free: 8.562 MB / 0.5919 GB Notification: Performance of matching and sorting (n=26): time 0.003096/0.6002, allocations: 0.7766 MB / 0.8286 GB, free: 8.109 MB / 0.5919 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.87e-05/0.6003, allocations: 109.6 kB / 0.8287 GB, free: 7.98 MB / 0.5919 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008602/0.6012, allocations: 0.5872 MB / 0.8292 GB, free: 7.625 MB / 0.5919 GB Notification: Performance of collectPreVariables (initialization): time 7.399e-05/0.6012, allocations: 31.73 kB / 0.8293 GB, free: 7.59 MB / 0.5919 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002921/0.6015, allocations: 389.3 kB / 0.8296 GB, free: 7.25 MB / 0.5919 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001054/0.6017, allocations: 94.88 kB / 0.8297 GB, free: 7.168 MB / 0.5919 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001712/0.6018, allocations: 104.8 kB / 0.8298 GB, free: 7.094 MB / 0.5919 GB Notification: Performance of setup shared object (initialization): time 0.0001434/0.602, allocations: 371.8 kB / 0.8302 GB, free: 6.734 MB / 0.5919 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008064/0.6028, allocations: 196.9 kB / 0.8304 GB, free: 6.645 MB / 0.5919 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009287/0.6037, allocations: 358.5 kB / 0.8307 GB, free: 6.352 MB / 0.5919 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001689/0.6054, allocations: 0.5234 MB / 0.8312 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.54e-06/0.6055, allocations: 1.188 kB / 0.8312 GB, free: 5.992 MB / 0.5919 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.002156/0.6076, allocations: 0.6569 MB / 0.8319 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of prepare postOptimizeDAE: time 2.007e-05/0.6076, allocations: 7.125 kB / 0.8319 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.066e-05/0.6077, allocations: 4.188 kB / 0.8319 GB, free: 5.645 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002726/0.6079, allocations: 59.45 kB / 0.8319 GB, free: 5.617 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007147/0.6087, allocations: 141.3 kB / 0.8321 GB, free: 5.566 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004823/0.6092, allocations: 0.6185 MB / 0.8327 GB, free: 4.984 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008984/0.6101, allocations: 85.69 kB / 0.8328 GB, free: 4.934 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.816e-05/0.6101, allocations: 24.58 kB / 0.8328 GB, free: 4.926 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (46): * Single equations (assignments): 45 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of prepare postOptimizeDAE: time 0.0004091/0.6106, allocations: 218.2 kB / 0.833 GB, free: 4.746 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002149/0.6108, allocations: 66.56 kB / 0.833 GB, free: 4.711 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002056/0.6128, allocations: 0.6164 MB / 0.8337 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.638e-06/0.6129, allocations: 1.75 kB / 0.8337 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.392e-06/0.6129, allocations: 1.719 kB / 0.8337 GB, free: 4.344 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001749/0.6146, allocations: 0.6975 MB / 0.8343 GB, free: 3.789 MB / 0.5919 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003006/0.6176, allocations: 1.307 MB / 0.8356 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.332e-06/0.6177, allocations: 5.188 kB / 0.8356 GB, free: 2.828 MB / 0.5919 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005583/0.6182, allocations: 83.25 kB / 0.8357 GB, free: 2.793 MB / 0.5919 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002073/0.6185, allocations: 57.94 kB / 0.8358 GB, free: 2.762 MB / 0.5919 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.317e-05/0.6185, allocations: 17.2 kB / 0.8358 GB, free: 2.75 MB / 0.5919 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004424/0.619, allocations: 0.6107 MB / 0.8364 GB, free: 2.172 MB / 0.5919 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.042e-05/0.619, allocations: 5.188 kB / 0.8364 GB, free: 2.168 MB / 0.5919 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002764/0.6217, allocations: 0.8872 MB / 0.8372 GB, free: 1.613 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004066/0.6222, allocations: 214.5 kB / 0.8374 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001799/0.6224, allocations: 3.094 kB / 0.8374 GB, free: 1.418 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008826/0.6232, allocations: 56.28 kB / 0.8375 GB, free: 1.391 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.058e-05/0.6233, allocations: 24.59 kB / 0.8375 GB, free: 1.375 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.943e-05/0.6234, allocations: 25.28 kB / 0.8375 GB, free: 1.363 MB / 0.5919 GB Notification: Performance of sorting global known variables: time 0.0006978/0.6241, allocations: 484.4 kB / 0.838 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of sort global known variables: time 2.61e-07/0.6241, allocations: 0 / 0.838 GB, free: 1.086 MB / 0.5919 GB Notification: Performance of remove unused functions: time 0.00108/0.6252, allocations: 275.7 kB / 0.8383 GB, free: 1.02 MB / 0.5919 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senTem.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,5)} Notification: Performance of Backend phase and start with SimCode phase: time 0.003779/0.629, allocations: 1.644 MB / 0.8399 GB, free: 15.84 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.001896/0.6309, allocations: 0.4909 MB / 0.8404 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: created event and clocks part: time 4.449e-06/0.6309, allocations: 1.188 kB / 0.8404 GB, free: 15.61 MB / 0.6075 GB Notification: Performance of simCode: created simulation system equations: time 0.0008787/0.6318, allocations: 240.5 kB / 0.8406 GB, free: 15.5 MB / 0.6075 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.6337, allocations: 392.5 kB / 0.841 GB, free: 15.3 MB / 0.6075 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01113/0.6449, allocations: 5.741 MB / 0.8466 GB, free: 11.57 MB / 0.6075 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005287/0.6454, allocations: 0.9249 MB / 0.8475 GB, free: 10.77 MB / 0.6075 GB Notification: Performance of simCode: alias equations: time 0.0006854/0.6461, allocations: 156.4 kB / 0.8476 GB, free: 10.69 MB / 0.6075 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004074/0.6465, allocations: 274.6 kB / 0.8479 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of SimCode: time 4.21e-07/0.6466, allocations: 0 / 0.8479 GB, free: 10.47 MB / 0.6075 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04904/0.6956, allocations: 22.77 MB / 0.8701 GB, free: 8.016 MB / 0.6231 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.43/12.12, allocations: 4 kB / 0.8701 GB, free: 8.012 MB / 0.6231 GB (rm -f BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > BuildingSystems_BuildingSystems.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)