Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_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.001092/0.001092, allocations: 80.44 kB / 19.17 MB, free: 0.7422 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.0008593/0.0008593, allocations: 165.9 kB / 22.46 MB, free: 2.105 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.8833/0.8833, allocations: 177.1 MB / 202.8 MB, free: 5.758 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/package.mo): time 0.7066/0.7066, allocations: 154.6 MB / 413.8 MB, free: 0.8086 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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 4.0.0/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 4.0.0/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_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 0.6181 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 2.106e-05/2.246e-05, allocations: 11.53 kB / 0.6181 GB, free: 13.58 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3147/0.3148, allocations: 64.58 MB / 0.6812 GB, free: 57.61 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01435/0.3291, allocations: 17.55 MB / 0.6983 GB, free: 57.38 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001959/0.3311, allocations: 94.78 kB / 0.6984 GB, free: 57.38 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001532/0.3326, allocations: 0.8348 MB / 0.6992 GB, free: 57.32 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005172/0.3378, allocations: 3.093 MB / 0.7022 GB, free: 56.51 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002661/0.3404, allocations: 1.81 MB / 0.704 GB, free: 55.71 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003188/0.3436, allocations: 4.081 MB / 0.708 GB, free: 53.71 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001062/0.3447, allocations: 1.136 MB / 0.7091 GB, free: 53.14 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002857/0.3475, allocations: 2.557 MB / 0.7116 GB, free: 52.06 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001034/0.3486, allocations: 1.004 MB / 0.7126 GB, free: 51.81 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001366/0.3487, allocations: 176.3 kB / 0.7127 GB, free: 51.81 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001674/0.3504, allocations: 1.167 MB / 0.7139 GB, free: 51.53 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0002041/0.3506, allocations: 409.4 kB / 0.7143 GB, free: 51.27 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004184/0.351, allocations: 0.603 MB / 0.7148 GB, free: 51.01 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002573/0.3536, allocations: 3.152 MB / 0.7179 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 2.805e-06/0.3536, allocations: 0 / 0.7179 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.342e-06/0.3536, allocations: 0 / 0.7179 GB, free: 50.02 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.084e-05/0.3536, allocations: 0 / 0.7179 GB, free: 50.02 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.002067/0.3557, allocations: 1.999 MB / 0.7199 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.144e-05/0.3557, allocations: 10.78 kB / 0.7199 GB, free: 48.73 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001149/0.3558, allocations: 155 kB / 0.72 GB, free: 48.63 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001104/0.3569, allocations: 450.4 kB / 0.7205 GB, free: 48.52 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001829/0.3588, allocations: 1.533 MB / 0.722 GB, free: 47.65 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.94e-05/0.3588, allocations: 82.28 kB / 0.722 GB, free: 47.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001489/0.359, allocations: 106.2 kB / 0.7221 GB, free: 47.58 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001754/0.3607, allocations: 1.41 MB / 0.7235 GB, free: 46.77 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.998e-05/0.3608, allocations: 4.406 kB / 0.7235 GB, free: 46.77 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.679e-05/0.3608, allocations: 48.11 kB / 0.7236 GB, free: 46.74 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.907e-05/0.3608, allocations: 25.72 kB / 0.7236 GB, free: 46.74 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001659/0.3625, allocations: 1.103 MB / 0.7247 GB, free: 46.36 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.005248/0.3678, allocations: 5.595 MB / 0.7301 GB, free: 42.46 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001728/0.3695, allocations: 0.7734 MB / 0.7309 GB, free: 42.21 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003665/0.3698, allocations: 260.9 kB / 0.7311 GB, free: 42.12 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003227/0.3702, allocations: 153.2 kB / 0.7313 GB, free: 42.09 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.3702, allocations: 43.72 kB / 0.7313 GB, free: 42.04 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 2.926e-06/0.3702, allocations: 0 / 0.7313 GB, free: 42.04 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.002821/0.373, allocations: 1.267 MB / 0.7326 GB, free: 41.63 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.545e-05/0.373, allocations: 61.47 kB / 0.7326 GB, free: 41.57 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001645/0.3747, allocations: 1.565 MB / 0.7341 GB, free: 40.93 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 5.17e-05/0.3747, allocations: 37.39 kB / 0.7342 GB, free: 40.89 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003534/0.3751, allocations: 0.6825 MB / 0.7349 GB, free: 40.35 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001031/0.3752, allocations: 178.5 kB / 0.735 GB, free: 40.21 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001989/0.3754, allocations: 170.2 kB / 0.7352 GB, free: 40.13 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.275e-05/0.3754, allocations: 334.1 kB / 0.7355 GB, free: 39.81 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005586/0.376, allocations: 373 kB / 0.7359 GB, free: 39.69 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007259/0.3767, allocations: 0.9905 MB / 0.7368 GB, free: 38.8 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001016/0.3777, allocations: 0.8828 MB / 0.7377 GB, free: 38.23 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.951e-06/0.3777, allocations: 1.312 kB / 0.7377 GB, free: 38.23 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001837/0.3796, allocations: 1.205 MB / 0.7389 GB, free: 37.75 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.294e-05/0.3796, allocations: 15 kB / 0.7389 GB, free: 37.74 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.307e-05/0.3796, allocations: 11.38 kB / 0.7389 GB, free: 37.74 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006189/0.3802, allocations: 223.4 kB / 0.7391 GB, free: 37.68 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004399/0.3807, allocations: 189 kB / 0.7393 GB, free: 37.67 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004817/0.3811, allocations: 0.7132 MB / 0.74 GB, free: 37.07 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009042/0.3821, allocations: 228.7 kB / 0.7402 GB, free: 36.98 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.905e-05/0.3821, allocations: 41.09 kB / 0.7402 GB, free: 36.98 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.0004213/0.3825, allocations: 360.7 kB / 0.7406 GB, free: 36.71 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.3827, allocations: 163.2 kB / 0.7407 GB, free: 36.62 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001693/0.3844, allocations: 1.149 MB / 0.7419 GB, free: 36.21 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.452e-05/0.3844, allocations: 13.2 kB / 0.7419 GB, free: 36.21 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.442e-06/0.3844, allocations: 0 / 0.7419 GB, free: 36.21 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3844, allocations: 3.328 kB / 0.7419 GB, free: 36.21 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003332/0.3878, allocations: 2.292 MB / 0.7441 GB, free: 35.14 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.444e-06/0.3878, allocations: 1.188 kB / 0.7441 GB, free: 35.14 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002022/0.388, allocations: 91.92 kB / 0.7442 GB, free: 35.12 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004936/0.3885, allocations: 206.9 kB / 0.7444 GB, free: 35.08 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.546e-05/0.3885, allocations: 18.03 kB / 0.7444 GB, free: 35.07 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006636/0.3892, allocations: 0.7757 MB / 0.7452 GB, free: 34.46 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.926e-06/0.3892, allocations: 1.344 kB / 0.7452 GB, free: 34.46 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002038/0.3912, allocations: 1.221 MB / 0.7464 GB, free: 33.91 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0004463/0.3917, allocations: 285.5 kB / 0.7466 GB, free: 33.73 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001233/0.3918, allocations: 12.75 kB / 0.7467 GB, free: 33.72 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004562/0.3922, allocations: 78.72 kB / 0.7467 GB, free: 33.71 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.97e-05/0.3923, allocations: 43.94 kB / 0.7468 GB, free: 33.7 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.617e-05/0.3924, allocations: 26.06 kB / 0.7468 GB, free: 33.7 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001396/0.3938, allocations: 1.088 MB / 0.7479 GB, free: 33.26 MB / 0.6355 GB Notification: Performance of sort global known variables: time 4.2e-07/0.3938, allocations: 0 / 0.7479 GB, free: 33.26 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001193/0.395, allocations: 452.6 kB / 0.7483 GB, free: 33.16 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.002558/0.3975, allocations: 2.132 MB / 0.7504 GB, free: 31.98 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.001387/0.3989, allocations: 0.8297 MB / 0.7512 GB, free: 31.71 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.3989, allocations: 0 / 0.7512 GB, free: 31.71 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0006712/0.3996, allocations: 428.2 kB / 0.7516 GB, free: 31.6 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001919/0.4015, allocations: 0.731 MB / 0.7523 GB, free: 31.38 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01278/0.4143, allocations: 10.54 MB / 0.7626 GB, free: 26.14 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003995/0.4147, allocations: 0.5856 MB / 0.7632 GB, free: 25.98 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.001026/0.4157, allocations: 271.9 kB / 0.7634 GB, free: 25.92 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004887/0.4162, allocations: 0.5491 MB / 0.764 GB, free: 25.51 MB / 0.6355 GB Notification: Performance of SimCode: time 1.723e-06/0.4162, allocations: 0 / 0.764 GB, free: 25.51 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05718/0.4734, allocations: 47.02 MB / 0.8099 GB, free: 3.863 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.577/9.05, allocations: 8.062 kB / 0.8099 GB, free: 3.855 MB / 0.6511 GB " [Timeout remaining time 651] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 IDEAS_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 13.072890839539468] Failed to read output from testmodel.py, exit status != 0: 9.161306507885456 9.172210718 8.816760561 Calling exit ...