Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_dev_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.00145/0.00145, allocations: 109.9 kB / 16.45 MB, free: 6.035 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.001354/0.001354, allocations: 191.8 kB / 19.41 MB, free: 3.539 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.468/1.468, allocations: 225.6 MB / 247.8 MB, free: 13.93 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/package.mo): time 1.101/1.101, allocations: 175.8 MB / 478.4 MB, free: 8.504 MB / 382.1 MB " [Timeout remaining time 178] Using package IDEAS with version 3.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/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_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002791/0.002791, allocations: 59.38 kB / 0.6652 GB, free: 0.5703 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2091/0.2119, allocations: 94.54 MB / 0.7575 GB, free: 1.918 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.4505/0.6624, allocations: 71.06 MB / 0.8269 GB, free: 8.18 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02976/0.6922, allocations: 18.98 MB / 0.8454 GB, free: 8.77 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003779/0.696, allocations: 75.44 kB / 0.8455 GB, free: 8.738 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002977/0.6989, allocations: 0.8484 MB / 0.8463 GB, free: 8.008 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.00946/0.7084, allocations: 2.993 MB / 0.8493 GB, free: 5.66 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.005029/0.7134, allocations: 1.662 MB / 0.8509 GB, free: 4.355 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.007627/0.721, allocations: 4.032 MB / 0.8548 GB, free: 1.898 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002374/0.7234, allocations: 1.177 MB / 0.856 GB, free: 1.023 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005909/0.7293, allocations: 1.925 MB / 0.8579 GB, free: 15.77 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002985/0.7323, allocations: 1.208 MB / 0.859 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.000425/0.7327, allocations: 176.3 kB / 0.8592 GB, free: 15.01 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.00432/0.7371, allocations: 1.44 MB / 0.8606 GB, free: 14.25 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004888/0.7375, allocations: 395.3 kB / 0.861 GB, free: 13.92 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001472/0.739, allocations: 0.9243 MB / 0.8619 GB, free: 13.27 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005706/0.7447, allocations: 3.125 MB / 0.8649 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 6.682e-06/0.7447, allocations: 0 / 0.8649 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of FrontEnd: time 2.164e-06/0.7447, allocations: 0 / 0.8649 GB, free: 10.27 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 3.231e-05/0.7448, allocations: 0 / 0.8649 GB, free: 10.27 MB / 0.6544 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.00381/0.7486, allocations: 2.083 MB / 0.867 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.931e-05/0.7486, allocations: 12.03 kB / 0.867 GB, free: 8.113 MB / 0.6544 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001864/0.7488, allocations: 156.7 kB / 0.8671 GB, free: 7.953 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002216/0.751, allocations: 454.4 kB / 0.8676 GB, free: 7.508 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002949/0.754, allocations: 1.564 MB / 0.8691 GB, free: 5.887 MB / 0.6544 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.445e-05/0.7541, allocations: 82.03 kB / 0.8692 GB, free: 5.805 MB / 0.6544 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001706/0.7542, allocations: 107.9 kB / 0.8693 GB, free: 5.699 MB / 0.6544 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002577/0.7568, allocations: 1.313 MB / 0.8706 GB, free: 4.277 MB / 0.6544 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.833e-05/0.7568, allocations: 7.938 kB / 0.8706 GB, free: 4.27 MB / 0.6544 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.663e-05/0.7569, allocations: 40 kB / 0.8706 GB, free: 4.23 MB / 0.6544 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.605e-05/0.757, allocations: 31.94 kB / 0.8706 GB, free: 4.199 MB / 0.6544 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002697/0.7596, allocations: 1.097 MB / 0.8717 GB, free: 3.098 MB / 0.6544 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.009594/0.7692, allocations: 7.508 MB / 0.879 GB, free: 11.08 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003194/0.7724, allocations: 0.7717 MB / 0.8798 GB, free: 10.3 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006158/0.7731, allocations: 275.5 kB / 0.8801 GB, free: 10.03 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001457/0.7745, allocations: 1.718 MB / 0.8817 GB, free: 7.926 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.302e-05/0.7745, allocations: 38.98 kB / 0.8818 GB, free: 7.875 MB / 0.67 GB Notification: Performance of pre-optimization done (n=48): time 1.883e-06/0.7745, allocations: 0 / 0.8818 GB, free: 7.875 MB / 0.67 GB Notification: Performance of matching and sorting (n=48): time 0.004928/0.7795, allocations: 1.339 MB / 0.8831 GB, free: 6.512 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.775e-05/0.7795, allocations: 63.84 kB / 0.8831 GB, free: 6.438 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002528/0.782, allocations: 1.542 MB / 0.8846 GB, free: 4.887 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.065e-05/0.7821, allocations: 45.64 kB / 0.8847 GB, free: 4.836 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.000692/0.7828, allocations: 0.6818 MB / 0.8854 GB, free: 4.148 MB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001993/0.783, allocations: 178.5 kB / 0.8855 GB, free: 3.973 MB / 0.67 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003175/0.7833, allocations: 174.5 kB / 0.8857 GB, free: 3.797 MB / 0.67 GB Notification: Performance of setup shared object (initialization): time 0.0001764/0.7835, allocations: 333.9 kB / 0.886 GB, free: 3.465 MB / 0.67 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009871/0.7845, allocations: 369.8 kB / 0.8864 GB, free: 3.102 MB / 0.67 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001267/0.7858, allocations: 0.6583 MB / 0.887 GB, free: 2.32 MB / 0.67 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001895/0.7877, allocations: 0.8906 MB / 0.8879 GB, free: 1.32 MB / 0.67 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.825e-06/0.7877, allocations: 7.625 kB / 0.8879 GB, free: 1.316 MB / 0.67 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003127/0.7908, allocations: 1.194 MB / 0.889 GB, free: 116 kB / 0.67 GB Notification: Performance of prepare postOptimizeDAE: time 2.656e-05/0.7908, allocations: 8 kB / 0.8891 GB, free: 108 kB / 0.67 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.7908, allocations: 11.94 kB / 0.8891 GB, free: 96 kB / 0.67 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009183/0.7918, allocations: 220.7 kB / 0.8893 GB, free: 15.88 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007792/0.7925, allocations: 187.7 kB / 0.8895 GB, free: 15.69 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009577/0.7935, allocations: 0.724 MB / 0.8902 GB, free: 14.94 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001693/0.7952, allocations: 215 kB / 0.8904 GB, free: 14.73 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001073/0.7953, allocations: 47.97 kB / 0.8904 GB, free: 14.68 MB / 0.6856 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.0008001/0.7961, allocations: 353.1 kB / 0.8908 GB, free: 14.33 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003631/0.7965, allocations: 162.9 kB / 0.8909 GB, free: 14.17 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002593/0.7991, allocations: 1.137 MB / 0.892 GB, free: 13.02 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.63e-05/0.7991, allocations: 15.98 kB / 0.892 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.726e-06/0.7991, allocations: 0.6875 kB / 0.892 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.044e-06/0.7991, allocations: 0 / 0.892 GB, free: 13 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005917/0.805, allocations: 2.502 MB / 0.8945 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/0.805, allocations: 4.188 kB / 0.8945 GB, free: 10.41 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003865/0.8054, allocations: 87.88 kB / 0.8946 GB, free: 10.32 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000817/0.8062, allocations: 217.7 kB / 0.8948 GB, free: 10.11 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.537e-05/0.8063, allocations: 16 kB / 0.8948 GB, free: 10.09 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001405/0.8077, allocations: 0.7747 MB / 0.8955 GB, free: 9.293 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.905e-06/0.8077, allocations: 4.031 kB / 0.8955 GB, free: 9.289 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003641/0.8113, allocations: 1.208 MB / 0.8967 GB, free: 8.039 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007751/0.8121, allocations: 359.7 kB / 0.8971 GB, free: 7.668 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002148/0.8123, allocations: 12 kB / 0.8971 GB, free: 7.656 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008869/0.8132, allocations: 71.91 kB / 0.8971 GB, free: 7.586 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.687e-05/0.8133, allocations: 40.52 kB / 0.8972 GB, free: 7.547 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.551e-05/0.8134, allocations: 28.86 kB / 0.8972 GB, free: 7.52 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.002011/0.8154, allocations: 1.09 MB / 0.8983 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of sort global known variables: time 1e-07/0.8154, allocations: 0 / 0.8983 GB, free: 6.434 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.001461/0.8169, allocations: 455 kB / 0.8987 GB, free: 5.988 MB / 0.6856 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.004787/0.8216, allocations: 2.118 MB / 0.9008 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.002311/0.824, allocations: 0.8243 MB / 0.9016 GB, free: 3.008 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 7.484e-06/0.824, allocations: 5.125 kB / 0.9016 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.001276/0.8252, allocations: 415.3 kB / 0.902 GB, free: 2.602 MB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003262/0.8285, allocations: 0.747 MB / 0.9027 GB, free: 1.867 MB / 0.6856 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01973/0.8482, allocations: 10.49 MB / 0.913 GB, free: 7.004 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.00105/0.8493, allocations: 1.172 MB / 0.9141 GB, free: 5.801 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001281/0.8506, allocations: 272 kB / 0.9144 GB, free: 5.531 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0009052/0.8515, allocations: 0.5461 MB / 0.9149 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of SimCode: time 1.433e-06/0.8515, allocations: 0 / 0.9149 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1304/0.9819, allocations: 43.87 MB / 0.9577 GB, free: 9.613 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.15/16.13, allocations: 18.8 kB / 0.9578 GB, free: 9.598 MB / 0.7481 GB " [Timeout remaining time 644] (rm -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 20.18834230490029] Failed to read output from testmodel.py, exit status != 0: 16.255393567029387 16.278257168 15.528636581 Calling exit ...