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.0009837/0.0009837, allocations: 72.44 kB / 19.17 MB, free: 0.7344 MB / 13.93 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.0008856/0.0008856, allocations: 165.9 kB / 22.45 MB, free: 2.098 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.8978/0.8978, allocations: 177.1 MB / 202.8 MB, free: 5.742 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.7146/0.7146, allocations: 154.6 MB / 413.7 MB, free: 0.8125 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: "" <> 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 2.896e-06/2.896e-06, allocations: 0 / 0.618 GB, free: 13.79 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.458e-05/2.747e-05, allocations: 5.375 kB / 0.618 GB, free: 13.78 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3174/0.3174, allocations: 64.56 MB / 0.6811 GB, free: 57.54 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01508/0.3325, allocations: 17.55 MB / 0.6982 GB, free: 57.3 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002553/0.3351, allocations: 95.25 kB / 0.6983 GB, free: 57.3 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.002412/0.3375, allocations: 0.8344 MB / 0.6991 GB, free: 57.24 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.007346/0.3448, allocations: 3.094 MB / 0.7021 GB, free: 56.46 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.003942/0.3488, allocations: 1.816 MB / 0.7039 GB, free: 55.66 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.004284/0.353, allocations: 4.076 MB / 0.7079 GB, free: 53.66 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001589/0.3546, allocations: 1.149 MB / 0.709 GB, free: 53.09 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004498/0.3591, allocations: 2.552 MB / 0.7115 GB, free: 52.01 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001357/0.3605, allocations: 1.013 MB / 0.7125 GB, free: 51.75 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0002054/0.3607, allocations: 174.9 kB / 0.7127 GB, free: 51.75 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002004/0.3627, allocations: 1.167 MB / 0.7138 GB, free: 51.48 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002277/0.3629, allocations: 404.1 kB / 0.7142 GB, free: 51.21 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0005166/0.3634, allocations: 0.6016 MB / 0.7148 GB, free: 50.96 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.003075/0.3665, allocations: 3.156 MB / 0.7179 GB, free: 49.97 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.709e-06/0.3665, allocations: 0 / 0.7179 GB, free: 49.97 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3665, allocations: 2.344 kB / 0.7179 GB, free: 49.97 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.93e-05/0.3666, allocations: 0 / 0.7179 GB, free: 49.97 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.002336/0.3689, allocations: 1.992 MB / 0.7198 GB, free: 48.68 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.328e-05/0.3689, allocations: 14.69 kB / 0.7198 GB, free: 48.68 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001167/0.3691, allocations: 152 kB / 0.72 GB, free: 48.58 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001109/0.3702, allocations: 450 kB / 0.7204 GB, free: 48.47 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001924/0.3721, allocations: 1.535 MB / 0.7219 GB, free: 47.59 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.371e-05/0.3722, allocations: 81.47 kB / 0.722 GB, free: 47.56 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001556/0.3723, allocations: 105.2 kB / 0.7221 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001872/0.3742, allocations: 1.415 MB / 0.7235 GB, free: 46.72 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.85e-05/0.3742, allocations: 1.766 kB / 0.7235 GB, free: 46.72 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.486e-05/0.3743, allocations: 51.17 kB / 0.7235 GB, free: 46.68 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.93e-05/0.3743, allocations: 28.31 kB / 0.7235 GB, free: 46.68 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001674/0.376, allocations: 1.099 MB / 0.7246 GB, free: 46.3 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.005468/0.3814, allocations: 5.589 MB / 0.7301 GB, free: 42.41 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001711/0.3831, allocations: 0.7688 MB / 0.7308 GB, free: 42.16 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003618/0.3835, allocations: 266.6 kB / 0.7311 GB, free: 42.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003597/0.3839, allocations: 162.7 kB / 0.7312 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.909e-05/0.3839, allocations: 38 kB / 0.7313 GB, free: 41.99 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 2.074e-06/0.3839, allocations: 0 / 0.7313 GB, free: 41.99 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.002825/0.3867, allocations: 1.268 MB / 0.7325 GB, free: 41.58 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.528e-05/0.3867, allocations: 57.16 kB / 0.7326 GB, free: 41.52 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001685/0.3884, allocations: 1.567 MB / 0.7341 GB, free: 40.88 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 7.608e-05/0.3885, allocations: 42.39 kB / 0.7341 GB, free: 40.83 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.3889, allocations: 0.6813 MB / 0.7348 GB, free: 40.29 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001205/0.389, allocations: 178.3 kB / 0.735 GB, free: 40.15 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002024/0.3892, allocations: 170.3 kB / 0.7351 GB, free: 40.07 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 5.136e-05/0.3893, allocations: 338.2 kB / 0.7354 GB, free: 39.75 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005749/0.3898, allocations: 364.7 kB / 0.7358 GB, free: 39.63 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007183/0.3906, allocations: 0.9901 MB / 0.7368 GB, free: 38.75 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001038/0.3916, allocations: 0.8847 MB / 0.7376 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.502e-06/0.3916, allocations: 6.531 kB / 0.7376 GB, free: 38.18 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001935/0.3935, allocations: 1.2 MB / 0.7388 GB, free: 37.69 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.394e-05/0.3936, allocations: 14.88 kB / 0.7388 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.327e-05/0.3936, allocations: 8.906 kB / 0.7388 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006367/0.3942, allocations: 218 kB / 0.739 GB, free: 37.63 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004424/0.3947, allocations: 193.8 kB / 0.7392 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004793/0.3951, allocations: 0.7136 MB / 0.7399 GB, free: 37.02 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009664/0.3961, allocations: 214.9 kB / 0.7401 GB, free: 36.93 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.045e-05/0.3962, allocations: 45.02 kB / 0.7402 GB, free: 36.92 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.0004474/0.3966, allocations: 364.4 kB / 0.7405 GB, free: 36.65 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001453/0.3968, allocations: 158.5 kB / 0.7407 GB, free: 36.57 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001535/0.3983, allocations: 1.146 MB / 0.7418 GB, free: 36.16 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-05/0.3983, allocations: 16.89 kB / 0.7418 GB, free: 36.15 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.691e-06/0.3983, allocations: 0 / 0.7418 GB, free: 36.15 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.007e-06/0.3983, allocations: 4.531 kB / 0.7418 GB, free: 36.15 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00329/0.4016, allocations: 2.291 MB / 0.744 GB, free: 35.09 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.843e-06/0.4016, allocations: 5.344 kB / 0.744 GB, free: 35.08 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002013/0.4018, allocations: 85.55 kB / 0.7441 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004946/0.4023, allocations: 213 kB / 0.7443 GB, free: 35.02 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.717e-05/0.4024, allocations: 17.55 kB / 0.7443 GB, free: 35.01 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006377/0.403, allocations: 0.7742 MB / 0.7451 GB, free: 34.41 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.206e-06/0.403, allocations: 2.344 kB / 0.7451 GB, free: 34.41 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001976/0.405, allocations: 1.221 MB / 0.7463 GB, free: 33.86 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005733/0.4056, allocations: 285.1 kB / 0.7466 GB, free: 33.68 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001199/0.4057, allocations: 13.55 kB / 0.7466 GB, free: 33.67 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004622/0.4061, allocations: 78.02 kB / 0.7467 GB, free: 33.65 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.391e-05/0.4062, allocations: 44.44 kB / 0.7467 GB, free: 33.64 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.435e-05/0.4063, allocations: 26.3 kB / 0.7467 GB, free: 33.64 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001287/0.4076, allocations: 1.09 MB / 0.7478 GB, free: 33.2 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4076, allocations: 0 / 0.7478 GB, free: 33.2 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001099/0.4087, allocations: 447.6 kB / 0.7482 GB, free: 33.1 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.00262/0.4113, allocations: 2.132 MB / 0.7503 GB, free: 31.92 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001447/0.4127, allocations: 0.834 MB / 0.7511 GB, free: 31.65 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.637e-06/0.4128, allocations: 1.25 kB / 0.7511 GB, free: 31.65 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006935/0.4134, allocations: 429.1 kB / 0.7515 GB, free: 31.54 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002047/0.4155, allocations: 0.7328 MB / 0.7522 GB, free: 31.32 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01347/0.429, allocations: 10.54 MB / 0.7625 GB, free: 26.07 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003908/0.4294, allocations: 0.5859 MB / 0.7631 GB, free: 25.91 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0009789/0.4303, allocations: 268 kB / 0.7634 GB, free: 25.85 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005153/0.4308, allocations: 0.5484 MB / 0.7639 GB, free: 25.44 MB / 0.6355 GB Notification: Performance of SimCode: time 1.493e-06/0.4308, allocations: 0 / 0.7639 GB, free: 25.44 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05265/0.4835, allocations: 47.02 MB / 0.8098 GB, free: 3.91 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.055/9.539, allocations: 13.94 kB / 0.8098 GB, free: 3.898 MB / 0.6511 GB " [Timeout remaining time 650] (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 & python3 -m fmpy simulate --output-file IDEAS_dev_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 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 os._exit(0), Time elapsed: 13.583382641896605] Failed to read output from testmodel.py, exit status != 0: 9.650491086766124 9.658605205 9.289268032 Calling exit ...