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.001431/0.001431, allocations: 109 kB / 17.54 MB, free: 4.746 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.001421/0.001421, allocations: 185.9 kB / 20.71 MB, free: 1.586 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.281/1.281, allocations: 225.6 MB / 249.3 MB, free: 3.188 MB / 190.1 MB " [Timeout remaining time 179] 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 0.9751/0.9751, allocations: 175.7 MB / 480.1 MB, free: 2.789 MB / 366.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-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.001819/0.001819, allocations: 71.98 kB / 0.6677 GB, free: 10.95 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1673/0.1692, allocations: 94.52 MB / 0.76 GB, free: 0.8555 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0742/0.2434, allocations: 71.77 MB / 0.8301 GB, free: 8.848 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3397/0.583, allocations: 19.06 MB / 0.8487 GB, free: 18.09 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002178/0.5852, allocations: 69.06 kB / 0.8488 GB, free: 18.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001897/0.5871, allocations: 0.8521 MB / 0.8496 GB, free: 18.09 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006809/0.5939, allocations: 2.987 MB / 0.8526 GB, free: 18 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003846/0.5977, allocations: 1.669 MB / 0.8542 GB, free: 17.96 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006829/0.6046, allocations: 4.038 MB / 0.8581 GB, free: 17.95 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001871/0.6064, allocations: 1.152 MB / 0.8593 GB, free: 17.85 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003708/0.6102, allocations: 1.936 MB / 0.8612 GB, free: 17.7 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001534/0.6117, allocations: 1.206 MB / 0.8623 GB, free: 17.48 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002119/0.6119, allocations: 176.1 kB / 0.8625 GB, free: 17.48 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002983/0.6149, allocations: 1.446 MB / 0.8639 GB, free: 17.46 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0002715/0.6152, allocations: 395.1 kB / 0.8643 GB, free: 17.38 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.0007675/0.6159, allocations: 0.9212 MB / 0.8652 GB, free: 17.12 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.003242/0.6192, allocations: 3.122 MB / 0.8682 GB, free: 16.74 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 3.336e-06/0.6192, allocations: 1.125 kB / 0.8682 GB, free: 16.74 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.162e-06/0.6192, allocations: 3.938 kB / 0.8682 GB, free: 16.74 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 1.71e-05/0.6192, allocations: 3.938 kB / 0.8682 GB, free: 16.73 MB / 0.6387 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.002771/0.622, allocations: 2.085 MB / 0.8703 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.383e-05/0.622, allocations: 9.75 kB / 0.8703 GB, free: 15.64 MB / 0.6387 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001473/0.6221, allocations: 152.8 kB / 0.8704 GB, free: 15.61 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002005/0.6241, allocations: 453.3 kB / 0.8709 GB, free: 15.5 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001998/0.6261, allocations: 1.563 MB / 0.8724 GB, free: 14.89 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.307e-05/0.6262, allocations: 83.25 kB / 0.8725 GB, free: 14.86 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001308/0.6263, allocations: 103.1 kB / 0.8726 GB, free: 14.82 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.6283, allocations: 1.317 MB / 0.8739 GB, free: 14.12 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.028e-05/0.6284, allocations: 9.5 kB / 0.8739 GB, free: 14.11 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.178e-05/0.6285, allocations: 43.06 kB / 0.8739 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.919e-05/0.6285, allocations: 25.38 kB / 0.8739 GB, free: 14.08 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002271/0.6307, allocations: 1.099 MB / 0.875 GB, free: 13.68 MB / 0.6387 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.005965/0.6367, allocations: 7.515 MB / 0.8823 GB, free: 7.777 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002839/0.6395, allocations: 0.7715 MB / 0.8831 GB, free: 7.531 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0005138/0.6401, allocations: 264.8 kB / 0.8833 GB, free: 7.434 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0007107/0.6408, allocations: 1.727 MB / 0.885 GB, free: 5.434 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.721e-05/0.6408, allocations: 41.19 kB / 0.8851 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=48): time 1.903e-06/0.6408, allocations: 0 / 0.8851 GB, free: 5.387 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.004195/0.645, allocations: 1.339 MB / 0.8864 GB, free: 4.883 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 1.883e-05/0.645, allocations: 57.19 kB / 0.8864 GB, free: 4.82 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001802/0.6468, allocations: 1.547 MB / 0.8879 GB, free: 4.062 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 4.497e-05/0.6469, allocations: 41.2 kB / 0.888 GB, free: 4.02 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003666/0.6472, allocations: 0.6827 MB / 0.8887 GB, free: 3.418 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001026/0.6473, allocations: 183.9 kB / 0.8888 GB, free: 3.262 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002328/0.6476, allocations: 173.8 kB / 0.889 GB, free: 3.156 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 4.39e-05/0.6476, allocations: 336 kB / 0.8893 GB, free: 2.828 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008496/0.6485, allocations: 362.7 kB / 0.8897 GB, free: 2.652 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009676/0.6494, allocations: 0.6573 MB / 0.8903 GB, free: 2.094 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001478/0.6509, allocations: 0.8941 MB / 0.8912 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.619e-06/0.6509, allocations: 1.531 kB / 0.8912 GB, free: 1.434 MB / 0.6387 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002464/0.6534, allocations: 1.204 MB / 0.8924 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 1.588e-05/0.6534, allocations: 8.031 kB / 0.8924 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.097e-06/0.6534, allocations: 7.719 kB / 0.8924 GB, free: 0.8047 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007253/0.6541, allocations: 217.6 kB / 0.8926 GB, free: 0.6953 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006639/0.6548, allocations: 191.2 kB / 0.8928 GB, free: 0.6445 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0006207/0.6554, allocations: 0.7195 MB / 0.8935 GB, free: 12 kB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001479/0.6569, allocations: 216.3 kB / 0.8937 GB, free: 15.89 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.6e-05/0.657, allocations: 40.45 kB / 0.8937 GB, free: 15.88 MB / 0.6544 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.000485/0.6574, allocations: 359.3 kB / 0.894 GB, free: 15.61 MB / 0.6544 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002212/0.6577, allocations: 152.4 kB / 0.8942 GB, free: 15.53 MB / 0.6544 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002209/0.6599, allocations: 1.151 MB / 0.8953 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.646e-05/0.6599, allocations: 5.281 kB / 0.8953 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.859e-06/0.6599, allocations: 1.562 kB / 0.8953 GB, free: 14.87 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.396e-06/0.6599, allocations: 3.984 kB / 0.8953 GB, free: 14.86 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004824/0.6647, allocations: 2.506 MB / 0.8978 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.691e-06/0.6647, allocations: 6.969 kB / 0.8978 GB, free: 13.11 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003328/0.6651, allocations: 85.09 kB / 0.8979 GB, free: 13.08 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006572/0.6657, allocations: 210.3 kB / 0.8981 GB, free: 12.97 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.213e-05/0.6658, allocations: 18.98 kB / 0.8981 GB, free: 12.96 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00122/0.667, allocations: 0.7734 MB / 0.8988 GB, free: 12.3 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.091e-06/0.667, allocations: 10.33 kB / 0.8988 GB, free: 12.29 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003115/0.6701, allocations: 1.201 MB / 0.9 GB, free: 11.59 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005319/0.6706, allocations: 364.3 kB / 0.9004 GB, free: 11.26 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001641/0.6708, allocations: 13.03 kB / 0.9004 GB, free: 11.25 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008313/0.6716, allocations: 70.58 kB / 0.9004 GB, free: 11.22 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.086e-05/0.6717, allocations: 43.62 kB / 0.9005 GB, free: 11.2 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.796e-05/0.6718, allocations: 25.77 kB / 0.9005 GB, free: 11.19 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.00156/0.6733, allocations: 1.088 MB / 0.9016 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of sort global known variables: time 1.3e-07/0.6733, allocations: 0 / 0.9016 GB, free: 10.6 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001232/0.6746, allocations: 446 kB / 0.902 GB, free: 10.49 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.004208/0.6788, allocations: 2.129 MB / 0.9041 GB, free: 9.105 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.00198/0.6807, allocations: 0.8324 MB / 0.9049 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 2.705e-06/0.6808, allocations: 0 / 0.9049 GB, free: 8.711 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001182/0.6819, allocations: 418.1 kB / 0.9053 GB, free: 8.523 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00307/0.685, allocations: 0.7407 MB / 0.906 GB, free: 8.125 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01706/0.7021, allocations: 10.49 MB / 0.9163 GB, free: 15.84 MB / 0.67 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008656/0.7029, allocations: 1.172 MB / 0.9174 GB, free: 14.64 MB / 0.67 GB Notification: Performance of simCode: alias equations: time 0.001004/0.7039, allocations: 268.1 kB / 0.9177 GB, free: 14.38 MB / 0.67 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007834/0.7047, allocations: 0.5461 MB / 0.9182 GB, free: 13.83 MB / 0.67 GB Notification: Performance of SimCode: time 7.32e-07/0.7047, allocations: 0 / 0.9182 GB, free: 13.83 MB / 0.67 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08342/0.7881, allocations: 43.96 MB / 0.9611 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.93/13.72, allocations: 15.8 kB / 0.9611 GB, free: 2.355 MB / 0.7012 GB " [Timeout remaining time 646] (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 --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: 17.181440346990712]