Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.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.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL,fileNamePrefix="Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL",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.0007973/0.0007974, allocations: 86.64 kB / 15.06 MB, free: 1.09 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.0008564/0.0008565, allocations: 168.7 kB / 15.95 MB, free: 204 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.38/1.38, allocations: 223.3 MB / 240 MB, free: 5.418 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.526/2.526, allocations: 390.4 MB / 0.6655 GB, free: 2.957 MB / 0.5137 GB Notification: Performance of FrontEnd - loaded program: time 0.0003626/0.0003626, allocations: 8 kB / 0.8149 GB, free: 14.18 MB / 0.67 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.699/0.6994, allocations: 142.3 MB / 0.9538 GB, free: 8.145 MB / 0.7169 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL): time 0.05362/0.753, allocations: 56.53 MB / 1.009 GB, free: 7.473 MB / 0.7637 GB Notification: Performance of NFInst.instExpressions: time 0.01542/0.7685, allocations: 11.22 MB / 1.02 GB, free: 12.23 MB / 0.7794 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001916/0.7705, allocations: 51.69 kB / 1.02 GB, free: 12.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeComponents: time 0.001494/0.772, allocations: 468.8 kB / 1.021 GB, free: 11.71 MB / 0.7794 GB Notification: Performance of NFTyping.typeBindings: time 0.004163/0.7761, allocations: 1.53 MB / 1.022 GB, free: 10.18 MB / 0.7794 GB Notification: Performance of NFTyping.typeClassSections: time 0.002433/0.7786, allocations: 0.8668 MB / 1.023 GB, free: 9.324 MB / 0.7794 GB Notification: Performance of NFFlatten.flatten: time 0.004057/0.7827, allocations: 3.386 MB / 1.026 GB, free: 5.93 MB / 0.7794 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001198/0.7839, allocations: 0.7899 MB / 1.027 GB, free: 5.109 MB / 0.7794 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00203/0.7859, allocations: 1.042 MB / 1.028 GB, free: 4.062 MB / 0.7794 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001068/0.787, allocations: 0.8049 MB / 1.029 GB, free: 3.254 MB / 0.7794 GB Notification: Performance of NFPackage.collectConstants: time 0.0001031/0.7871, allocations: 40 kB / 1.029 GB, free: 3.215 MB / 0.7794 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002299/0.7894, allocations: 1.127 MB / 1.03 GB, free: 2.086 MB / 0.7794 GB Notification: Performance of NFScalarize.scalarize: time 0.0002195/0.7896, allocations: 195 kB / 1.03 GB, free: 1.895 MB / 0.7794 GB Notification: Performance of NFVerifyModel.verify: time 0.0002756/0.7899, allocations: 289 kB / 1.03 GB, free: 1.605 MB / 0.7794 GB Notification: Performance of NFConvertDAE.convert: time 0.001716/0.7916, allocations: 1.648 MB / 1.032 GB, free: 15.95 MB / 0.795 GB Notification: Performance of FrontEnd - DAE generated: time 4.558e-06/0.7917, allocations: 4 kB / 1.032 GB, free: 15.95 MB / 0.795 GB Notification: Performance of FrontEnd: time 1.643e-06/0.7917, allocations: 0 / 1.032 GB, free: 15.95 MB / 0.795 GB Notification: Performance of Transformations before backend: time 1.326e-05/0.7917, allocations: 0 / 1.032 GB, free: 15.95 MB / 0.795 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002522/0.7942, allocations: 1.505 MB / 1.033 GB, free: 14.39 MB / 0.795 GB Notification: Performance of prepare preOptimizeDAE: time 4.209e-05/0.7943, allocations: 12.03 kB / 1.033 GB, free: 14.38 MB / 0.795 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001504/0.7944, allocations: 126.6 kB / 1.034 GB, free: 14.24 MB / 0.795 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001543/0.796, allocations: 390 kB / 1.034 GB, free: 13.86 MB / 0.795 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001981/0.798, allocations: 1.078 MB / 1.035 GB, free: 12.72 MB / 0.795 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003272/0.7983, allocations: 137.9 kB / 1.035 GB, free: 12.59 MB / 0.795 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001091/0.7984, allocations: 80 kB / 1.035 GB, free: 12.51 MB / 0.795 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001798/0.8002, allocations: 0.9661 MB / 1.036 GB, free: 11.5 MB / 0.795 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.954e-05/0.8003, allocations: 3.938 kB / 1.036 GB, free: 11.5 MB / 0.795 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.503e-05/0.8004, allocations: 36 kB / 1.036 GB, free: 11.46 MB / 0.795 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.854e-05/0.8004, allocations: 20 kB / 1.036 GB, free: 11.44 MB / 0.795 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001961/0.8023, allocations: 0.8392 MB / 1.037 GB, free: 10.61 MB / 0.795 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.006156/0.8085, allocations: 4.797 MB / 1.042 GB, free: 5.453 MB / 0.795 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001462/0.81, allocations: 0.6055 MB / 1.042 GB, free: 4.84 MB / 0.795 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005986/0.8106, allocations: 288.7 kB / 1.043 GB, free: 4.555 MB / 0.795 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001434/0.812, allocations: 1.392 MB / 1.044 GB, free: 2.867 MB / 0.795 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.804e-05/0.8121, allocations: 38.5 kB / 1.044 GB, free: 2.82 MB / 0.795 GB Notification: Performance of pre-optimization done (n=44): time 2.465e-06/0.8121, allocations: 4 kB / 1.044 GB, free: 2.816 MB / 0.795 GB Notification: Performance of matching and sorting (n=44): time 0.005408/0.8175, allocations: 1.68 MB / 1.046 GB, free: 1.105 MB / 0.795 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.8176, allocations: 55.41 kB / 1.046 GB, free: 1.039 MB / 0.795 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001497/0.8191, allocations: 1.051 MB / 1.047 GB, free: 15.97 MB / 0.8106 GB Notification: Performance of collectPreVariables (initialization): time 6.401e-05/0.8192, allocations: 37.7 kB / 1.047 GB, free: 15.93 MB / 0.8106 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004558/0.8196, allocations: 0.5234 MB / 1.047 GB, free: 15.4 MB / 0.8106 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001297/0.8198, allocations: 157.7 kB / 1.047 GB, free: 15.25 MB / 0.8106 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.435e-05/0.8198, allocations: 12 kB / 1.047 GB, free: 15.23 MB / 0.8106 GB Notification: Performance of setup shared object (initialization): time 0.0001342/0.82, allocations: 330 kB / 1.048 GB, free: 14.91 MB / 0.8106 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000723/0.8207, allocations: 281 kB / 1.048 GB, free: 14.63 MB / 0.8106 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008588/0.8216, allocations: 483.7 kB / 1.048 GB, free: 14.09 MB / 0.8106 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007568/0.8223, allocations: 327.3 kB / 1.049 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.747e-06/0.8223, allocations: 0 / 1.049 GB, free: 13.77 MB / 0.8106 GB Notification: Performance of matching and sorting (n=65) (initialization): time 0.002218/0.8246, allocations: 0.965 MB / 1.05 GB, free: 12.79 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001371/0.8247, allocations: 209.5 kB / 1.05 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.001e-05/0.8247, allocations: 4 kB / 1.05 GB, free: 12.53 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001242/0.826, allocations: 332.7 kB / 1.05 GB, free: 12.2 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004536/0.8264, allocations: 115.8 kB / 1.05 GB, free: 12.09 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001421/0.8279, allocations: 0.9397 MB / 1.051 GB, free: 11.12 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001158/0.829, allocations: 171.3 kB / 1.051 GB, free: 10.95 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.156e-05/0.8291, allocations: 31.98 kB / 1.051 GB, free: 10.92 MB / 0.8106 GB Notification: Performance of prepare postOptimizeDAE: time 1.053e-05/0.8292, allocations: 8 kB / 1.051 GB, free: 10.91 MB / 0.8106 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00209/0.8312, allocations: 0.8394 MB / 1.052 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.592e-06/0.8313, allocations: 4 kB / 1.052 GB, free: 10.07 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00102/0.8323, allocations: 327.5 kB / 1.053 GB, free: 9.746 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004374/0.8327, allocations: 119.8 kB / 1.053 GB, free: 9.629 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001368/0.8341, allocations: 0.9347 MB / 1.054 GB, free: 8.668 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009907/0.8351, allocations: 157.6 kB / 1.054 GB, free: 8.516 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.713e-05/0.8352, allocations: 27.98 kB / 1.054 GB, free: 8.488 MB / 0.8106 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (51): * Single equations (assignments): 50 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0005374/0.8357, allocations: 352.9 kB / 1.054 GB, free: 8.133 MB / 0.8106 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001552/0.8359, allocations: 114.6 kB / 1.054 GB, free: 8.02 MB / 0.8106 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002134/0.838, allocations: 0.9477 MB / 1.055 GB, free: 7.059 MB / 0.8106 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.498e-05/0.8381, allocations: 8 kB / 1.055 GB, free: 7.051 MB / 0.8106 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.074e-06/0.8381, allocations: 4 kB / 1.055 GB, free: 7.047 MB / 0.8106 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.015e-06/0.8381, allocations: 3.984 kB / 1.055 GB, free: 7.043 MB / 0.8106 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005247/0.8433, allocations: 2.327 MB / 1.057 GB, free: 4.625 MB / 0.8106 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.055e-06/0.8434, allocations: 4 kB / 1.057 GB, free: 4.621 MB / 0.8106 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001975/0.8436, allocations: 59.91 kB / 1.057 GB, free: 4.562 MB / 0.8106 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000967/0.8445, allocations: 332.8 kB / 1.058 GB, free: 4.234 MB / 0.8106 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.191e-05/0.8446, allocations: 11.94 kB / 1.058 GB, free: 4.223 MB / 0.8106 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001429/0.846, allocations: 0.9793 MB / 1.059 GB, free: 3.219 MB / 0.8106 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.817e-06/0.846, allocations: 4 kB / 1.059 GB, free: 3.215 MB / 0.8106 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003786/0.8498, allocations: 1.349 MB / 1.06 GB, free: 1.82 MB / 0.8106 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004881/0.8503, allocations: 283.4 kB / 1.06 GB, free: 1.523 MB / 0.8106 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001253/0.8505, allocations: 11.98 kB / 1.06 GB, free: 1.512 MB / 0.8106 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007663/0.8512, allocations: 99.91 kB / 1.06 GB, free: 1.414 MB / 0.8106 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.346e-05/0.8513, allocations: 43.84 kB / 1.061 GB, free: 1.371 MB / 0.8106 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.037e-05/0.8514, allocations: 23.98 kB / 1.061 GB, free: 1.348 MB / 0.8106 GB Notification: Performance of sorting global known variables: time 0.00118/0.8526, allocations: 0.7352 MB / 1.061 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of sort global known variables: time 1.5e-07/0.8526, allocations: 0 / 1.061 GB, free: 0.6055 MB / 0.8106 GB Notification: Performance of remove unused functions: time 0.001573/0.8542, allocations: 0.5731 MB / 1.062 GB, free: 32 kB / 0.8106 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 simulation (34): * Single equations (assignments): 29 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004125/0.8583, allocations: 2.059 MB / 1.064 GB, free: 13.92 MB / 0.8262 GB Notification: Performance of simCode: created initialization part: time 0.002665/0.861, allocations: 1.055 MB / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.861, allocations: 0 / 1.065 GB, free: 12.87 MB / 0.8262 GB Notification: Performance of simCode: created simulation system equations: time 0.0007285/0.8617, allocations: 334.2 kB / 1.065 GB, free: 12.54 MB / 0.8262 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002336/0.8641, allocations: 0.5072 MB / 1.066 GB, free: 12.04 MB / 0.8262 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01326/0.8773, allocations: 6.491 MB / 1.072 GB, free: 5.238 MB / 0.8262 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000781/0.8782, allocations: 1.058 MB / 1.073 GB, free: 4.148 MB / 0.8262 GB Notification: Performance of simCode: alias equations: time 0.001034/0.8792, allocations: 220.7 kB / 1.073 GB, free: 3.93 MB / 0.8262 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005279/0.8798, allocations: 407.3 kB / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of SimCode: time 1.002e-06/0.8798, allocations: 0 / 1.074 GB, free: 3.531 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05637/0.9361, allocations: 33.58 MB / 1.106 GB, free: 2.43 MB / 0.8575 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001882/0.9364, allocations: 254.2 kB / 1.107 GB, free: 2.09 MB / 0.8575 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.585/3.521, allocations: 0 / 1.107 GB, free: 2.09 MB / 0.8575 GB (rm -f Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; mkfifo Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe ; head -c 1048576 < Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe >> ../files/Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat --tempDir=temp_Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_9_Buildings_Fluid_Chillers_Validation_Carnot_TEva_etaPL.fmu > Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result Buildings_9_Buildings.Fluid.Chillers.Validation.Carnot_TEva_etaPL_res.mat does not exist to compare? outputFormat=mat