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.001271/0.001271, allocations: 118.2 kB / 17.13 MB, free: 5.918 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.001283/0.001283, allocations: 194.2 kB / 20.08 MB, free: 2.988 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.439/1.439, allocations: 225.6 MB / 248.5 MB, free: 3.605 MB / 190.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.069/1.069, allocations: 175.7 MB / 479.1 MB, free: 3.445 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: translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") translateModel(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,tolerance=1e-06,outputFormat="empty",numberOfIntervals=2500,variableFilter="",fileNamePrefix="IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002656/0.002656, allocations: 71.31 kB / 0.6663 GB, free: 10.87 MB / 494.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.187/0.1896, allocations: 94.54 MB / 0.7587 GB, free: 1.078 MB / 0.5606 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07617/0.2658, allocations: 71.06 MB / 0.8281 GB, free: 9.777 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.3904/0.6562, allocations: 18.98 MB / 0.8466 GB, free: 18.14 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002085/0.6583, allocations: 68.69 kB / 0.8467 GB, free: 18.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.001851/0.6601, allocations: 0.8592 MB / 0.8475 GB, free: 18.14 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.006941/0.6671, allocations: 2.985 MB / 0.8504 GB, free: 18.06 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.003874/0.671, allocations: 1.667 MB / 0.852 GB, free: 18.02 MB / 0.6387 GB Notification: Performance of NFFlatten.flatten: time 0.006162/0.6771, allocations: 4.02 MB / 0.856 GB, free: 18.02 MB / 0.6387 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002121/0.6792, allocations: 1.178 MB / 0.8571 GB, free: 17.91 MB / 0.6387 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004818/0.6841, allocations: 1.93 MB / 0.859 GB, free: 17.77 MB / 0.6387 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002355/0.6864, allocations: 1.209 MB / 0.8602 GB, free: 17.55 MB / 0.6387 GB Notification: Performance of NFPackage.collectConstants: time 0.0002984/0.6867, allocations: 175.6 kB / 0.8603 GB, free: 17.55 MB / 0.6387 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003419/0.6901, allocations: 1.433 MB / 0.8617 GB, free: 17.53 MB / 0.6387 GB Notification: Performance of NFScalarize.scalarize: time 0.0004107/0.6905, allocations: 403.4 kB / 0.8621 GB, free: 17.46 MB / 0.6387 GB Notification: Performance of NFVerifyModel.verify: time 0.00126/0.6918, allocations: 0.921 MB / 0.863 GB, free: 17.21 MB / 0.6387 GB Notification: Performance of NFConvertDAE.convert: time 0.004297/0.6961, allocations: 3.122 MB / 0.8661 GB, free: 16.85 MB / 0.6387 GB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.6961, allocations: 1.469 kB / 0.8661 GB, free: 16.85 MB / 0.6387 GB Notification: Performance of FrontEnd: time 1.593e-06/0.6961, allocations: 0 / 0.8661 GB, free: 16.85 MB / 0.6387 GB Notification: Performance of Transformations before backend: time 3.057e-05/0.6961, allocations: 0 / 0.8661 GB, free: 16.85 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.003428/0.6996, allocations: 2.084 MB / 0.8681 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.6996, allocations: 13.12 kB / 0.8681 GB, free: 15.76 MB / 0.6387 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002287/0.7019, allocations: 453.5 kB / 0.8686 GB, free: 15.65 MB / 0.6387 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0024/0.7043, allocations: 1.563 MB / 0.8701 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.681e-05/0.7044, allocations: 77.72 kB / 0.8702 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001541/0.7045, allocations: 107.2 kB / 0.8703 GB, free: 15.22 MB / 0.6387 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002466/0.707, allocations: 1.313 MB / 0.8715 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.611e-05/0.707, allocations: 2.312 kB / 0.8715 GB, free: 14.71 MB / 0.6387 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001014/0.7071, allocations: 43.28 kB / 0.8716 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.389e-05/0.7071, allocations: 27.83 kB / 0.8716 GB, free: 14.68 MB / 0.6387 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0026/0.7097, allocations: 1.106 MB / 0.8727 GB, free: 14.27 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.007089/0.7168, allocations: 7.522 MB / 0.88 GB, free: 8.363 MB / 0.6387 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003172/0.72, allocations: 0.7783 MB / 0.8808 GB, free: 8.117 MB / 0.6387 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006032/0.7206, allocations: 260.4 kB / 0.881 GB, free: 8.023 MB / 0.6387 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008085/0.7214, allocations: 1.72 MB / 0.8827 GB, free: 6.031 MB / 0.6387 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.076e-05/0.7214, allocations: 49.81 kB / 0.8828 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of pre-optimization done (n=48): time 2.215e-06/0.7214, allocations: 0 / 0.8828 GB, free: 5.977 MB / 0.6387 GB Notification: Performance of matching and sorting (n=48): time 0.00487/0.7263, allocations: 1.337 MB / 0.8841 GB, free: 5.473 MB / 0.6387 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.358e-05/0.7263, allocations: 60.81 kB / 0.8841 GB, free: 5.406 MB / 0.6387 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002315/0.7287, allocations: 1.549 MB / 0.8856 GB, free: 4.594 MB / 0.6387 GB Notification: Performance of collectPreVariables (initialization): time 7.668e-05/0.7287, allocations: 37.08 kB / 0.8857 GB, free: 4.555 MB / 0.6387 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004122/0.7291, allocations: 0.6814 MB / 0.8864 GB, free: 3.953 MB / 0.6387 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001294/0.7293, allocations: 179.7 kB / 0.8865 GB, free: 3.801 MB / 0.6387 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002638/0.7295, allocations: 170.7 kB / 0.8867 GB, free: 3.699 MB / 0.6387 GB Notification: Performance of setup shared object (initialization): time 5.5e-05/0.7296, allocations: 339.3 kB / 0.887 GB, free: 3.367 MB / 0.6387 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009441/0.7305, allocations: 364 kB / 0.8874 GB, free: 3.191 MB / 0.6387 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0011/0.7316, allocations: 0.6565 MB / 0.888 GB, free: 2.633 MB / 0.6387 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001674/0.7333, allocations: 0.8835 MB / 0.8889 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.394e-06/0.7333, allocations: 2.812 kB / 0.8889 GB, free: 1.98 MB / 0.6387 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002944/0.7363, allocations: 1.198 MB / 0.89 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.7363, allocations: 9.031 kB / 0.89 GB, free: 1.355 MB / 0.6387 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.411e-05/0.7363, allocations: 11.98 kB / 0.8901 GB, free: 1.352 MB / 0.6387 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008549/0.7371, allocations: 223.6 kB / 0.8903 GB, free: 1.238 MB / 0.6387 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007091/0.7379, allocations: 189.6 kB / 0.8904 GB, free: 1.188 MB / 0.6387 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000714/0.7386, allocations: 0.7309 MB / 0.8912 GB, free: 0.5469 MB / 0.6387 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00165/0.7402, allocations: 214.6 kB / 0.8914 GB, free: 436 kB / 0.6387 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.995e-05/0.7403, allocations: 43.14 kB / 0.8914 GB, free: 424 kB / 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.0005958/0.7409, allocations: 356 kB / 0.8917 GB, free: 152 kB / 0.6387 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002628/0.7412, allocations: 155.3 kB / 0.8919 GB, free: 68 kB / 0.6387 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002524/0.7437, allocations: 1.141 MB / 0.893 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.824e-05/0.7437, allocations: 8.312 kB / 0.893 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.941e-06/0.7437, allocations: 0 / 0.893 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.009e-05/0.7437, allocations: 3.984 kB / 0.893 GB, free: 15.41 MB / 0.6544 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00568/0.7494, allocations: 2.514 MB / 0.8955 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.187e-06/0.7494, allocations: 2.438 kB / 0.8955 GB, free: 13.65 MB / 0.6544 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003599/0.7498, allocations: 82.41 kB / 0.8956 GB, free: 13.63 MB / 0.6544 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000786/0.7506, allocations: 215.4 kB / 0.8958 GB, free: 13.52 MB / 0.6544 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.806e-05/0.7506, allocations: 17.52 kB / 0.8958 GB, free: 13.5 MB / 0.6544 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001389/0.752, allocations: 0.7667 MB / 0.8965 GB, free: 12.86 MB / 0.6544 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.067e-06/0.752, allocations: 15.92 kB / 0.8965 GB, free: 12.84 MB / 0.6544 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003577/0.7556, allocations: 1.201 MB / 0.8977 GB, free: 12.13 MB / 0.6544 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007235/0.7563, allocations: 362.8 kB / 0.8981 GB, free: 11.81 MB / 0.6544 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002131/0.7565, allocations: 21.95 kB / 0.8981 GB, free: 11.79 MB / 0.6544 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009032/0.7574, allocations: 69.02 kB / 0.8981 GB, free: 11.76 MB / 0.6544 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.996e-05/0.7575, allocations: 39.69 kB / 0.8982 GB, free: 11.74 MB / 0.6544 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.299e-05/0.7576, allocations: 32.23 kB / 0.8982 GB, free: 11.73 MB / 0.6544 GB Notification: Performance of sorting global known variables: time 0.001816/0.7594, allocations: 1.083 MB / 0.8993 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of sort global known variables: time 9e-08/0.7594, allocations: 0 / 0.8993 GB, free: 11.14 MB / 0.6544 GB Notification: Performance of remove unused functions: time 0.001493/0.7609, allocations: 449.3 kB / 0.8997 GB, free: 11.03 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.0009765/0.7619, allocations: 489.2 kB / 0.9002 GB, free: 10.79 MB / 0.6544 GB Notification: Performance of simCode: created initialization part: time 0.002253/0.7641, allocations: 0.822 MB / 0.901 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of simCode: created event and clocks part: time 3.597e-06/0.7641, allocations: 0 / 0.901 GB, free: 10.4 MB / 0.6544 GB Notification: Performance of simCode: created simulation system equations: time 0.001337/0.7655, allocations: 416.4 kB / 0.9014 GB, free: 10.21 MB / 0.6544 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003332/0.7688, allocations: 0.74 MB / 0.9021 GB, free: 9.82 MB / 0.6544 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004016/0.7728, allocations: 2.333 MB / 0.9044 GB, free: 8.422 MB / 0.6544 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007816/0.7736, allocations: 1.161 MB / 0.9055 GB, free: 7.516 MB / 0.6544 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003924/0.774, allocations: 121 kB / 0.9056 GB, free: 7.492 MB / 0.6544 GB Notification: Performance of SimCode: time 1.523e-06/0.774, allocations: 3.938 kB / 0.9056 GB, free: 7.488 MB / 0.6544 GB Notification: Performance of Templates: time 0.04846/0.8225, allocations: 34.33 MB / 0.9392 GB, free: 7.238 MB / 0.6856 GB " [Timeout remaining time 659] make -j1 -f IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.makefile [Timeout 660] (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 & ./IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw -abortSlowSimulation -alarm=480 -lv LOG_STATS > IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 480] [Calling sys.exit(0), Time elapsed: 12.672180064953864] Failed to read output from testmodel.py, exit status != 0: 0.8315140991471708 0.844336803 0.145172875 Calling exit ...