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.0007431/0.0007431, allocations: 76.55 kB / 19.93 MB, free: 4.637 MB / 18.57 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.0007745/0.0007745, allocations: 177.9 kB / 23.22 MB, free: 1.352 MB / 18.57 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 0.8128/0.8128, allocations: 177.1 MB / 203.5 MB, free: 5.738 MB / 186.7 MB " [Timeout remaining time 179] 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 0.6615/0.6615, allocations: 154.6 MB / 414.5 MB, free: 0.8438 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS master/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] 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: Performance of FrontEnd - loaded program: time 1.302e-06/1.302e-06, allocations: 0 / 0.6193 GB, free: 13.27 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.773e-05/1.903e-05, allocations: 6.281 kB / 0.6193 GB, free: 13.26 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3001/0.3001, allocations: 64.58 MB / 0.6823 GB, free: 57.97 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01444/0.3146, allocations: 17.54 MB / 0.6995 GB, free: 57.73 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00212/0.3167, allocations: 99.34 kB / 0.6995 GB, free: 57.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001751/0.3185, allocations: 0.8322 MB / 0.7004 GB, free: 57.66 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005575/0.324, allocations: 3.099 MB / 0.7034 GB, free: 56.73 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003054/0.3271, allocations: 1.816 MB / 0.7052 GB, free: 55.93 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003972/0.3311, allocations: 4.065 MB / 0.7091 GB, free: 53.93 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00158/0.3326, allocations: 1.147 MB / 0.7102 GB, free: 53.36 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003932/0.3366, allocations: 2.562 MB / 0.7127 GB, free: 52.27 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001568/0.3381, allocations: 1.009 MB / 0.7137 GB, free: 52.02 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.000262/0.3384, allocations: 174 kB / 0.7139 GB, free: 52.02 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002057/0.3405, allocations: 1.17 MB / 0.715 GB, free: 51.74 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002391/0.3407, allocations: 403.9 kB / 0.7154 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0006262/0.3413, allocations: 0.6104 MB / 0.716 GB, free: 51.22 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003202/0.3445, allocations: 3.144 MB / 0.7191 GB, free: 50.23 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.749e-06/0.3445, allocations: 0 / 0.7191 GB, free: 50.23 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.124e-06/0.3445, allocations: 2.625 kB / 0.7191 GB, free: 50.23 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 3.651e-05/0.3446, allocations: 0 / 0.7191 GB, free: 50.23 MB / 0.6355 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.00252/0.3471, allocations: 1.996 MB / 0.721 GB, free: 48.95 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 3.868e-05/0.3471, allocations: 15.84 kB / 0.7211 GB, free: 48.94 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001137/0.3483, allocations: 447.6 kB / 0.7215 GB, free: 48.84 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002121/0.3504, allocations: 1.533 MB / 0.723 GB, free: 47.96 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.676e-05/0.3505, allocations: 82.22 kB / 0.7231 GB, free: 47.92 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001776/0.3507, allocations: 102.8 kB / 0.7232 GB, free: 47.89 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001864/0.3525, allocations: 1.414 MB / 0.7245 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.206e-05/0.3525, allocations: 1.797 kB / 0.7245 GB, free: 47.07 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.893e-05/0.3526, allocations: 45.19 kB / 0.7246 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.013e-05/0.3526, allocations: 30.72 kB / 0.7246 GB, free: 47.04 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001731/0.3544, allocations: 1.099 MB / 0.7257 GB, free: 46.63 MB / 0.6355 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.005508/0.3599, allocations: 5.373 MB / 0.7309 GB, free: 42.87 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001689/0.3616, allocations: 0.7734 MB / 0.7317 GB, free: 42.62 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000368/0.3619, allocations: 265.8 kB / 0.7319 GB, free: 42.52 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003426/0.3623, allocations: 158.3 kB / 0.7321 GB, free: 42.49 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.161e-05/0.3623, allocations: 39.89 kB / 0.7321 GB, free: 42.45 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 2.795e-06/0.3623, allocations: 0 / 0.7321 GB, free: 42.45 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.002691/0.365, allocations: 1.236 MB / 0.7333 GB, free: 42.05 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.914e-05/0.365, allocations: 58.5 kB / 0.7334 GB, free: 41.99 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001405/0.3664, allocations: 1.229 MB / 0.7346 GB, free: 41.48 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.871e-05/0.3665, allocations: 37.7 kB / 0.7346 GB, free: 41.44 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003819/0.3669, allocations: 0.7076 MB / 0.7353 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001111/0.367, allocations: 173.7 kB / 0.7355 GB, free: 40.75 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001959/0.3672, allocations: 173.7 kB / 0.7357 GB, free: 40.66 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.533e-05/0.3672, allocations: 334.3 kB / 0.736 GB, free: 40.34 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005446/0.3678, allocations: 371.8 kB / 0.7363 GB, free: 40.22 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000709/0.3685, allocations: 0.9868 MB / 0.7373 GB, free: 39.34 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001019/0.3695, allocations: 0.886 MB / 0.7382 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.953e-06/0.3695, allocations: 1.375 kB / 0.7382 GB, free: 38.77 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00178/0.3713, allocations: 1.174 MB / 0.7393 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.345e-05/0.3713, allocations: 9.531 kB / 0.7393 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.312e-05/0.3713, allocations: 7.938 kB / 0.7393 GB, free: 38.29 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006217/0.3719, allocations: 222.6 kB / 0.7395 GB, free: 38.24 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004107/0.3724, allocations: 187.9 kB / 0.7397 GB, free: 38.22 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004799/0.3728, allocations: 0.7211 MB / 0.7404 GB, free: 37.62 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0007693/0.3736, allocations: 178.1 kB / 0.7406 GB, free: 37.56 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.637e-05/0.3737, allocations: 44.86 kB / 0.7406 GB, free: 37.55 MB / 0.6355 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.0004563/0.3741, allocations: 364.4 kB / 0.741 GB, free: 37.29 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001339/0.3743, allocations: 125 kB / 0.7411 GB, free: 37.22 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001487/0.3757, allocations: 1.127 MB / 0.7422 GB, free: 36.82 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.708e-05/0.3758, allocations: 12.52 kB / 0.7422 GB, free: 36.81 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.58e-06/0.3758, allocations: 5.344 kB / 0.7422 GB, free: 36.81 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3758, allocations: 3.047 kB / 0.7422 GB, free: 36.81 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00327/0.379, allocations: 2.181 MB / 0.7444 GB, free: 35.82 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.973e-06/0.3791, allocations: 5.594 kB / 0.7444 GB, free: 35.81 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001998/0.3793, allocations: 92.41 kB / 0.7444 GB, free: 35.8 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004834/0.3797, allocations: 207.2 kB / 0.7446 GB, free: 35.75 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.62e-05/0.3798, allocations: 20.23 kB / 0.7447 GB, free: 35.74 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006091/0.3804, allocations: 0.7723 MB / 0.7454 GB, free: 35.13 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.304e-06/0.3804, allocations: 1.75 kB / 0.7454 GB, free: 35.13 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001862/0.3822, allocations: 1.191 MB / 0.7466 GB, free: 34.61 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004451/0.3827, allocations: 242.3 kB / 0.7468 GB, free: 34.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.952e-05/0.3828, allocations: 12.66 kB / 0.7468 GB, free: 34.45 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003905/0.3832, allocations: 66.67 kB / 0.7469 GB, free: 34.43 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.518e-05/0.3833, allocations: 53.12 kB / 0.7469 GB, free: 34.42 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.227e-05/0.3833, allocations: 28.73 kB / 0.747 GB, free: 34.41 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.0009408/0.3842, allocations: 0.8516 MB / 0.7478 GB, free: 34.06 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3842, allocations: 0 / 0.7478 GB, free: 34.06 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001118/0.3854, allocations: 482.7 kB / 0.7483 GB, free: 33.93 MB / 0.6355 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.0006257/0.386, allocations: 473.4 kB / 0.7487 GB, free: 33.74 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001372/0.3874, allocations: 0.8265 MB / 0.7495 GB, free: 33.48 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.176e-06/0.3874, allocations: 320 / 0.7495 GB, free: 33.48 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.000679/0.388, allocations: 433.9 kB / 0.7499 GB, free: 33.36 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001257/0.3893, allocations: 461.8 kB / 0.7504 GB, free: 33.23 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003066/0.3924, allocations: 2.287 MB / 0.7526 GB, free: 32 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005886/0.393, allocations: 0.5714 MB / 0.7532 GB, free: 31.86 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002824/0.3932, allocations: 103.7 kB / 0.7533 GB, free: 31.84 MB / 0.6355 GB Notification: Performance of SimCode: time 1.203e-06/0.3932, allocations: 4 kB / 0.7533 GB, free: 31.84 MB / 0.6355 GB Notification: Performance of Templates: time 0.02926/0.4225, allocations: 31.66 MB / 0.7842 GB, free: 15.14 MB / 0.6355 GB " [Timeout remaining time 660] 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: 8.319716649129987] Failed to read output from testmodel.py, exit status != 0: 0.427471031434834 0.43318137900000003 0.086750909 Calling exit ...