Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_12_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.0008382/0.0008382, 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.0009178/0.0009178, allocations: 169.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.8955/0.8955, allocations: 177.1 MB / 202.8 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.x/package.mo): time 1.727/1.727, allocations: 377.8 MB / 0.6221 GB, free: 8.645 MB / 0.5886 GB " [Timeout remaining time 178] Using package Buildings with version 12.1.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 12.1.2-maint.12.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_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 300] "Notification: Performance of FrontEnd - loaded program: time 1.723e-06/1.723e-06, allocations: 3.938 kB / 0.9809 GB, free: 2.613 MB / 0.9323 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.497e-05/1.669e-05, allocations: 6.281 kB / 0.981 GB, free: 2.605 MB / 0.9323 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.04121/0.04123, allocations: 64.65 MB / 1.044 GB, free: 1.738 MB / 0.9948 GB Notification: Performance of NFInst.instExpressions: time 0.4888/0.53, allocations: 17.54 MB / 1.061 GB, free: 57.43 MB / 0.9948 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001885/0.5319, allocations: 97.56 kB / 1.061 GB, free: 57.43 MB / 0.9948 GB Notification: Performance of NFTyping.typeComponents: time 0.001665/0.5336, allocations: 0.8329 MB / 1.062 GB, free: 57.41 MB / 0.9948 GB Notification: Performance of NFTyping.typeBindings: time 0.005507/0.5391, allocations: 3.109 MB / 1.065 GB, free: 56.82 MB / 0.9948 GB Notification: Performance of NFTyping.typeClassSections: time 0.002698/0.5418, allocations: 1.773 MB / 1.067 GB, free: 56.75 MB / 0.9948 GB Notification: Performance of NFFlatten.flatten: time 0.002839/0.5446, allocations: 4.083 MB / 1.071 GB, free: 55.24 MB / 0.9948 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008558/0.5455, allocations: 1.139 MB / 1.072 GB, free: 54.67 MB / 0.9948 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00256/0.548, allocations: 2.556 MB / 1.074 GB, free: 53.58 MB / 0.9948 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009202/0.5489, allocations: 1.013 MB / 1.075 GB, free: 53.32 MB / 0.9948 GB Notification: Performance of NFPackage.collectConstants: time 0.0001418/0.5491, allocations: 176.2 kB / 1.076 GB, free: 53.32 MB / 0.9948 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001723/0.5508, allocations: 1.163 MB / 1.077 GB, free: 53.05 MB / 0.9948 GB Notification: Performance of NFScalarize.scalarize: time 0.0001988/0.551, allocations: 405.7 kB / 1.077 GB, free: 52.79 MB / 0.9948 GB Notification: Performance of NFVerifyModel.verify: time 0.0003892/0.5514, allocations: 0.6088 MB / 1.078 GB, free: 52.53 MB / 0.9948 GB Notification: Performance of NFConvertDAE.convert: time 0.002377/0.5538, allocations: 3.156 MB / 1.081 GB, free: 51.54 MB / 0.9948 GB Notification: Performance of FrontEnd - DAE generated: time 4.95e-06/0.5538, allocations: 0 / 1.081 GB, free: 51.54 MB / 0.9948 GB Notification: Performance of FrontEnd: time 1.914e-06/0.5538, allocations: 2.906 kB / 1.081 GB, free: 51.54 MB / 0.9948 GB Notification: Performance of Transformations before backend: time 1.828e-05/0.5538, allocations: 0 / 1.081 GB, free: 51.54 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.001907/0.5557, allocations: 2.001 MB / 1.083 GB, free: 50.25 MB / 0.9948 GB Notification: Performance of prepare preOptimizeDAE: time 4.324e-05/0.5557, allocations: 8.094 kB / 1.083 GB, free: 50.25 MB / 0.9948 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001162/0.5559, allocations: 153.8 kB / 1.083 GB, free: 50.15 MB / 0.9948 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001033/0.5569, allocations: 455.1 kB / 1.083 GB, free: 50.04 MB / 0.9948 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001533/0.5584, allocations: 1.533 MB / 1.085 GB, free: 49.16 MB / 0.9948 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.185e-05/0.5585, allocations: 82.19 kB / 1.085 GB, free: 49.12 MB / 0.9948 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.637e-05/0.5585, allocations: 106.7 kB / 1.085 GB, free: 49.09 MB / 0.9948 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.5599, allocations: 1.413 MB / 1.086 GB, free: 48.28 MB / 0.9948 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.5599, allocations: 3.938 kB / 1.086 GB, free: 48.28 MB / 0.9948 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.987e-05/0.56, allocations: 42.97 kB / 1.086 GB, free: 48.25 MB / 0.9948 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.69e-05/0.56, allocations: 27.12 kB / 1.087 GB, free: 48.25 MB / 0.9948 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001777/0.5618, allocations: 1.096 MB / 1.088 GB, free: 47.88 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.004666/0.5664, allocations: 5.608 MB / 1.093 GB, free: 44.03 MB / 0.9948 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001749/0.5682, allocations: 0.7703 MB / 1.094 GB, free: 43.79 MB / 0.9948 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.5686, allocations: 261.6 kB / 1.094 GB, free: 43.7 MB / 0.9948 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000315/0.5689, allocations: 159 kB / 1.094 GB, free: 43.66 MB / 0.9948 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.629e-05/0.5689, allocations: 38.09 kB / 1.094 GB, free: 43.62 MB / 0.9948 GB Notification: Performance of pre-optimization done (n=48): time 1.713e-06/0.5689, allocations: 4 kB / 1.094 GB, free: 43.62 MB / 0.9948 GB Notification: Performance of matching and sorting (n=48): time 0.002493/0.5714, allocations: 1.268 MB / 1.095 GB, free: 43.21 MB / 0.9948 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.694e-05/0.5714, allocations: 61.31 kB / 1.096 GB, free: 43.15 MB / 0.9948 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001507/0.5729, allocations: 1.571 MB / 1.097 GB, free: 42.51 MB / 0.9948 GB Notification: Performance of collectPreVariables (initialization): time 3.379e-05/0.5729, allocations: 38.2 kB / 1.097 GB, free: 42.47 MB / 0.9948 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003424/0.5733, allocations: 0.6816 MB / 1.098 GB, free: 41.93 MB / 0.9948 GB Notification: Performance of collectInitialBindings (initialization): time 8.689e-05/0.5734, allocations: 176.7 kB / 1.098 GB, free: 41.79 MB / 0.9948 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001964/0.5736, allocations: 169 kB / 1.098 GB, free: 41.71 MB / 0.9948 GB Notification: Performance of setup shared object (initialization): time 4.456e-05/0.5736, allocations: 333.5 kB / 1.098 GB, free: 41.39 MB / 0.9948 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005451/0.5742, allocations: 367.2 kB / 1.099 GB, free: 41.27 MB / 0.9948 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007053/0.5749, allocations: 0.9917 MB / 1.1 GB, free: 40.39 MB / 0.9948 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001018/0.5759, allocations: 0.8837 MB / 1.101 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.99e-06/0.5759, allocations: 2.156 kB / 1.101 GB, free: 39.86 MB / 0.9948 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001785/0.5777, allocations: 1.207 MB / 1.102 GB, free: 39.41 MB / 0.9948 GB Notification: Performance of prepare postOptimizeDAE: time 2.021e-05/0.5777, allocations: 8.656 kB / 1.102 GB, free: 39.41 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.041e-05/0.5777, allocations: 10.81 kB / 1.102 GB, free: 39.41 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005614/0.5783, allocations: 222.1 kB / 1.102 GB, free: 39.36 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004337/0.5787, allocations: 193.4 kB / 1.102 GB, free: 39.35 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004852/0.5792, allocations: 0.7141 MB / 1.103 GB, free: 38.76 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007844/0.58, allocations: 219.7 kB / 1.103 GB, free: 38.67 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.073e-05/0.58, allocations: 39.91 kB / 1.103 GB, free: 38.67 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.000338/0.5804, allocations: 365.6 kB / 1.104 GB, free: 38.41 MB / 0.9948 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000155/0.5805, allocations: 154.4 kB / 1.104 GB, free: 38.33 MB / 0.9948 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001547/0.5821, allocations: 1.154 MB / 1.105 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.792e-05/0.5821, allocations: 12.66 kB / 1.105 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.5821, allocations: 2.25 kB / 1.105 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.104e-06/0.5821, allocations: 2.672 kB / 1.105 GB, free: 37.89 MB / 0.9948 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00306/0.5852, allocations: 2.298 MB / 1.107 GB, free: 36.83 MB / 0.9948 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.545e-06/0.5852, allocations: 2.828 kB / 1.107 GB, free: 36.83 MB / 0.9948 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001963/0.5854, allocations: 81.62 kB / 1.107 GB, free: 36.83 MB / 0.9948 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004621/0.5858, allocations: 217.9 kB / 1.107 GB, free: 36.77 MB / 0.9948 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.215e-05/0.5859, allocations: 17.34 kB / 1.107 GB, free: 36.76 MB / 0.9948 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006354/0.5865, allocations: 0.7622 MB / 1.108 GB, free: 36.17 MB / 0.9948 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.5865, allocations: 6.922 kB / 1.108 GB, free: 36.17 MB / 0.9948 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001819/0.5883, allocations: 1.224 MB / 1.109 GB, free: 35.62 MB / 0.9948 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003363/0.5887, allocations: 284.7 kB / 1.11 GB, free: 35.44 MB / 0.9948 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001033/0.5888, allocations: 13.53 kB / 1.11 GB, free: 35.43 MB / 0.9948 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004437/0.5892, allocations: 74.97 kB / 1.11 GB, free: 35.42 MB / 0.9948 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.054e-05/0.5893, allocations: 43.42 kB / 1.11 GB, free: 35.41 MB / 0.9948 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.916e-05/0.5893, allocations: 29.36 kB / 1.11 GB, free: 35.41 MB / 0.9948 GB Notification: Performance of sorting global known variables: time 0.001219/0.5905, allocations: 1.092 MB / 1.111 GB, free: 34.97 MB / 0.9948 GB Notification: Performance of sort global known variables: time 9e-08/0.5905, allocations: 0 / 1.111 GB, free: 34.97 MB / 0.9948 GB Notification: Performance of remove unused functions: time 0.0009162/0.5915, allocations: 444.6 kB / 1.111 GB, free: 34.88 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.002413/0.5939, allocations: 2.142 MB / 1.113 GB, free: 33.7 MB / 0.9948 GB Notification: Performance of simCode: created initialization part: time 0.001244/0.5951, allocations: 0.8275 MB / 1.114 GB, free: 33.46 MB / 0.9948 GB Notification: Performance of simCode: created event and clocks part: time 2.454e-06/0.5951, allocations: 2.312 kB / 1.114 GB, free: 33.46 MB / 0.9948 GB Notification: Performance of simCode: created simulation system equations: time 0.0007328/0.5958, allocations: 429.6 kB / 1.115 GB, free: 33.35 MB / 0.9948 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001867/0.5977, allocations: 0.7404 MB / 1.115 GB, free: 33.11 MB / 0.9948 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01217/0.6099, allocations: 10.57 MB / 1.126 GB, free: 27.92 MB / 0.9948 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000485/0.6104, allocations: 0.583 MB / 1.126 GB, free: 27.77 MB / 0.9948 GB Notification: Performance of simCode: alias equations: time 0.0007113/0.6111, allocations: 281.1 kB / 1.126 GB, free: 27.69 MB / 0.9948 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004914/0.6116, allocations: 0.5497 MB / 1.127 GB, free: 27.28 MB / 0.9948 GB Notification: Performance of SimCode: time 7.01e-07/0.6116, allocations: 0 / 1.127 GB, free: 27.28 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05646/0.668, allocations: 47.11 MB / 1.173 GB, free: 7.379 MB / 0.9948 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.04/9.708, allocations: 4 kB / 1.173 GB, free: 7.375 MB / 0.9948 GB " [Timeout remaining time 290] (rm -f Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.mat --tempDir=temp_Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=400 --tolerance=1e-06 Buildings_12_Buildings_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > Buildings_12_Buildings.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 420.0] [Calling os._exit(0), Time elapsed: 14.871680877171457] Failed to read output from testmodel.py, exit status != 0: 9.817904363386333 9.83057829 9.272986944 Calling exit ...