Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.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.001258/0.001258, allocations: 97.88 kB / 19.73 MB, free: 2.117 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.001379/0.001379, allocations: 215.6 kB / 23.03 MB, free: 4.922 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.398/1.398, allocations: 230.6 MB / 256.8 MB, free: 7.785 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 master/package.mo): time 0.002479/0.002479, allocations: 289 kB / 313.5 MB, free: 2.691 MB / 238.1 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo): time 1.187/1.187, allocations: 180.6 MB / 0.5377 GB, free: 14.53 MB / 382.1 MB " [Timeout remaining time 179] Using package BuildingSystems with version 2.0.0-beta (/home/hudson/saved_omc/libraries/.openmodelica/libraries/BuildingSystems master/package.mo) Using package NcDataReader2 with version 2.5.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/NcDataReader2 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(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: NcDataReader2 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: BuildingSystems 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.002789/0.002789, allocations: 105.5 kB / 0.7403 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1523/0.1551, allocations: 95.38 MB / 0.8334 GB, free: 8.309 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07289/0.228, allocations: 64.96 MB / 0.8968 GB, free: 7.113 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02485/0.2528, allocations: 17.54 MB / 0.914 GB, free: 5.527 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002292/0.2551, allocations: 95.19 kB / 0.9141 GB, free: 5.434 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002078/0.2572, allocations: 0.8229 MB / 0.9149 GB, free: 4.605 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.00759/0.2648, allocations: 3.038 MB / 0.9178 GB, free: 1.555 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.003802/0.2686, allocations: 1.699 MB / 0.9195 GB, free: 15.86 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005297/0.2739, allocations: 4.099 MB / 0.9235 GB, free: 11.75 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001692/0.2756, allocations: 1.142 MB / 0.9246 GB, free: 10.58 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004074/0.2796, allocations: 1.871 MB / 0.9264 GB, free: 8.703 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001981/0.2816, allocations: 1.233 MB / 0.9276 GB, free: 7.465 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0002697/0.2819, allocations: 176 kB / 0.9278 GB, free: 7.293 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002576/0.2845, allocations: 1.185 MB / 0.929 GB, free: 6.105 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0004178/0.2849, allocations: 398.4 kB / 0.9293 GB, free: 5.715 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0009049/0.2858, allocations: 0.7233 MB / 0.93 GB, free: 4.988 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.004128/0.2899, allocations: 3.103 MB / 0.9331 GB, free: 1.875 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 4.889e-06/0.2899, allocations: 4 kB / 0.9331 GB, free: 1.871 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.843e-06/0.2899, allocations: 0 / 0.9331 GB, free: 1.871 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.183e-05/0.29, allocations: 0 / 0.9331 GB, free: 1.871 MB / 0.67 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.003527/0.2935, allocations: 2.011 MB / 0.935 GB, free: 15.81 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.094e-05/0.2935, allocations: 13.34 kB / 0.9351 GB, free: 15.8 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.676e-05/0.2936, allocations: 26.22 kB / 0.9351 GB, free: 15.77 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001915/0.2938, allocations: 152.6 kB / 0.9352 GB, free: 15.62 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002284/0.296, allocations: 459 kB / 0.9357 GB, free: 15.17 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002771/0.2988, allocations: 1.5 MB / 0.9371 GB, free: 13.62 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.493e-05/0.2989, allocations: 82.03 kB / 0.9372 GB, free: 13.54 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001688/0.299, allocations: 104 kB / 0.9373 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002681/0.3017, allocations: 1.417 MB / 0.9387 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.3018, allocations: 7.922 kB / 0.9387 GB, free: 11.88 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001146/0.3019, allocations: 44 kB / 0.9387 GB, free: 11.83 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.254e-05/0.3019, allocations: 24 kB / 0.9388 GB, free: 11.81 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002792/0.3047, allocations: 1.101 MB / 0.9398 GB, free: 10.71 MB / 0.6856 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.008152/0.3128, allocations: 5.624 MB / 0.9453 GB, free: 4.922 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003136/0.316, allocations: 0.7683 MB / 0.9461 GB, free: 4.148 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006081/0.3166, allocations: 270 kB / 0.9463 GB, free: 3.883 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005401/0.3171, allocations: 156.3 kB / 0.9465 GB, free: 3.73 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.81e-05/0.3172, allocations: 42.94 kB / 0.9465 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.535e-06/0.3172, allocations: 0 / 0.9465 GB, free: 3.68 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.004817/0.322, allocations: 1.272 MB / 0.9478 GB, free: 2.398 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.574e-05/0.322, allocations: 55.84 kB / 0.9478 GB, free: 2.332 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002422/0.3244, allocations: 1.546 MB / 0.9493 GB, free: 0.7773 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 6.537e-05/0.3245, allocations: 37.7 kB / 0.9494 GB, free: 0.7344 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006406/0.3252, allocations: 0.678 MB / 0.95 GB, free: 52 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001957/0.3253, allocations: 182.7 kB / 0.9502 GB, free: 15.87 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003144/0.3257, allocations: 174.5 kB / 0.9504 GB, free: 15.69 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001625/0.3258, allocations: 337.7 kB / 0.9507 GB, free: 15.36 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/0.3268, allocations: 365.8 kB / 0.951 GB, free: 15 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001457/0.3283, allocations: 0.9847 MB / 0.952 GB, free: 13.81 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001852/0.3302, allocations: 0.8897 MB / 0.9529 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.284e-06/0.3302, allocations: 4 kB / 0.9529 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.002952/0.3331, allocations: 1.189 MB / 0.954 GB, free: 11.61 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.102e-05/0.3331, allocations: 10.34 kB / 0.954 GB, free: 11.6 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.116e-05/0.3331, allocations: 8 kB / 0.9541 GB, free: 11.59 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008781/0.334, allocations: 224.6 kB / 0.9543 GB, free: 11.37 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007961/0.3348, allocations: 199.7 kB / 0.9545 GB, free: 11.18 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009101/0.3357, allocations: 0.7162 MB / 0.9552 GB, free: 10.43 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001425/0.3372, allocations: 219 kB / 0.9554 GB, free: 10.22 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.806e-05/0.3372, allocations: 44.08 kB / 0.9554 GB, free: 10.18 MB / 0.7012 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.0005454/0.3378, allocations: 357.5 kB / 0.9558 GB, free: 9.816 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002586/0.3381, allocations: 163 kB / 0.9559 GB, free: 9.656 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002518/0.3406, allocations: 1.148 MB / 0.957 GB, free: 8.488 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.847e-05/0.3406, allocations: 11.98 kB / 0.957 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.03e-06/0.3406, allocations: 0 / 0.957 GB, free: 8.477 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.895e-06/0.3406, allocations: 7.984 kB / 0.957 GB, free: 8.469 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00522/0.3458, allocations: 2.3 MB / 0.9593 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.863e-06/0.3458, allocations: 0 / 0.9593 GB, free: 6.102 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003899/0.3462, allocations: 83.89 kB / 0.9594 GB, free: 6.02 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007522/0.347, allocations: 216.7 kB / 0.9596 GB, free: 5.805 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.681e-05/0.347, allocations: 19.98 kB / 0.9596 GB, free: 5.785 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001325/0.3483, allocations: 0.7708 MB / 0.9604 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.914e-06/0.3483, allocations: 0 / 0.9604 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003483/0.3518, allocations: 1.223 MB / 0.9615 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005968/0.3524, allocations: 286.6 kB / 0.9618 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001956/0.3526, allocations: 16 kB / 0.9618 GB, free: 3.426 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009017/0.3535, allocations: 67.91 kB / 0.9619 GB, free: 3.359 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001059/0.3536, allocations: 48.36 kB / 0.9619 GB, free: 3.312 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.373e-05/0.3537, allocations: 27.98 kB / 0.962 GB, free: 3.285 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001836/0.3555, allocations: 1.086 MB / 0.963 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3555, allocations: 0 / 0.963 GB, free: 2.203 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001254/0.3568, allocations: 451.1 kB / 0.9635 GB, free: 1.762 MB / 0.7012 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.004509/0.3613, allocations: 2.13 MB / 0.9655 GB, free: 15.59 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002168/0.3635, allocations: 0.8247 MB / 0.9663 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.496e-06/0.3635, allocations: 4 kB / 0.9664 GB, free: 14.77 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001279/0.3647, allocations: 431.3 kB / 0.9668 GB, free: 14.34 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00313/0.3679, allocations: 0.7462 MB / 0.9675 GB, free: 13.61 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01831/0.3862, allocations: 10.51 MB / 0.9778 GB, free: 2.715 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006398/0.3868, allocations: 0.5835 MB / 0.9783 GB, free: 2.102 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001034/0.3879, allocations: 271.8 kB / 0.9786 GB, free: 1.836 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008244/0.3887, allocations: 0.5422 MB / 0.9791 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of SimCode: time 8.81e-07/0.3887, allocations: 0 / 0.9791 GB, free: 1.293 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.3882/0.7769, allocations: 46.61 MB / 1.025 GB, free: 116.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.79/16.57, allocations: 15.91 kB / 1.025 GB, free: 116.3 MB / 0.7169 GB " [Timeout remaining time 643] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 20.709969272953458] Failed to read output from testmodel.py, exit status != 0: 16.77559731400106 16.793007825 16.49964544 Calling exit ...