Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001243/0.001243, allocations: 118.9 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.001368/0.001368, allocations: 211.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.401/1.401, 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/IDEAS 3.0.0/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/package.mo): time 0.8665/0.8665, allocations: 133.9 MB / 443.5 MB, free: 14 MB / 350.1 MB " [Timeout remaining time 179] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0/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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: IDEAS 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.001947/0.001947, allocations: 70.17 kB / 0.6141 GB, free: 38.22 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1518/0.1537, allocations: 85.86 MB / 0.6979 GB, free: 13.59 MB / 0.5137 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07492/0.2287, allocations: 71.23 MB / 0.7675 GB, free: 7.473 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02592/0.2546, allocations: 19.01 MB / 0.7861 GB, free: 4.41 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002655/0.2572, allocations: 99.19 kB / 0.7862 GB, free: 4.312 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.002296/0.2595, allocations: 0.854 MB / 0.787 GB, free: 3.453 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.007685/0.2672, allocations: 3.004 MB / 0.7899 GB, free: 448 kB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004079/0.2713, allocations: 1.662 MB / 0.7915 GB, free: 14.79 MB / 0.6075 GB Notification: Performance of NFFlatten.flatten: time 0.005679/0.277, allocations: 4.036 MB / 0.7955 GB, free: 10.73 MB / 0.6075 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002204/0.2792, allocations: 1.18 MB / 0.7966 GB, free: 9.516 MB / 0.6075 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004445/0.2836, allocations: 1.844 MB / 0.7984 GB, free: 7.668 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002592/0.2862, allocations: 1.237 MB / 0.7996 GB, free: 6.426 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.0004755/0.2867, allocations: 176 kB / 0.7998 GB, free: 6.254 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003485/0.2902, allocations: 1.466 MB / 0.8012 GB, free: 4.785 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0006422/0.2908, allocations: 406.4 kB / 0.8016 GB, free: 4.387 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.001698/0.2925, allocations: 0.9137 MB / 0.8025 GB, free: 3.469 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.005549/0.2981, allocations: 3.161 MB / 0.8056 GB, free: 304 kB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.2981, allocations: 0 / 0.8056 GB, free: 304 kB / 0.6075 GB Notification: Performance of FrontEnd: time 1.563e-06/0.2981, allocations: 0 / 0.8056 GB, free: 304 kB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.947e-05/0.2981, allocations: 0 / 0.8056 GB, free: 304 kB / 0.6075 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.00377/0.3019, allocations: 2.091 MB / 0.8077 GB, free: 14.14 MB / 0.6231 GB Notification: Performance of prepare preOptimizeDAE: time 4.754e-05/0.3019, allocations: 13.7 kB / 0.8077 GB, free: 14.12 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.023e-05/0.302, allocations: 26.22 kB / 0.8077 GB, free: 14.1 MB / 0.6231 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001884/0.3021, allocations: 160.3 kB / 0.8078 GB, free: 13.93 MB / 0.6231 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002236/0.3044, allocations: 458.4 kB / 0.8083 GB, free: 13.48 MB / 0.6231 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002688/0.3071, allocations: 1.56 MB / 0.8098 GB, free: 11.87 MB / 0.6231 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.315e-05/0.3071, allocations: 82.03 kB / 0.8099 GB, free: 11.79 MB / 0.6231 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001512/0.3073, allocations: 100 kB / 0.81 GB, free: 11.69 MB / 0.6231 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002511/0.3098, allocations: 1.321 MB / 0.8113 GB, free: 10.26 MB / 0.6231 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.128e-05/0.3098, allocations: 4 kB / 0.8113 GB, free: 10.25 MB / 0.6231 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001046/0.3099, allocations: 47.94 kB / 0.8113 GB, free: 10.21 MB / 0.6231 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.382e-05/0.31, allocations: 24 kB / 0.8113 GB, free: 10.18 MB / 0.6231 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002682/0.3126, allocations: 1.101 MB / 0.8124 GB, free: 9.086 MB / 0.6231 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.008776/0.3214, allocations: 7.506 MB / 0.8197 GB, free: 1.07 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003131/0.3245, allocations: 0.7852 MB / 0.8205 GB, free: 288 kB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006105/0.3252, allocations: 266 kB / 0.8208 GB, free: 20 kB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001373/0.3265, allocations: 1.722 MB / 0.8225 GB, free: 13.91 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.932e-05/0.3266, allocations: 42.98 kB / 0.8225 GB, free: 13.86 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=48): time 2.204e-06/0.3266, allocations: 3.938 kB / 0.8225 GB, free: 13.85 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.004688/0.3313, allocations: 1.339 MB / 0.8238 GB, free: 12.48 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.066e-05/0.3313, allocations: 55.84 kB / 0.8239 GB, free: 12.42 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002262/0.3336, allocations: 1.542 MB / 0.8254 GB, free: 10.87 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 6.002e-05/0.3336, allocations: 37.7 kB / 0.8254 GB, free: 10.82 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006113/0.3342, allocations: 0.6857 MB / 0.8261 GB, free: 10.13 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001581/0.3344, allocations: 182.5 kB / 0.8262 GB, free: 9.953 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002918/0.3347, allocations: 174.5 kB / 0.8264 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 0.000148/0.3348, allocations: 337.9 kB / 0.8267 GB, free: 9.441 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009762/0.3358, allocations: 365.7 kB / 0.8271 GB, free: 9.082 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001264/0.3371, allocations: 0.67 MB / 0.8277 GB, free: 8.281 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001815/0.3389, allocations: 0.879 MB / 0.8286 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.268e-06/0.3389, allocations: 0 / 0.8286 GB, free: 7.293 MB / 0.6387 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002933/0.3418, allocations: 1.198 MB / 0.8298 GB, free: 6.082 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.983e-05/0.3418, allocations: 12 kB / 0.8298 GB, free: 6.07 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.241e-05/0.3419, allocations: 8 kB / 0.8298 GB, free: 6.062 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008598/0.3427, allocations: 220.6 kB / 0.83 GB, free: 5.844 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007528/0.3435, allocations: 191.7 kB / 0.8302 GB, free: 5.656 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008994/0.3444, allocations: 0.7201 MB / 0.8309 GB, free: 4.91 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001392/0.3458, allocations: 215.1 kB / 0.8311 GB, free: 4.699 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.898e-05/0.3458, allocations: 43.97 kB / 0.8311 GB, free: 4.656 MB / 0.6387 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.0005548/0.3464, allocations: 362.4 kB / 0.8315 GB, free: 4.293 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002376/0.3466, allocations: 159 kB / 0.8316 GB, free: 4.137 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002534/0.3492, allocations: 1.13 MB / 0.8327 GB, free: 3.02 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.159e-05/0.3492, allocations: 11.98 kB / 0.8327 GB, free: 3.008 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.31e-06/0.3492, allocations: 4 kB / 0.8327 GB, free: 3.004 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.526e-06/0.3492, allocations: 3.984 kB / 0.8327 GB, free: 3 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005191/0.3544, allocations: 2.506 MB / 0.8352 GB, free: 420 kB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.957e-06/0.3544, allocations: 4 kB / 0.8352 GB, free: 416 kB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003648/0.3548, allocations: 83.81 kB / 0.8353 GB, free: 332 kB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007457/0.3555, allocations: 216.8 kB / 0.8355 GB, free: 112 kB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.912e-05/0.3556, allocations: 8.094 kB / 0.8355 GB, free: 104 kB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00143/0.357, allocations: 0.7863 MB / 0.8363 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.399e-06/0.357, allocations: 4.031 kB / 0.8363 GB, free: 15.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003487/0.3605, allocations: 1.212 MB / 0.8374 GB, free: 14.03 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006157/0.3611, allocations: 351.8 kB / 0.8378 GB, free: 13.67 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001683/0.3613, allocations: 19.88 kB / 0.8378 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008652/0.3621, allocations: 75.91 kB / 0.8379 GB, free: 13.57 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.482e-05/0.3622, allocations: 36.52 kB / 0.8379 GB, free: 13.54 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.594e-05/0.3623, allocations: 31.92 kB / 0.8379 GB, free: 13.51 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001782/0.3641, allocations: 1.082 MB / 0.839 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of sort global known variables: time 6e-08/0.3641, allocations: 0 / 0.839 GB, free: 12.43 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001305/0.3654, allocations: 451.1 kB / 0.8394 GB, free: 11.99 MB / 0.6544 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.00451/0.3699, allocations: 2.117 MB / 0.8415 GB, free: 9.832 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002252/0.3721, allocations: 0.8177 MB / 0.8423 GB, free: 9.016 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 4.108e-06/0.3721, allocations: 4.062 kB / 0.8423 GB, free: 9.012 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001304/0.3734, allocations: 419.2 kB / 0.8427 GB, free: 8.605 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003051/0.3765, allocations: 0.7378 MB / 0.8434 GB, free: 7.902 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01782/0.3943, allocations: 10.49 MB / 0.8537 GB, free: 13.04 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008387/0.3951, allocations: 1.172 MB / 0.8548 GB, free: 11.83 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001085/0.3962, allocations: 269.6 kB / 0.8551 GB, free: 11.58 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000773/0.397, allocations: 0.55 MB / 0.8556 GB, free: 11.03 MB / 0.67 GB Notification: Performance of SimCode: time 8.71e-07/0.397, allocations: 0 / 0.8556 GB, free: 11.03 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3931/0.7901, allocations: 43.85 MB / 0.8984 GB, free: 142 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.95/14.74, allocations: 3.938 kB / 0.8984 GB, free: 142 MB / 0.67 GB " [Timeout remaining time 645] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 18.484053216001485] Failed to read output from testmodel.py, exit status != 0: 15.173986163979862 14.92088779 14.620602895 Calling exit ...