Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001866/0.001866, allocations: 117.4 kB / 17.17 MB, free: 5.977 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002143/0.002143, allocations: 214.3 kB / 20.13 MB, free: 3.035 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.496/1.496, allocations: 230.6 MB / 253.5 MB, free: 15.12 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002427/0.002427, allocations: 281 kB / 309.8 MB, free: 3.562 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.082/1.082, allocations: 180.6 MB / 0.5338 GB, free: 12.41 MB / 398.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: BuildingSystems requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.003109/0.003109, allocations: 103.8 kB / 0.7347 GB, free: 2.512 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4725/0.4756, allocations: 95.34 MB / 0.8278 GB, free: 3.051 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07484/0.5505, allocations: 71.25 MB / 0.8973 GB, free: 13.8 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02603/0.5765, allocations: 19.02 MB / 0.9159 GB, free: 14.34 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002534/0.579, allocations: 94 kB / 0.916 GB, free: 14.29 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002585/0.5816, allocations: 0.8609 MB / 0.9169 GB, free: 13.55 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008093/0.5897, allocations: 3.005 MB / 0.9198 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00451/0.5942, allocations: 1.663 MB / 0.9214 GB, free: 9.887 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006126/0.6003, allocations: 4.047 MB / 0.9254 GB, free: 5.988 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002268/0.6026, allocations: 1.184 MB / 0.9265 GB, free: 4.773 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004681/0.6073, allocations: 1.829 MB / 0.9283 GB, free: 2.938 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002795/0.6101, allocations: 1.233 MB / 0.9295 GB, free: 1.699 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0005543/0.6106, allocations: 180 kB / 0.9297 GB, free: 1.523 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003805/0.6144, allocations: 1.466 MB / 0.9311 GB, free: 56 kB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0006542/0.6151, allocations: 406.5 kB / 0.9315 GB, free: 15.65 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.00164/0.6167, allocations: 0.9138 MB / 0.9324 GB, free: 14.73 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00522/0.622, allocations: 3.15 MB / 0.9355 GB, free: 11.58 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 7.264e-06/0.622, allocations: 3.984 kB / 0.9355 GB, free: 11.57 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.663e-06/0.622, allocations: 0 / 0.9355 GB, free: 11.57 MB / 0.67 GB Notification: Performance of Transformations before backend: time 4.15e-05/0.622, allocations: 0 / 0.9355 GB, free: 11.57 MB / 0.67 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.003928/0.6259, allocations: 2.083 MB / 0.9375 GB, free: 9.426 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.031e-05/0.626, allocations: 12.03 kB / 0.9375 GB, free: 9.414 MB / 0.67 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.436e-05/0.626, allocations: 26.22 kB / 0.9375 GB, free: 9.387 MB / 0.67 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001899/0.6262, allocations: 156.6 kB / 0.9377 GB, free: 9.227 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002399/0.6286, allocations: 455 kB / 0.9381 GB, free: 8.781 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002878/0.6315, allocations: 1.56 MB / 0.9396 GB, free: 7.164 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.093e-05/0.6316, allocations: 78.03 kB / 0.9397 GB, free: 7.086 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.000165/0.6317, allocations: 104 kB / 0.9398 GB, free: 6.984 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002704/0.6344, allocations: 1.32 MB / 0.9411 GB, free: 5.559 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.384e-05/0.6344, allocations: 3.938 kB / 0.9411 GB, free: 5.555 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.6346, allocations: 48 kB / 0.9412 GB, free: 5.508 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.519e-05/0.6346, allocations: 28 kB / 0.9412 GB, free: 5.48 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002893/0.6375, allocations: 1.097 MB / 0.9423 GB, free: 4.383 MB / 0.67 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.009699/0.6472, allocations: 7.507 MB / 0.9496 GB, free: 12.36 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003401/0.6506, allocations: 0.7712 MB / 0.9503 GB, free: 11.58 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006715/0.6512, allocations: 273.9 kB / 0.9506 GB, free: 11.31 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001687/0.6529, allocations: 1.714 MB / 0.9523 GB, free: 9.211 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.42e-05/0.653, allocations: 46.88 kB / 0.9523 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.555e-06/0.653, allocations: 0 / 0.9523 GB, free: 9.156 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.00523/0.6582, allocations: 1.339 MB / 0.9536 GB, free: 7.789 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.971e-05/0.6582, allocations: 59.84 kB / 0.9537 GB, free: 7.719 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002598/0.6608, allocations: 1.542 MB / 0.9552 GB, free: 6.168 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.928e-05/0.6609, allocations: 41.64 kB / 0.9552 GB, free: 6.121 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.000664/0.6616, allocations: 0.6818 MB / 0.9559 GB, free: 5.434 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002111/0.6618, allocations: 182.5 kB / 0.9561 GB, free: 5.254 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000326/0.6621, allocations: 178.5 kB / 0.9562 GB, free: 5.07 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001643/0.6623, allocations: 337.9 kB / 0.9566 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001054/0.6634, allocations: 365.8 kB / 0.9569 GB, free: 4.379 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001374/0.6647, allocations: 0.6546 MB / 0.9576 GB, free: 3.598 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001981/0.6667, allocations: 0.8868 MB / 0.9584 GB, free: 2.609 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.305e-06/0.6667, allocations: 7.938 kB / 0.9584 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003312/0.67, allocations: 1.19 MB / 0.9596 GB, free: 1.402 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.286e-05/0.6701, allocations: 12.03 kB / 0.9596 GB, free: 1.391 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.668e-05/0.6701, allocations: 8 kB / 0.9596 GB, free: 1.383 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009366/0.671, allocations: 216.6 kB / 0.9598 GB, free: 1.168 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008248/0.6718, allocations: 199.7 kB / 0.96 GB, free: 0.9727 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009837/0.6728, allocations: 0.7201 MB / 0.9607 GB, free: 232 kB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001607/0.6744, allocations: 215 kB / 0.9609 GB, free: 16 kB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001301/0.6745, allocations: 44.03 kB / 0.961 GB, free: 15.97 MB / 0.7012 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 35 * 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 (84): * Single equations (assignments): 83 * 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,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006299/0.6752, allocations: 358.6 kB / 0.9613 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002851/0.6755, allocations: 155.1 kB / 0.9614 GB, free: 15.46 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002599/0.6781, allocations: 1.143 MB / 0.9626 GB, free: 14.3 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.717e-05/0.6781, allocations: 8 kB / 0.9626 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.899e-06/0.6781, allocations: 0 / 0.9626 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.6781, allocations: 3.984 kB / 0.9626 GB, free: 14.29 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005537/0.6836, allocations: 2.51 MB / 0.965 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.792e-06/0.6836, allocations: 0 / 0.965 GB, free: 11.7 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003824/0.684, allocations: 87.88 kB / 0.9651 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008155/0.6848, allocations: 208.8 kB / 0.9653 GB, free: 11.41 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.308e-05/0.6849, allocations: 16 kB / 0.9653 GB, free: 11.39 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.6863, allocations: 0.7785 MB / 0.9661 GB, free: 10.59 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.178e-06/0.6863, allocations: 4.031 kB / 0.9661 GB, free: 10.58 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003704/0.69, allocations: 1.208 MB / 0.9673 GB, free: 9.332 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000623/0.6906, allocations: 363.7 kB / 0.9676 GB, free: 8.957 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001809/0.6908, allocations: 15.94 kB / 0.9676 GB, free: 8.941 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009116/0.6917, allocations: 71.91 kB / 0.9677 GB, free: 8.871 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.302e-05/0.6918, allocations: 36.52 kB / 0.9677 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.223e-05/0.6919, allocations: 23.98 kB / 0.9678 GB, free: 8.812 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001858/0.6937, allocations: 1.09 MB / 0.9688 GB, free: 7.727 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1e-07/0.6937, allocations: 0 / 0.9688 GB, free: 7.727 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001328/0.6951, allocations: 451 kB / 0.9692 GB, free: 7.285 MB / 0.7012 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * 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,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004737/0.6998, allocations: 2.118 MB / 0.9713 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.002327/0.7021, allocations: 0.8213 MB / 0.9721 GB, free: 4.301 MB / 0.7012 GB Notification: Performance of simCode: created event and clocks part: time 5.15e-06/0.7021, allocations: 4 kB / 0.9721 GB, free: 4.297 MB / 0.7012 GB Notification: Performance of simCode: created simulation system equations: time 0.001341/0.7035, allocations: 419.5 kB / 0.9725 GB, free: 3.891 MB / 0.7012 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003249/0.7067, allocations: 0.7482 MB / 0.9733 GB, free: 3.152 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01933/0.7261, allocations: 10.49 MB / 0.9835 GB, free: 8.285 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008567/0.7269, allocations: 1.168 MB / 0.9846 GB, free: 7.086 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001035/0.728, allocations: 275.1 kB / 0.9849 GB, free: 6.816 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000804/0.7288, allocations: 0.5422 MB / 0.9854 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of SimCode: time 6.21e-07/0.7288, allocations: 0 / 0.9854 GB, free: 6.273 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08326/0.812, allocations: 43.92 MB / 1.028 GB, free: 10.96 MB / 0.7637 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.8/15.61, allocations: 16.05 kB / 1.028 GB, free: 10.95 MB / 0.7637 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.730376004008576] Failed to read output from testmodel.py, exit status != 0: 15.796341834997293 15.820001782 15.193409618 Calling exit ...