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.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.00138/0.00138, allocations: 99.64 kB / 18.94 MB, free: 2.551 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 209.3 kB / 22.24 MB, free: 4.863 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.499/1.499, allocations: 230.6 MB / 256 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:190:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Examples/PPD12/Structure.mo:531:21-531:198:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo): time 1.286/1.286, allocations: 203.8 MB / 0.5042 GB, free: 4.609 MB / 414.1 MB " [Timeout remaining time 178] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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: IDEAS requested package Modelica of version 4.0.0. Modelica 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002099/0.002099, allocations: 68.12 kB / 0.7186 GB, free: 1.984 MB / 0.5762 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.6299/0.632, allocations: 102 MB / 0.8183 GB, free: 28.91 MB / 0.6387 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.06793/0.6999, allocations: 65.13 MB / 0.8819 GB, free: 15.86 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02734/0.7273, allocations: 17.57 MB / 0.899 GB, free: 2.043 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004158/0.7314, allocations: 95.66 kB / 0.8991 GB, free: 1.992 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002977/0.7344, allocations: 0.8233 MB / 0.8999 GB, free: 1.289 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.01003/0.7445, allocations: 3.022 MB / 0.9029 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFTyping.typeClassSections: time 0.004703/0.7492, allocations: 1.722 MB / 0.9045 GB, free: 13.58 MB / 0.6856 GB Notification: Performance of NFFlatten.flatten: time 0.006191/0.7553, allocations: 4.062 MB / 0.9085 GB, free: 9.84 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001833/0.7572, allocations: 1.145 MB / 0.9096 GB, free: 8.656 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004438/0.7616, allocations: 2.009 MB / 0.9116 GB, free: 6.645 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001825/0.7634, allocations: 1.132 MB / 0.9127 GB, free: 5.508 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002342/0.7637, allocations: 172 kB / 0.9129 GB, free: 5.34 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002517/0.7662, allocations: 1.154 MB / 0.914 GB, free: 4.184 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0003748/0.7666, allocations: 402.4 kB / 0.9144 GB, free: 3.789 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0008086/0.7674, allocations: 0.7155 MB / 0.9151 GB, free: 3.07 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003982/0.7714, allocations: 3.099 MB / 0.9181 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.7714, allocations: 4 kB / 0.9181 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of FrontEnd: time 1.823e-06/0.7714, allocations: 0 / 0.9181 GB, free: 15.96 MB / 0.7012 GB Notification: Performance of Transformations before backend: time 2.91e-05/0.7714, allocations: 3.938 kB / 0.9181 GB, free: 15.95 MB / 0.7012 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.003478/0.7749, allocations: 2.015 MB / 0.9201 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of prepare preOptimizeDAE: time 3.721e-05/0.7749, allocations: 9.469 kB / 0.9201 GB, free: 13.89 MB / 0.7012 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002262/0.7772, allocations: 455.4 kB / 0.9205 GB, free: 13.44 MB / 0.7012 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002806/0.78, allocations: 1.527 MB / 0.922 GB, free: 11.87 MB / 0.7012 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.516e-05/0.7801, allocations: 78.03 kB / 0.9221 GB, free: 11.79 MB / 0.7012 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001516/0.7802, allocations: 104 kB / 0.9222 GB, free: 11.69 MB / 0.7012 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002615/0.7828, allocations: 1.413 MB / 0.9236 GB, free: 10.14 MB / 0.7012 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.873e-05/0.7828, allocations: 15.86 kB / 0.9236 GB, free: 10.12 MB / 0.7012 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001045/0.783, allocations: 48 kB / 0.9236 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.302e-05/0.783, allocations: 28 kB / 0.9236 GB, free: 10.05 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002761/0.7857, allocations: 1.093 MB / 0.9247 GB, free: 8.953 MB / 0.7012 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.00803/0.7938, allocations: 5.394 MB / 0.93 GB, free: 3.406 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003267/0.797, allocations: 0.7748 MB / 0.9307 GB, free: 2.629 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006184/0.7977, allocations: 266 kB / 0.931 GB, free: 2.367 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000606/0.7983, allocations: 168.3 kB / 0.9312 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.972e-05/0.7983, allocations: 39 kB / 0.9312 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.635e-06/0.7983, allocations: 0 / 0.9312 GB, free: 2.156 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.005111/0.8034, allocations: 1.237 MB / 0.9324 GB, free: 0.9102 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.814e-05/0.8035, allocations: 55.84 kB / 0.9324 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002215/0.8057, allocations: 1.232 MB / 0.9337 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 8.122e-05/0.8058, allocations: 37.7 kB / 0.9337 GB, free: 15.55 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006839/0.8064, allocations: 0.7071 MB / 0.9344 GB, free: 14.84 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002002/0.8066, allocations: 174.5 kB / 0.9345 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003406/0.807, allocations: 178.5 kB / 0.9347 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 0.0002106/0.8072, allocations: 337.9 kB / 0.935 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001007/0.8082, allocations: 361.8 kB / 0.9354 GB, free: 13.8 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001699/0.8099, allocations: 0.9923 MB / 0.9364 GB, free: 12.61 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002034/0.8119, allocations: 0.8897 MB / 0.9372 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.482e-06/0.8119, allocations: 4 kB / 0.9372 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002984/0.8149, allocations: 1.165 MB / 0.9384 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.526e-05/0.815, allocations: 8 kB / 0.9384 GB, free: 10.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.378e-05/0.815, allocations: 12 kB / 0.9384 GB, free: 10.41 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009171/0.8159, allocations: 224.6 kB / 0.9386 GB, free: 10.19 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007898/0.8167, allocations: 191.7 kB / 0.9388 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009554/0.8177, allocations: 0.724 MB / 0.9395 GB, free: 9.254 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001462/0.8191, allocations: 163.5 kB / 0.9396 GB, free: 9.094 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001122/0.8192, allocations: 47.97 kB / 0.9397 GB, free: 9.047 MB / 0.7169 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.0008765/0.8201, allocations: 365.5 kB / 0.94 GB, free: 8.68 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002477/0.8204, allocations: 123.3 kB / 0.9402 GB, free: 8.559 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002597/0.8229, allocations: 1.141 MB / 0.9413 GB, free: 7.434 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.218e-05/0.823, allocations: 11.98 kB / 0.9413 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-06/0.823, allocations: 0 / 0.9413 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.662e-06/0.823, allocations: 0 / 0.9413 GB, free: 7.422 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005321/0.8283, allocations: 2.181 MB / 0.9434 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.202e-06/0.8283, allocations: 0 / 0.9434 GB, free: 5.184 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000375/0.8287, allocations: 96 kB / 0.9435 GB, free: 5.09 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007581/0.8294, allocations: 212.6 kB / 0.9437 GB, free: 4.879 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.26e-05/0.8295, allocations: 16 kB / 0.9437 GB, free: 4.863 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00131/0.8308, allocations: 0.7748 MB / 0.9445 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.404e-06/0.8308, allocations: 0 / 0.9445 GB, free: 4.062 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003355/0.8342, allocations: 1.19 MB / 0.9456 GB, free: 2.836 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005686/0.8347, allocations: 250.8 kB / 0.9459 GB, free: 2.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000148/0.8349, allocations: 8 kB / 0.9459 GB, free: 2.582 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007961/0.8357, allocations: 75.86 kB / 0.946 GB, free: 2.508 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.817e-05/0.8358, allocations: 44.36 kB / 0.946 GB, free: 2.465 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.117e-05/0.8358, allocations: 23.98 kB / 0.946 GB, free: 2.441 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001486/0.8373, allocations: 0.8551 MB / 0.9469 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.8373, allocations: 0 / 0.9469 GB, free: 1.582 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001502/0.8388, allocations: 482.7 kB / 0.9473 GB, free: 1.109 MB / 0.7169 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.0008201/0.8396, allocations: 449.8 kB / 0.9477 GB, free: 0.6641 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002301/0.8419, allocations: 0.8203 MB / 0.9485 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 6.803e-06/0.8419, allocations: 5.062 kB / 0.9486 GB, free: 15.84 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001349/0.8433, allocations: 435 kB / 0.949 GB, free: 15.42 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001992/0.8453, allocations: 475.5 kB / 0.9494 GB, free: 14.98 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004213/0.8495, allocations: 2.266 MB / 0.9516 GB, free: 12.66 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000625/0.8501, allocations: 0.5864 MB / 0.9522 GB, free: 12.04 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008179/0.8509, allocations: 225.4 kB / 0.9524 GB, free: 11.81 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000248/0.8512, allocations: 103.3 kB / 0.9525 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of SimCode: time 7.32e-07/0.8512, allocations: 0 / 0.9525 GB, free: 11.71 MB / 0.7325 GB Notification: Performance of Templates: time 0.04734/0.8985, allocations: 27.15 MB / 0.979 GB, free: 0.9961 MB / 0.7481 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.658311098814011] Failed to read output from testmodel.py, exit status != 0: 0.90831115283072 0.922442332 0.147887665 Calling exit ...