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.001283/0.001283, 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.001448/0.001448, allocations: 170.3 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.8767/0.8767, 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.6949/0.6949, allocations: 154.6 MB / 413.7 MB, free: 0.8281 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 1.703e-06/1.703e-06, allocations: 0 / 0.618 GB, free: 13.76 MB / 0.5886 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.046e-05/1.216e-05, allocations: 5.375 kB / 0.618 GB, free: 13.75 MB / 0.5886 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.3163/0.3163, allocations: 64.57 MB / 0.6811 GB, free: 57.52 MB / 0.6355 GB Notification: Performance of NFInst.instExpressions: time 0.01517/0.3315, allocations: 17.55 MB / 0.6982 GB, free: 57.27 MB / 0.6355 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003027/0.3345, allocations: 97.75 kB / 0.6983 GB, free: 57.27 MB / 0.6355 GB Notification: Performance of NFTyping.typeComponents: time 0.001716/0.3362, allocations: 0.8298 MB / 0.6991 GB, free: 57.21 MB / 0.6355 GB Notification: Performance of NFTyping.typeBindings: time 0.005862/0.3421, allocations: 3.091 MB / 0.7022 GB, free: 56.44 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.002801/0.3449, allocations: 1.814 MB / 0.7039 GB, free: 55.64 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.003402/0.3483, allocations: 4.075 MB / 0.7079 GB, free: 53.64 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001169/0.3495, allocations: 1.138 MB / 0.709 GB, free: 53.07 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003065/0.3525, allocations: 2.564 MB / 0.7115 GB, free: 51.98 MB / 0.6355 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001141/0.3537, allocations: 1.01 MB / 0.7125 GB, free: 51.73 MB / 0.6355 GB Notification: Performance of NFPackage.collectConstants: time 0.0001771/0.3539, allocations: 177.2 kB / 0.7127 GB, free: 51.73 MB / 0.6355 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001759/0.3556, allocations: 1.17 MB / 0.7138 GB, free: 51.45 MB / 0.6355 GB Notification: Performance of NFScalarize.scalarize: time 0.0001944/0.3558, allocations: 403.5 kB / 0.7142 GB, free: 51.19 MB / 0.6355 GB Notification: Performance of NFVerifyModel.verify: time 0.0004573/0.3563, allocations: 0.6068 MB / 0.7148 GB, free: 50.93 MB / 0.6355 GB Notification: Performance of NFConvertDAE.convert: time 0.002694/0.359, allocations: 3.148 MB / 0.7179 GB, free: 49.94 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 4.719e-06/0.359, allocations: 0 / 0.7179 GB, free: 49.94 MB / 0.6355 GB Notification: Performance of FrontEnd: time 1.964e-06/0.359, allocations: 0 / 0.7179 GB, free: 49.94 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 2.696e-05/0.359, allocations: 0 / 0.7179 GB, free: 49.94 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.002266/0.3613, allocations: 1.993 MB / 0.7198 GB, free: 48.65 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 5.013e-05/0.3613, allocations: 15.75 kB / 0.7198 GB, free: 48.65 MB / 0.6355 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001233/0.3614, allocations: 154.3 kB / 0.72 GB, free: 48.55 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001135/0.3626, allocations: 452.7 kB / 0.7204 GB, free: 48.44 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.3646, allocations: 1.528 MB / 0.7219 GB, free: 47.57 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.64e-05/0.3647, allocations: 82.66 kB / 0.722 GB, free: 47.53 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001487/0.3648, allocations: 101.9 kB / 0.7221 GB, free: 47.5 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001814/0.3667, allocations: 1.413 MB / 0.7235 GB, free: 46.69 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.917e-05/0.3667, allocations: 7.719 kB / 0.7235 GB, free: 46.69 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.559e-05/0.3667, allocations: 43.94 kB / 0.7235 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.023e-05/0.3668, allocations: 26.31 kB / 0.7235 GB, free: 46.66 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001818/0.3686, allocations: 1.106 MB / 0.7246 GB, free: 46.27 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.006008/0.3746, allocations: 5.59 MB / 0.7301 GB, free: 42.38 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001775/0.3764, allocations: 0.7747 MB / 0.7308 GB, free: 42.13 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003919/0.3767, allocations: 265.3 kB / 0.7311 GB, free: 42.03 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003901/0.3771, allocations: 157.9 kB / 0.7312 GB, free: 42 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.529e-05/0.3772, allocations: 39.27 kB / 0.7313 GB, free: 41.96 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=48): time 3.547e-06/0.3772, allocations: 0 / 0.7313 GB, free: 41.96 MB / 0.6355 GB Notification: Performance of matching and sorting (n=48): time 0.002856/0.38, allocations: 1.269 MB / 0.7325 GB, free: 41.55 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.871e-05/0.3801, allocations: 56.97 kB / 0.7326 GB, free: 41.48 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00176/0.3818, allocations: 1.57 MB / 0.7341 GB, free: 40.84 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 6.753e-05/0.3819, allocations: 37.36 kB / 0.7341 GB, free: 40.8 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003595/0.3822, allocations: 0.6785 MB / 0.7348 GB, free: 40.26 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001167/0.3824, allocations: 180.7 kB / 0.735 GB, free: 40.12 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001957/0.3826, allocations: 170.2 kB / 0.7351 GB, free: 40.04 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 4.395e-05/0.3826, allocations: 333.2 kB / 0.7354 GB, free: 39.72 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005539/0.3832, allocations: 368.6 kB / 0.7358 GB, free: 39.6 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006972/0.3838, allocations: 0.9861 MB / 0.7368 GB, free: 38.72 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009809/0.3848, allocations: 0.8829 MB / 0.7376 GB, free: 38.15 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.352e-06/0.3848, allocations: 2.688 kB / 0.7376 GB, free: 38.15 MB / 0.6355 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001815/0.3866, allocations: 1.2 MB / 0.7388 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 2.256e-05/0.3867, allocations: 8.438 kB / 0.7388 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.288e-05/0.3867, allocations: 12.97 kB / 0.7388 GB, free: 37.66 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006092/0.3873, allocations: 221.7 kB / 0.739 GB, free: 37.61 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004192/0.3877, allocations: 199.9 kB / 0.7392 GB, free: 37.58 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004727/0.3882, allocations: 0.7116 MB / 0.7399 GB, free: 36.99 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009282/0.3891, allocations: 218.9 kB / 0.7401 GB, free: 36.9 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.805e-05/0.3892, allocations: 44.25 kB / 0.7402 GB, free: 36.89 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.000424/0.3896, allocations: 360.4 kB / 0.7405 GB, free: 36.63 MB / 0.6355 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000162/0.3898, allocations: 163.8 kB / 0.7407 GB, free: 36.54 MB / 0.6355 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001481/0.3913, allocations: 1.143 MB / 0.7418 GB, free: 36.13 MB / 0.6355 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.632e-05/0.3913, allocations: 16.66 kB / 0.7418 GB, free: 36.12 MB / 0.6355 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.3913, allocations: 0 / 0.7418 GB, free: 36.12 MB / 0.6355 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.564e-06/0.3913, allocations: 3.562 kB / 0.7418 GB, free: 36.12 MB / 0.6355 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003126/0.3944, allocations: 2.293 MB / 0.744 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.57e-06/0.3944, allocations: 1.625 kB / 0.744 GB, free: 35.06 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001988/0.3946, allocations: 92.02 kB / 0.7441 GB, free: 35.04 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0004887/0.3951, allocations: 214.7 kB / 0.7443 GB, free: 34.99 MB / 0.6355 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.155e-05/0.3951, allocations: 17.06 kB / 0.7444 GB, free: 34.98 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006284/0.3958, allocations: 0.7758 MB / 0.7451 GB, free: 34.37 MB / 0.6355 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.3958, allocations: 2.562 kB / 0.7451 GB, free: 34.37 MB / 0.6355 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001905/0.3977, allocations: 1.218 MB / 0.7463 GB, free: 33.83 MB / 0.6355 GB Notification: Performance of postOpt removeConstants (simulation): time 0.000476/0.3981, allocations: 287.6 kB / 0.7466 GB, free: 33.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001152/0.3983, allocations: 12.73 kB / 0.7466 GB, free: 33.64 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000446/0.3987, allocations: 74.86 kB / 0.7467 GB, free: 33.62 MB / 0.6355 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.944e-05/0.3988, allocations: 44.83 kB / 0.7467 GB, free: 33.61 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.382e-05/0.3988, allocations: 28.38 kB / 0.7467 GB, free: 33.61 MB / 0.6355 GB Notification: Performance of sorting global known variables: time 0.001278/0.4001, allocations: 1.088 MB / 0.7478 GB, free: 33.17 MB / 0.6355 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4001, allocations: 1.188 kB / 0.7478 GB, free: 33.17 MB / 0.6355 GB Notification: Performance of remove unused functions: time 0.001081/0.4012, allocations: 448.4 kB / 0.7482 GB, free: 33.07 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.002869/0.4041, allocations: 2.132 MB / 0.7503 GB, free: 31.89 MB / 0.6355 GB Notification: Performance of simCode: created initialization part: time 0.002251/0.4063, allocations: 0.8267 MB / 0.7511 GB, free: 31.63 MB / 0.6355 GB Notification: Performance of simCode: created event and clocks part: time 4.649e-06/0.4063, allocations: 320 / 0.7511 GB, free: 31.63 MB / 0.6355 GB Notification: Performance of simCode: created simulation system equations: time 0.0007811/0.4071, allocations: 438.1 kB / 0.7515 GB, free: 31.51 MB / 0.6355 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002601/0.4097, allocations: 0.7325 MB / 0.7522 GB, free: 31.3 MB / 0.6355 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01297/0.4227, allocations: 10.54 MB / 0.7625 GB, free: 26.05 MB / 0.6355 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003868/0.4231, allocations: 0.5865 MB / 0.7631 GB, free: 25.89 MB / 0.6355 GB Notification: Performance of simCode: alias equations: time 0.0008966/0.424, allocations: 271.5 kB / 0.7634 GB, free: 25.83 MB / 0.6355 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004479/0.4244, allocations: 0.5475 MB / 0.7639 GB, free: 25.42 MB / 0.6355 GB Notification: Performance of SimCode: time 1.532e-06/0.4244, allocations: 0 / 0.7639 GB, free: 25.42 MB / 0.6355 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.05461/0.479, allocations: 47.03 MB / 0.8098 GB, free: 3.867 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.081/9.56, allocations: 6.031 kB / 0.8098 GB, free: 3.863 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_IDEAS_dev_IDEAS_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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.95759141817689] Failed to read output from testmodel.py, exit status != 0: 9.671394381672144 9.680451315000001 9.319664917 Calling exit ...