Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_11_Buildings.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.000896/0.000896, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.000863/0.000863, allocations: 165.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8867/0.8867, allocations: 177.1 MB / 202.8 MB, free: 5.754 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/package.mo): time 1.688/1.688, allocations: 359 MB / 0.6037 GB, free: 11.09 MB / 0.573 GB " [Timeout remaining time 178] Using package Buildings with version 11.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 11.1.2-maint.11.x/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(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 2.705e-06/2.705e-06, allocations: 0 / 0.9505 GB, free: 3.539 MB / 0.9011 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.526e-05/2.796e-05, allocations: 10.22 kB / 0.9505 GB, free: 3.527 MB / 0.9011 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04479/0.04481, allocations: 64.56 MB / 1.014 GB, free: 2.738 MB / 0.9636 GB Notification: Performance of NFInst.instExpressions: time 0.01718/0.06199, allocations: 17.54 MB / 1.031 GB, free: 1.145 MB / 0.9792 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001898/0.06389, allocations: 95.19 kB / 1.031 GB, free: 1.051 MB / 0.9792 GB Notification: Performance of NFTyping.typeComponents: time 0.001553/0.06544, allocations: 0.8421 MB / 1.032 GB, free: 208 kB / 0.9792 GB Notification: Performance of NFTyping.typeBindings: time 0.005979/0.07142, allocations: 3.113 MB / 1.035 GB, free: 13.07 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002891/0.07431, allocations: 1.769 MB / 1.036 GB, free: 11.31 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.004245/0.07856, allocations: 4.103 MB / 1.04 GB, free: 7.195 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001778/0.08034, allocations: 1.134 MB / 1.041 GB, free: 6.027 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003311/0.08365, allocations: 2.435 MB / 1.044 GB, free: 3.59 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001404/0.08505, allocations: 1.032 MB / 1.045 GB, free: 2.555 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.000237/0.08529, allocations: 176 kB / 1.045 GB, free: 2.383 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001887/0.08718, allocations: 1.181 MB / 1.046 GB, free: 1.199 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0002655/0.08744, allocations: 406.3 kB / 1.047 GB, free: 0.8008 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0006917/0.08813, allocations: 0.6002 MB / 1.047 GB, free: 204 kB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.4659/0.5541, allocations: 3.148 MB / 1.05 GB, free: 65.38 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 6.212e-06/0.5541, allocations: 0 / 1.05 GB, free: 65.38 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.813e-06/0.5541, allocations: 0 / 1.05 GB, free: 65.38 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 2.77e-05/0.5541, allocations: 0 / 1.05 GB, free: 65.38 MB / 0.9948 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.002806/0.5569, allocations: 2.002 MB / 1.052 GB, free: 64.42 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.557, allocations: 8.469 kB / 1.052 GB, free: 64.42 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001276/0.5571, allocations: 157.6 kB / 1.052 GB, free: 64.38 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001201/0.5583, allocations: 456.3 kB / 1.053 GB, free: 64.29 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001848/0.5601, allocations: 1.525 MB / 1.054 GB, free: 63.93 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.532e-05/0.5602, allocations: 80.84 kB / 1.054 GB, free: 63.92 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.564e-05/0.5603, allocations: 109.6 kB / 1.054 GB, free: 63.92 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001506/0.5618, allocations: 1.42 MB / 1.056 GB, free: 63.51 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.938e-05/0.5618, allocations: 6.375 kB / 1.056 GB, free: 63.51 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.77e-05/0.5619, allocations: 42.78 kB / 1.056 GB, free: 63.51 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.62e-05/0.5619, allocations: 25.47 kB / 1.056 GB, free: 63.51 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001478/0.5634, allocations: 1.098 MB / 1.057 GB, free: 63.51 MB / 0.9948 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.004698/0.5681, allocations: 5.609 MB / 1.062 GB, free: 60.92 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001621/0.5697, allocations: 0.7702 MB / 1.063 GB, free: 60.89 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000336/0.57, allocations: 263 kB / 1.063 GB, free: 60.88 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003139/0.5703, allocations: 163.3 kB / 1.064 GB, free: 60.88 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.877e-05/0.5704, allocations: 38.31 kB / 1.064 GB, free: 60.84 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=48): time 2.194e-06/0.5704, allocations: 4 kB / 1.064 GB, free: 60.84 MB / 0.9948 GB Notification: Performance of matching and sorting (n=48): time 0.002557/0.5729, allocations: 1.273 MB / 1.065 GB, free: 60.68 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.574e-05/0.573, allocations: 57.69 kB / 1.065 GB, free: 60.62 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001699/0.5747, allocations: 1.572 MB / 1.066 GB, free: 60.43 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 6.121e-05/0.5747, allocations: 37.86 kB / 1.067 GB, free: 60.39 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003774/0.5751, allocations: 0.6836 MB / 1.067 GB, free: 60.16 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001271/0.5752, allocations: 176.8 kB / 1.067 GB, free: 60.04 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002146/0.5754, allocations: 173.7 kB / 1.068 GB, free: 60.02 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.801e-05/0.5755, allocations: 337 kB / 1.068 GB, free: 59.71 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005238/0.576, allocations: 371.2 kB / 1.068 GB, free: 59.7 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000689/0.5767, allocations: 0.9855 MB / 1.069 GB, free: 58.96 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001002/0.5777, allocations: 0.885 MB / 1.07 GB, free: 58.66 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.923e-06/0.5777, allocations: 2.875 kB / 1.07 GB, free: 58.66 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001857/0.5796, allocations: 1.192 MB / 1.071 GB, free: 58.51 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.697e-05/0.5796, allocations: 15.34 kB / 1.071 GB, free: 58.51 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.383e-05/0.5796, allocations: 12.09 kB / 1.071 GB, free: 58.51 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006018/0.5802, allocations: 223.8 kB / 1.071 GB, free: 58.48 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003952/0.5806, allocations: 194.8 kB / 1.072 GB, free: 58.48 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004839/0.5811, allocations: 0.7119 MB / 1.072 GB, free: 57.96 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009398/0.582, allocations: 210.2 kB / 1.073 GB, free: 57.89 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.485e-05/0.5821, allocations: 47.56 kB / 1.073 GB, free: 57.89 MB / 0.9948 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.000522/0.5826, allocations: 358 kB / 1.073 GB, free: 57.77 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001537/0.5828, allocations: 158.1 kB / 1.073 GB, free: 57.69 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001461/0.5842, allocations: 1.153 MB / 1.074 GB, free: 57.57 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.631e-05/0.5843, allocations: 14.73 kB / 1.074 GB, free: 57.57 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.5843, allocations: 2.062 kB / 1.074 GB, free: 57.57 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.222e-06/0.5843, allocations: 7.312 kB / 1.074 GB, free: 57.56 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002935/0.5872, allocations: 2.292 MB / 1.076 GB, free: 57.18 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.634e-06/0.5872, allocations: 2.781 kB / 1.076 GB, free: 57.18 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001957/0.5874, allocations: 84.22 kB / 1.077 GB, free: 57.18 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004761/0.5879, allocations: 214.4 kB / 1.077 GB, free: 57.16 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.21e-05/0.5879, allocations: 22.39 kB / 1.077 GB, free: 57.16 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006214/0.5885, allocations: 0.7702 MB / 1.077 GB, free: 56.63 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.476e-06/0.5885, allocations: 6 kB / 1.077 GB, free: 56.63 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001743/0.5903, allocations: 1.222 MB / 1.079 GB, free: 56.33 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004439/0.5907, allocations: 283.2 kB / 1.079 GB, free: 56.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001088/0.5908, allocations: 10.81 kB / 1.079 GB, free: 56.23 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004452/0.5913, allocations: 74.45 kB / 1.079 GB, free: 56.23 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.833e-05/0.5913, allocations: 45.52 kB / 1.079 GB, free: 56.23 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.239e-05/0.5914, allocations: 24.92 kB / 1.079 GB, free: 56.23 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001146/0.5925, allocations: 1.094 MB / 1.08 GB, free: 56.11 MB / 0.9948 GB Notification: Performance of sort global known variables: time 4.01e-07/0.5925, allocations: 0 / 1.08 GB, free: 56.11 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.001041/0.5936, allocations: 448 kB / 1.081 GB, free: 56.05 MB / 0.9948 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.003032/0.5966, allocations: 2.141 MB / 1.083 GB, free: 55.15 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001527/0.5981, allocations: 0.8273 MB / 1.084 GB, free: 55.13 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 4.619e-06/0.5981, allocations: 1.062 kB / 1.084 GB, free: 55.13 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007273/0.5989, allocations: 431.8 kB / 1.084 GB, free: 55.12 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002298/0.6012, allocations: 0.7361 MB / 1.085 GB, free: 55.02 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01698/0.6181, allocations: 10.55 MB / 1.095 GB, free: 51.68 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006903/0.6188, allocations: 0.585 MB / 1.096 GB, free: 51.53 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.001206/0.62, allocations: 265.2 kB / 1.096 GB, free: 51.46 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005938/0.6206, allocations: 0.553 MB / 1.096 GB, free: 51.05 MB / 0.9948 GB Notification: Performance of SimCode: time 1.973e-06/0.6206, allocations: 0 / 1.096 GB, free: 51.05 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0829/0.7035, allocations: 47.09 MB / 1.142 GB, free: 39.97 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.129/9.833, allocations: 13.41 kB / 1.142 GB, free: 39.97 MB / 0.9948 GB " [Timeout remaining time 290] (rm -f Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_11_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_11_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.952827534638345] Failed to read output from testmodel.py, exit status != 0: 9.946493598632514 9.954084899 9.398409154 Calling exit ...