Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_latest_Buildings.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/Buildings 10.0.0-master/package.mo", uses=false) Using package Buildings with version 10.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-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(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_latest_Buildings_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.0009506/0.0009506, allocations: 92.23 kB / 15.06 MB, free: 1.098 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.001178/0.001178, allocations: 172.7 kB / 15.95 MB, free: 208 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.349/1.349, allocations: 223.3 MB / 240 MB, free: 5.398 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 10.0.0-master/package.mo): time 2.423/2.423, allocations: 409.4 MB / 0.684 GB, free: 0.8633 MB / 0.5294 GB Notification: Performance of FrontEnd - loaded program: time 0.0003413/0.0003413, allocations: 12 kB / 0.8378 GB, free: 6.484 MB / 0.6856 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.7005/0.7009, allocations: 146.8 MB / 0.9811 GB, free: 6.223 MB / 0.7325 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.02912/0.7301, allocations: 33.05 MB / 1.013 GB, free: 5.078 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.009977/0.7401, allocations: 7.501 MB / 1.021 GB, free: 13.56 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009578/0.7411, allocations: 27.81 kB / 1.021 GB, free: 13.53 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.0008782/0.742, allocations: 302.1 kB / 1.021 GB, free: 13.23 MB / 0.7794 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:784:36-785:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:782:36-783:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:730:36-731:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/Fluid/Sources.mo:728:36-729:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.002856/0.7448, allocations: 1.137 MB / 1.022 GB, free: 12.1 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.7473, allocations: 0.8335 MB / 1.023 GB, free: 11.27 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.002655/0.75, allocations: 2.428 MB / 1.025 GB, free: 8.832 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0007307/0.7507, allocations: 0.5309 MB / 1.026 GB, free: 8.293 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001168/0.7519, allocations: 0.7272 MB / 1.027 GB, free: 7.562 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0006753/0.7526, allocations: 0.5562 MB / 1.027 GB, free: 7.004 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 7.35e-05/0.7527, allocations: 35.92 kB / 1.027 GB, free: 6.969 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001309/0.754, allocations: 0.5732 MB / 1.028 GB, free: 6.395 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0001606/0.7542, allocations: 143.4 kB / 1.028 GB, free: 6.254 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0001792/0.7544, allocations: 201.3 kB / 1.028 GB, free: 6.051 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001063/0.7554, allocations: 1.097 MB / 1.029 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of FrontEnd - DAE generated: time 6.231e-06/0.7554, allocations: 0 / 1.029 GB, free: 4.953 MB / 0.7794 GB Notification: Performance of FrontEnd: time 1.673e-06/0.7554, allocations: 3.938 kB / 1.029 GB, free: 4.949 MB / 0.7794 GB Notification: Performance of Transformations before backend: time 8.776e-06/0.7555, allocations: 0 / 1.029 GB, free: 4.949 MB / 0.7794 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.001564/0.757, allocations: 1.058 MB / 1.03 GB, free: 3.836 MB / 0.7794 GB Notification: Performance of prepare preOptimizeDAE: time 4.208e-05/0.7571, allocations: 12.03 kB / 1.03 GB, free: 3.824 MB / 0.7794 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001188/0.7572, allocations: 106.4 kB / 1.03 GB, free: 3.711 MB / 0.7794 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002047/0.7593, allocations: 306.7 kB / 1.031 GB, free: 3.41 MB / 0.7794 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001135/0.7604, allocations: 0.73 MB / 1.031 GB, free: 2.637 MB / 0.7794 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.656e-05/0.7605, allocations: 45.3 kB / 1.031 GB, free: 2.594 MB / 0.7794 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.157e-05/0.7606, allocations: 60 kB / 1.031 GB, free: 2.535 MB / 0.7794 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001602/0.7622, allocations: 0.8069 MB / 1.032 GB, free: 1.672 MB / 0.7794 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.597e-05/0.7622, allocations: 4 kB / 1.032 GB, free: 1.668 MB / 0.7794 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.423e-05/0.7623, allocations: 24 kB / 1.032 GB, free: 1.645 MB / 0.7794 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.183e-05/0.7623, allocations: 27.92 kB / 1.032 GB, free: 1.617 MB / 0.7794 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001781/0.7641, allocations: 0.6295 MB / 1.033 GB, free: 0.9844 MB / 0.7794 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.004198/0.7683, allocations: 3.951 MB / 1.037 GB, free: 12.74 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001656/0.77, allocations: 476.2 kB / 1.037 GB, free: 12.27 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007229/0.7707, allocations: 212.7 kB / 1.037 GB, free: 12.06 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005913/0.7713, allocations: 0.5376 MB / 1.038 GB, free: 11.41 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.79e-05/0.7713, allocations: 34.56 kB / 1.038 GB, free: 11.37 MB / 0.795 GB Notification: Performance of pre-optimization done (n=26): time 2.003e-06/0.7714, allocations: 3.938 kB / 1.038 GB, free: 11.36 MB / 0.795 GB Notification: Performance of matching and sorting (n=26): time 0.002692/0.7741, allocations: 0.8065 MB / 1.039 GB, free: 10.53 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.274e-05/0.7741, allocations: 110.8 kB / 1.039 GB, free: 10.4 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006581/0.7748, allocations: 0.5782 MB / 1.039 GB, free: 9.812 MB / 0.795 GB Notification: Performance of collectPreVariables (initialization): time 4.572e-05/0.7748, allocations: 33.7 kB / 1.039 GB, free: 9.773 MB / 0.795 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002498/0.7751, allocations: 383.7 kB / 1.04 GB, free: 9.395 MB / 0.795 GB Notification: Performance of collectInitialBindings (initialization): time 8.681e-05/0.7752, allocations: 94.64 kB / 1.04 GB, free: 9.301 MB / 0.795 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.808e-05/0.7752, allocations: 12 kB / 1.04 GB, free: 9.289 MB / 0.795 GB Notification: Performance of setup shared object (initialization): time 0.0001357/0.7754, allocations: 366.8 kB / 1.04 GB, free: 8.922 MB / 0.795 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007344/0.7761, allocations: 204.7 kB / 1.04 GB, free: 8.723 MB / 0.795 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008309/0.777, allocations: 371.9 kB / 1.041 GB, free: 8.293 MB / 0.795 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008023/0.7778, allocations: 249.2 kB / 1.041 GB, free: 8.051 MB / 0.795 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.657e-06/0.7778, allocations: 0 / 1.041 GB, free: 8.051 MB / 0.795 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001902/0.7797, allocations: 0.6668 MB / 1.042 GB, free: 7.375 MB / 0.795 GB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.7797, allocations: 8 kB / 1.042 GB, free: 7.367 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.061e-05/0.7797, allocations: 4 kB / 1.042 GB, free: 7.363 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002636/0.78, allocations: 60.81 kB / 1.042 GB, free: 7.301 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006747/0.7807, allocations: 143.9 kB / 1.042 GB, free: 7.16 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004406/0.7811, allocations: 0.6225 MB / 1.042 GB, free: 6.512 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0008264/0.782, allocations: 119.5 kB / 1.043 GB, free: 6.395 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.245e-05/0.7821, allocations: 31.98 kB / 1.043 GB, free: 6.363 MB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003411/0.7824, allocations: 221.7 kB / 1.043 GB, free: 6.137 MB / 0.795 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001032/0.7825, allocations: 63.25 kB / 1.043 GB, free: 6.074 MB / 0.795 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001879/0.7844, allocations: 0.6394 MB / 1.043 GB, free: 5.418 MB / 0.795 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.708e-06/0.7844, allocations: 7.938 kB / 1.044 GB, free: 5.41 MB / 0.795 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.499e-06/0.7844, allocations: 4 kB / 1.044 GB, free: 5.406 MB / 0.795 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001613/0.786, allocations: 0.7179 MB / 1.044 GB, free: 4.617 MB / 0.795 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002577/0.7886, allocations: 1.298 MB / 1.045 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.729e-06/0.7887, allocations: 0 / 1.045 GB, free: 3.246 MB / 0.795 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005129/0.7892, allocations: 91.98 kB / 1.046 GB, free: 3.156 MB / 0.795 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001945/0.7894, allocations: 52.83 kB / 1.046 GB, free: 3.102 MB / 0.795 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.49e-05/0.7894, allocations: 19.97 kB / 1.046 GB, free: 3.082 MB / 0.795 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004012/0.7898, allocations: 0.6148 MB / 1.046 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.334e-06/0.7898, allocations: 0 / 1.046 GB, free: 2.441 MB / 0.795 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00245/0.7923, allocations: 0.9096 MB / 1.047 GB, free: 1.496 MB / 0.795 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003043/0.7926, allocations: 208.2 kB / 1.047 GB, free: 1.273 MB / 0.795 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001356/0.7928, allocations: 8 kB / 1.047 GB, free: 1.266 MB / 0.795 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008069/0.7936, allocations: 83.81 kB / 1.047 GB, free: 1.184 MB / 0.795 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.407e-05/0.7937, allocations: 23.92 kB / 1.047 GB, free: 1.16 MB / 0.795 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.498e-05/0.7937, allocations: 23.97 kB / 1.047 GB, free: 1.137 MB / 0.795 GB Notification: Performance of sorting global known variables: time 0.0005207/0.7942, allocations: 415.1 kB / 1.048 GB, free: 0.7344 MB / 0.795 GB Notification: Performance of sort global known variables: time 2e-07/0.7942, allocations: 4 kB / 1.048 GB, free: 0.7305 MB / 0.795 GB Notification: Performance of remove unused functions: time 0.0009771/0.7952, allocations: 275.5 kB / 1.048 GB, free: 472 kB / 0.795 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 (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003412/0.7987, allocations: 1.657 MB / 1.05 GB, free: 14.77 MB / 0.8106 GB Notification: Performance of simCode: created initialization part: time 0.001809/0.8005, allocations: 0.5003 MB / 1.05 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.8005, allocations: 3.938 kB / 1.05 GB, free: 14.27 MB / 0.8106 GB Notification: Performance of simCode: created simulation system equations: time 0.0008407/0.8013, allocations: 248.9 kB / 1.05 GB, free: 14.02 MB / 0.8106 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00163/0.803, allocations: 308.6 kB / 1.051 GB, free: 13.73 MB / 0.8106 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008372/0.8114, allocations: 3.964 MB / 1.055 GB, free: 9.641 MB / 0.8106 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005086/0.8119, allocations: 0.9254 MB / 1.056 GB, free: 8.688 MB / 0.8106 GB Notification: Performance of simCode: alias equations: time 0.0006804/0.8126, allocations: 151.7 kB / 1.056 GB, free: 8.543 MB / 0.8106 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003766/0.813, allocations: 263.3 kB / 1.056 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of SimCode: time 6.01e-07/0.813, allocations: 0 / 1.056 GB, free: 8.285 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03767/0.8507, allocations: 19.52 MB / 1.075 GB, free: 5.156 MB / 0.8262 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001988/0.8509, allocations: 269.5 kB / 1.075 GB, free: 4.801 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.225/3.076, allocations: 64 / 1.075 GB, free: 4.801 MB / 0.8262 GB (rm -f Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat --tempDir=temp_Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_latest_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result Buildings_latest_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser_res.mat does not exist to compare? outputFormat=mat