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.001415/0.001415, allocations: 114.2 kB / 18.94 MB, free: 2.93 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.001564/0.001564, allocations: 189 kB / 22.22 MB, free: 5.105 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.554/1.554, allocations: 225.6 MB / 251 MB, free: 13 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/Examples/PPD12/Structure.mo:527:21-527:482:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 3.0.0-master/Examples/PPD12/Structure.mo:527:21-527:490:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/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.24/1.24, allocations: 177.9 MB / 484.2 MB, free: 5.383 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: 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.002041/0.002041, allocations: 64.3 kB / 0.674 GB, free: 10.76 MB / 0.4981 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.5689/0.5709, allocations: 95.17 MB / 0.7669 GB, free: 7.914 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08438/0.6553, allocations: 71.74 MB / 0.837 GB, free: 3.938 MB / 0.6231 GB Notification: Performance of NFInst.instExpressions: time 0.02928/0.6846, allocations: 19.11 MB / 0.8556 GB, free: 4.43 MB / 0.6387 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002967/0.6875, allocations: 95.22 kB / 0.8557 GB, free: 4.379 MB / 0.6387 GB Notification: Performance of NFTyping.typeComponents: time 0.002745/0.6903, allocations: 0.8484 MB / 0.8566 GB, free: 3.648 MB / 0.6387 GB Notification: Performance of NFTyping.typeBindings: time 0.008942/0.6992, allocations: 3.054 MB / 0.8595 GB, free: 1.254 MB / 0.6387 GB Notification: Performance of NFTyping.typeClassSections: time 0.004982/0.7042, allocations: 1.746 MB / 0.8612 GB, free: 15.88 MB / 0.6544 GB Notification: Performance of NFFlatten.flatten: time 0.006842/0.711, allocations: 4.08 MB / 0.8652 GB, free: 13.38 MB / 0.6544 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002587/0.7136, allocations: 1.171 MB / 0.8664 GB, free: 12.49 MB / 0.6544 GB Notification: Performance of NFEvalConstants.evaluate: time 0.005877/0.7195, allocations: 1.95 MB / 0.8683 GB, free: 11.04 MB / 0.6544 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002736/0.7222, allocations: 1.206 MB / 0.8695 GB, free: 9.828 MB / 0.6544 GB Notification: Performance of NFPackage.collectConstants: time 0.0003025/0.7225, allocations: 172 kB / 0.8696 GB, free: 9.66 MB / 0.6544 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003434/0.726, allocations: 1.466 MB / 0.8711 GB, free: 8.191 MB / 0.6544 GB Notification: Performance of NFScalarize.scalarize: time 0.0004591/0.7264, allocations: 402.4 kB / 0.8714 GB, free: 7.797 MB / 0.6544 GB Notification: Performance of NFVerifyModel.verify: time 0.001217/0.7276, allocations: 0.9177 MB / 0.8723 GB, free: 6.875 MB / 0.6544 GB Notification: Performance of NFConvertDAE.convert: time 0.005014/0.7327, allocations: 3.117 MB / 0.8754 GB, free: 3.754 MB / 0.6544 GB Notification: Performance of FrontEnd - DAE generated: time 3.787e-06/0.7327, allocations: 4 kB / 0.8754 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of FrontEnd: time 1.913e-06/0.7327, allocations: 0 / 0.8754 GB, free: 3.75 MB / 0.6544 GB Notification: Performance of Transformations before backend: time 2.994e-05/0.7327, allocations: 0 / 0.8754 GB, free: 3.75 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.003928/0.7366, allocations: 2.015 MB / 0.8773 GB, free: 1.688 MB / 0.6544 GB Notification: Performance of prepare preOptimizeDAE: time 3.956e-05/0.7367, allocations: 12.03 kB / 0.8774 GB, free: 1.676 MB / 0.6544 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002442/0.7391, allocations: 454.6 kB / 0.8778 GB, free: 1.23 MB / 0.6544 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002987/0.7421, allocations: 1.5 MB / 0.8793 GB, free: 15.68 MB / 0.67 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.943e-05/0.7422, allocations: 82.03 kB / 0.8793 GB, free: 15.6 MB / 0.67 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001623/0.7423, allocations: 104 kB / 0.8794 GB, free: 15.5 MB / 0.67 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002769/0.7451, allocations: 1.325 MB / 0.8807 GB, free: 14.06 MB / 0.67 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.178e-05/0.7451, allocations: 0 / 0.8807 GB, free: 14.06 MB / 0.67 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001077/0.7452, allocations: 44 kB / 0.8808 GB, free: 14.02 MB / 0.67 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.57e-05/0.7453, allocations: 31.94 kB / 0.8808 GB, free: 13.99 MB / 0.67 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00291/0.7482, allocations: 1.105 MB / 0.8819 GB, free: 12.88 MB / 0.67 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.009977/0.7582, allocations: 7.377 MB / 0.8891 GB, free: 5.012 MB / 0.67 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003413/0.7616, allocations: 0.7705 MB / 0.8898 GB, free: 4.234 MB / 0.67 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006576/0.7622, allocations: 262 kB / 0.8901 GB, free: 3.977 MB / 0.67 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000549/0.7628, allocations: 164.2 kB / 0.8902 GB, free: 3.816 MB / 0.67 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.735e-05/0.7628, allocations: 39 kB / 0.8903 GB, free: 3.77 MB / 0.67 GB Notification: Performance of pre-optimization done (n=48): time 2.384e-06/0.7628, allocations: 0 / 0.8903 GB, free: 3.77 MB / 0.67 GB Notification: Performance of matching and sorting (n=48): time 0.005279/0.7681, allocations: 1.26 MB / 0.8915 GB, free: 2.496 MB / 0.67 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.369e-05/0.7681, allocations: 55.84 kB / 0.8916 GB, free: 2.43 MB / 0.67 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002501/0.7706, allocations: 1.553 MB / 0.8931 GB, free: 0.8672 MB / 0.67 GB Notification: Performance of collectPreVariables (initialization): time 8.038e-05/0.7707, allocations: 37.7 kB / 0.8931 GB, free: 0.8242 MB / 0.67 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006598/0.7714, allocations: 0.6857 MB / 0.8938 GB, free: 136 kB / 0.67 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002003/0.7716, allocations: 178.7 kB / 0.894 GB, free: 15.95 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003367/0.7719, allocations: 178.5 kB / 0.8941 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001692/0.7721, allocations: 341.6 kB / 0.8945 GB, free: 15.44 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001095/0.7732, allocations: 361.8 kB / 0.8948 GB, free: 15.08 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001406/0.7746, allocations: 0.6701 MB / 0.8955 GB, free: 14.29 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002054/0.7766, allocations: 0.878 MB / 0.8963 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.839e-06/0.7767, allocations: 4 kB / 0.8963 GB, free: 13.3 MB / 0.6856 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003302/0.78, allocations: 1.197 MB / 0.8975 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of prepare postOptimizeDAE: time 2.376e-05/0.78, allocations: 8 kB / 0.8975 GB, free: 12.09 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.556e-05/0.78, allocations: 11.98 kB / 0.8975 GB, free: 12.07 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009469/0.7809, allocations: 220.6 kB / 0.8977 GB, free: 11.86 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008163/0.7818, allocations: 191.7 kB / 0.8979 GB, free: 11.67 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009879/0.7827, allocations: 0.7162 MB / 0.8986 GB, free: 10.93 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001621/0.7844, allocations: 215 kB / 0.8988 GB, free: 10.71 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.896e-05/0.7845, allocations: 43.98 kB / 0.8988 GB, free: 10.67 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.0007214/0.7852, allocations: 357.6 kB / 0.8992 GB, free: 10.31 MB / 0.6856 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002932/0.7855, allocations: 159 kB / 0.8993 GB, free: 10.16 MB / 0.6856 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003844/0.7893, allocations: 1.152 MB / 0.9005 GB, free: 8.988 MB / 0.6856 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.632e-05/0.7893, allocations: 8 kB / 0.9005 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.644e-06/0.7894, allocations: 0 / 0.9005 GB, free: 8.98 MB / 0.6856 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.295e-05/0.7894, allocations: 7.984 kB / 0.9005 GB, free: 8.973 MB / 0.6856 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.008928/0.7983, allocations: 2.499 MB / 0.9029 GB, free: 6.395 MB / 0.6856 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.231e-05/0.7983, allocations: 4 kB / 0.9029 GB, free: 6.391 MB / 0.6856 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006443/0.799, allocations: 84.02 kB / 0.903 GB, free: 6.309 MB / 0.6856 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00124/0.8002, allocations: 216.6 kB / 0.9032 GB, free: 6.094 MB / 0.6856 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.2e-05/0.8003, allocations: 15.98 kB / 0.9032 GB, free: 6.078 MB / 0.6856 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002165/0.8024, allocations: 0.7825 MB / 0.904 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.8024, allocations: 0 / 0.904 GB, free: 5.27 MB / 0.6856 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006143/0.8086, allocations: 1.223 MB / 0.9052 GB, free: 4.012 MB / 0.6856 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00128/0.8099, allocations: 278.7 kB / 0.9054 GB, free: 3.738 MB / 0.6856 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003527/0.8102, allocations: 15.95 kB / 0.9055 GB, free: 3.723 MB / 0.6856 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001784/0.812, allocations: 75.91 kB / 0.9055 GB, free: 3.648 MB / 0.6856 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001541/0.8122, allocations: 44.36 kB / 0.9056 GB, free: 3.605 MB / 0.6856 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001119/0.8123, allocations: 23.98 kB / 0.9056 GB, free: 3.582 MB / 0.6856 GB Notification: Performance of sorting global known variables: time 0.003415/0.8157, allocations: 1.09 MB / 0.9067 GB, free: 2.496 MB / 0.6856 GB Notification: Performance of sort global known variables: time 2.4e-07/0.8157, allocations: 0 / 0.9067 GB, free: 2.496 MB / 0.6856 GB Notification: Performance of remove unused functions: time 0.002376/0.8181, allocations: 447.1 kB / 0.9071 GB, free: 2.059 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.001587/0.8196, allocations: 489.8 kB / 0.9076 GB, free: 1.578 MB / 0.6856 GB Notification: Performance of simCode: created initialization part: time 0.004248/0.8239, allocations: 0.8246 MB / 0.9084 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of simCode: created event and clocks part: time 5.11e-06/0.8239, allocations: 0 / 0.9084 GB, free: 0.7539 MB / 0.6856 GB Notification: Performance of simCode: created simulation system equations: time 0.002576/0.8265, allocations: 419.4 kB / 0.9088 GB, free: 356 kB / 0.6856 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006414/0.8329, allocations: 0.746 MB / 0.9095 GB, free: 15.61 MB / 0.7012 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.007397/0.8403, allocations: 2.314 MB / 0.9117 GB, free: 13.25 MB / 0.7012 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001398/0.8417, allocations: 1.172 MB / 0.9129 GB, free: 12.05 MB / 0.7012 GB Notification: Performance of simCode: alias equations: time 0.001874/0.8436, allocations: 264.2 kB / 0.9131 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004962/0.8441, allocations: 115.3 kB / 0.9133 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of SimCode: time 1.483e-06/0.8441, allocations: 0 / 0.9133 GB, free: 11.67 MB / 0.7012 GB Notification: Performance of Templates: time 0.08478/0.9288, allocations: 32.49 MB / 0.945 GB, free: 11.53 MB / 0.7325 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: 7.9114044941961765] Failed to read output from testmodel.py, exit status != 0: 0.9388299472630024 0.963757185 0.22587066200000003 Calling exit ... <OMPython.OMCSessionZMQ object at 0x7fab90be57b0>