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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001258/0.001258, allocations: 105.8 kB / 16.45 MB, free: 6.445 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001325/0.001325, allocations: 187.7 kB / 19.4 MB, free: 3.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.363/1.363, allocations: 225.6 MB / 247.8 MB, free: 3.727 MB / 190.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.8064/0.8064, allocations: 133.9 MB / 436.6 MB, free: 13.98 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.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(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001855/0.001855, allocations: 59.91 kB / 0.6051 GB, free: 8.34 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3904/0.3922, allocations: 84.68 MB / 0.6878 GB, free: 1.758 MB / 0.4981 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07114/0.4634, allocations: 70.96 MB / 0.7571 GB, free: 15.51 MB / 0.5762 GB Notification: Performance of NFInst.instExpressions: time 0.02515/0.4885, allocations: 18.97 MB / 0.7756 GB, free: 12.48 MB / 0.5919 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002637/0.4912, allocations: 71.56 kB / 0.7757 GB, free: 12.41 MB / 0.5919 GB Notification: Performance of NFTyping.typeComponents: time 0.00232/0.4935, allocations: 0.8501 MB / 0.7765 GB, free: 11.55 MB / 0.5919 GB Notification: Performance of NFTyping.typeBindings: time 0.008136/0.5016, allocations: 2.996 MB / 0.7794 GB, free: 8.547 MB / 0.5919 GB Notification: Performance of NFTyping.typeClassSections: time 0.004063/0.5057, allocations: 1.666 MB / 0.7811 GB, free: 6.895 MB / 0.5919 GB Notification: Performance of NFFlatten.flatten: time 0.005871/0.5116, allocations: 4.035 MB / 0.785 GB, free: 2.848 MB / 0.5919 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001752/0.5133, allocations: 1.198 MB / 0.7862 GB, free: 1.621 MB / 0.5919 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003917/0.5172, allocations: 1.805 MB / 0.7879 GB, free: 15.81 MB / 0.6075 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001752/0.519, allocations: 1.233 MB / 0.7891 GB, free: 14.57 MB / 0.6075 GB Notification: Performance of NFPackage.collectConstants: time 0.000212/0.5192, allocations: 176 kB / 0.7893 GB, free: 14.4 MB / 0.6075 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002786/0.522, allocations: 1.443 MB / 0.7907 GB, free: 12.96 MB / 0.6075 GB Notification: Performance of NFScalarize.scalarize: time 0.0003648/0.5223, allocations: 402.4 kB / 0.7911 GB, free: 12.56 MB / 0.6075 GB Notification: Performance of NFVerifyModel.verify: time 0.0009285/0.5233, allocations: 0.9176 MB / 0.792 GB, free: 11.64 MB / 0.6075 GB Notification: Performance of NFConvertDAE.convert: time 0.004213/0.5275, allocations: 3.13 MB / 0.7951 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of FrontEnd - DAE generated: time 4.197e-06/0.5275, allocations: 0 / 0.7951 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of FrontEnd: time 1.482e-06/0.5275, allocations: 0 / 0.7951 GB, free: 8.5 MB / 0.6075 GB Notification: Performance of Transformations before backend: time 2.24e-05/0.5275, allocations: 0 / 0.7951 GB, free: 8.5 MB / 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.0035/0.531, allocations: 2.091 MB / 0.7971 GB, free: 6.344 MB / 0.6075 GB Notification: Performance of prepare preOptimizeDAE: time 4.352e-05/0.5311, allocations: 12.03 kB / 0.7971 GB, free: 6.332 MB / 0.6075 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001851/0.5312, allocations: 156.5 kB / 0.7973 GB, free: 6.172 MB / 0.6075 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002104/0.5334, allocations: 454.4 kB / 0.7977 GB, free: 5.727 MB / 0.6075 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002671/0.536, allocations: 1.564 MB / 0.7992 GB, free: 4.105 MB / 0.6075 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.42e-05/0.5361, allocations: 82.03 kB / 0.7993 GB, free: 4.023 MB / 0.6075 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001498/0.5363, allocations: 104 kB / 0.7994 GB, free: 3.922 MB / 0.6075 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002374/0.5386, allocations: 1.309 MB / 0.8007 GB, free: 2.504 MB / 0.6075 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.767e-05/0.5387, allocations: 11.94 kB / 0.8007 GB, free: 2.492 MB / 0.6075 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.845e-05/0.5388, allocations: 47.94 kB / 0.8007 GB, free: 2.445 MB / 0.6075 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.414e-05/0.5388, allocations: 24 kB / 0.8007 GB, free: 2.422 MB / 0.6075 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002482/0.5413, allocations: 1.089 MB / 0.8018 GB, free: 1.332 MB / 0.6075 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.00856/0.5498, allocations: 7.534 MB / 0.8092 GB, free: 9.285 MB / 0.6231 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002978/0.5528, allocations: 0.7749 MB / 0.8099 GB, free: 8.504 MB / 0.6231 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005627/0.5534, allocations: 262 kB / 0.8102 GB, free: 8.246 MB / 0.6231 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001368/0.5547, allocations: 1.726 MB / 0.8119 GB, free: 6.129 MB / 0.6231 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.038e-05/0.5548, allocations: 39 kB / 0.8119 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of pre-optimization done (n=48): time 2.464e-06/0.5548, allocations: 0 / 0.8119 GB, free: 6.082 MB / 0.6231 GB Notification: Performance of matching and sorting (n=48): time 0.004409/0.5592, allocations: 1.339 MB / 0.8132 GB, free: 4.715 MB / 0.6231 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.155e-05/0.5592, allocations: 55.84 kB / 0.8133 GB, free: 4.648 MB / 0.6231 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002268/0.5615, allocations: 1.546 MB / 0.8148 GB, free: 3.094 MB / 0.6231 GB Notification: Performance of collectPreVariables (initialization): time 6.658e-05/0.5616, allocations: 37.7 kB / 0.8148 GB, free: 3.051 MB / 0.6231 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006093/0.5622, allocations: 0.6896 MB / 0.8155 GB, free: 2.355 MB / 0.6231 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001684/0.5623, allocations: 174.5 kB / 0.8156 GB, free: 2.184 MB / 0.6231 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002761/0.5626, allocations: 170.5 kB / 0.8158 GB, free: 2.012 MB / 0.6231 GB Notification: Performance of setup shared object (initialization): time 0.0001513/0.5628, allocations: 337.9 kB / 0.8161 GB, free: 1.676 MB / 0.6231 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000912/0.5637, allocations: 361.8 kB / 0.8165 GB, free: 1.32 MB / 0.6231 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001192/0.5649, allocations: 0.6546 MB / 0.8171 GB, free: 0.5391 MB / 0.6231 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001734/0.5666, allocations: 0.8906 MB / 0.818 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.558e-06/0.5666, allocations: 4 kB / 0.818 GB, free: 15.54 MB / 0.6387 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002764/0.5694, allocations: 1.194 MB / 0.8192 GB, free: 14.33 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.178e-05/0.5694, allocations: 8 kB / 0.8192 GB, free: 14.32 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.282e-05/0.5694, allocations: 8 kB / 0.8192 GB, free: 14.31 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008185/0.5702, allocations: 220.6 kB / 0.8194 GB, free: 14.09 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007208/0.5709, allocations: 195.7 kB / 0.8196 GB, free: 13.9 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0008482/0.5718, allocations: 0.7278 MB / 0.8203 GB, free: 13.15 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001372/0.5732, allocations: 219 kB / 0.8205 GB, free: 12.93 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.604e-05/0.5733, allocations: 43.98 kB / 0.8205 GB, free: 12.89 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.0005499/0.5738, allocations: 357.6 kB / 0.8209 GB, free: 12.53 MB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002357/0.574, allocations: 155 kB / 0.821 GB, free: 12.38 MB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002289/0.5763, allocations: 1.144 MB / 0.8221 GB, free: 11.24 MB / 0.6387 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.554e-05/0.5763, allocations: 7.984 kB / 0.8221 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.909e-06/0.5763, allocations: 0 / 0.8221 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.958e-06/0.5764, allocations: 3.984 kB / 0.8221 GB, free: 11.23 MB / 0.6387 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004902/0.5813, allocations: 2.518 MB / 0.8246 GB, free: 8.633 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.905e-06/0.5813, allocations: 4 kB / 0.8246 GB, free: 8.629 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003422/0.5816, allocations: 79.89 kB / 0.8247 GB, free: 8.551 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007001/0.5823, allocations: 216.8 kB / 0.8249 GB, free: 8.336 MB / 0.6387 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.787e-05/0.5823, allocations: 15.98 kB / 0.8249 GB, free: 8.32 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001211/0.5836, allocations: 0.7747 MB / 0.8257 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.974e-06/0.5836, allocations: 0 / 0.8257 GB, free: 7.52 MB / 0.6387 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003086/0.5866, allocations: 1.208 MB / 0.8268 GB, free: 6.273 MB / 0.6387 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005709/0.5872, allocations: 359.8 kB / 0.8272 GB, free: 5.902 MB / 0.6387 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001666/0.5874, allocations: 15.95 kB / 0.8272 GB, free: 5.887 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008267/0.5882, allocations: 75.91 kB / 0.8273 GB, free: 5.812 MB / 0.6387 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.687e-05/0.5883, allocations: 40.5 kB / 0.8273 GB, free: 5.773 MB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.598e-05/0.5884, allocations: 23.98 kB / 0.8273 GB, free: 5.75 MB / 0.6387 GB Notification: Performance of sorting global known variables: time 0.001677/0.59, allocations: 1.09 MB / 0.8284 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of sort global known variables: time 9e-08/0.59, allocations: 0 / 0.8284 GB, free: 4.664 MB / 0.6387 GB Notification: Performance of remove unused functions: time 0.001218/0.5912, allocations: 447.3 kB / 0.8288 GB, free: 4.227 MB / 0.6387 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.004245/0.5955, allocations: 2.126 MB / 0.8309 GB, free: 2.066 MB / 0.6387 GB Notification: Performance of simCode: created initialization part: time 0.002045/0.5975, allocations: 0.8174 MB / 0.8317 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of simCode: created event and clocks part: time 2.986e-06/0.5975, allocations: 0 / 0.8317 GB, free: 1.25 MB / 0.6387 GB Notification: Performance of simCode: created simulation system equations: time 0.001153/0.5987, allocations: 415.6 kB / 0.8321 GB, free: 0.8438 MB / 0.6387 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002754/0.6014, allocations: 0.7545 MB / 0.8328 GB, free: 132 kB / 0.6387 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01721/0.6187, allocations: 10.5 MB / 0.8431 GB, free: 5.254 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008991/0.6196, allocations: 1.176 MB / 0.8442 GB, free: 4.047 MB / 0.6544 GB Notification: Performance of simCode: alias equations: time 0.001066/0.6206, allocations: 263.2 kB / 0.8445 GB, free: 3.801 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007924/0.6214, allocations: 0.5422 MB / 0.845 GB, free: 3.258 MB / 0.6544 GB Notification: Performance of SimCode: time 1.092e-06/0.6214, allocations: 4 kB / 0.845 GB, free: 3.254 MB / 0.6544 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3888/1.01, allocations: 43.85 MB / 0.8878 GB, free: 154.7 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate platform static: time 13.84/14.85, allocations: 5.094 kB / 0.8878 GB, free: 154.7 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.13500995701179] Failed to read output from testmodel.py, exit status != 0: 14.965036526788026 14.973151496 14.443629012 Calling exit ...