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.001758/0.001758, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.002095/0.002095, allocations: 215 kB / 23.04 MB, free: 5.074 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.454/1.454, allocations: 230.6 MB / 256.8 MB, free: 8.008 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.002557/0.002557, allocations: 297 kB / 313.5 MB, free: 2.82 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.197/1.197, allocations: 180.6 MB / 0.5377 GB, free: 12.94 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.002831/0.002831, allocations: 95.39 kB / 0.7403 GB, free: 28.38 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1655/0.1684, allocations: 95.39 MB / 0.8335 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07826/0.2466, allocations: 71.93 MB / 0.9037 GB, free: 480 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02623/0.2729, allocations: 19.12 MB / 0.9224 GB, free: 13.29 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002226/0.2751, allocations: 99.19 kB / 0.9225 GB, free: 13.19 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002181/0.2773, allocations: 0.8502 MB / 0.9233 GB, free: 12.34 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007503/0.2848, allocations: 3.066 MB / 0.9263 GB, free: 9.258 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004059/0.2888, allocations: 1.716 MB / 0.928 GB, free: 7.551 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.00597/0.2948, allocations: 4.091 MB / 0.932 GB, free: 3.449 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.00195/0.2968, allocations: 1.157 MB / 0.9331 GB, free: 2.258 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004337/0.3011, allocations: 1.849 MB / 0.9349 GB, free: 412 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002513/0.3036, allocations: 1.245 MB / 0.9362 GB, free: 15.15 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.000348/0.3039, allocations: 176 kB / 0.9363 GB, free: 14.98 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003333/0.3073, allocations: 1.493 MB / 0.9378 GB, free: 13.48 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004306/0.3077, allocations: 406.4 kB / 0.9382 GB, free: 13.09 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001208/0.3089, allocations: 0.9099 MB / 0.9391 GB, free: 12.17 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.004773/0.3137, allocations: 3.146 MB / 0.9421 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3137, allocations: 0 / 0.9421 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.473e-06/0.3137, allocations: 0 / 0.9421 GB, free: 9.016 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.68e-05/0.3137, allocations: 3.938 kB / 0.9421 GB, free: 9.012 MB / 0.6856 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.004047/0.3178, allocations: 2.01 MB / 0.9441 GB, free: 6.957 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.114e-05/0.3178, allocations: 13.34 kB / 0.9441 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 4.746e-05/0.3179, allocations: 26.22 kB / 0.9441 GB, free: 6.918 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002002/0.3181, allocations: 156.6 kB / 0.9443 GB, free: 6.758 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002323/0.3204, allocations: 455 kB / 0.9447 GB, free: 6.312 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003177/0.3236, allocations: 1.504 MB / 0.9462 GB, free: 4.758 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.106e-05/0.3237, allocations: 82.03 kB / 0.9463 GB, free: 4.676 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001648/0.3238, allocations: 107.9 kB / 0.9464 GB, free: 4.57 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002746/0.3266, allocations: 1.317 MB / 0.9477 GB, free: 3.145 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.27e-05/0.3266, allocations: 4 kB / 0.9477 GB, free: 3.141 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001075/0.3267, allocations: 44 kB / 0.9477 GB, free: 3.098 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.705e-05/0.3267, allocations: 24 kB / 0.9477 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002823/0.3296, allocations: 1.108 MB / 0.9488 GB, free: 1.965 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.009814/0.3394, allocations: 7.368 MB / 0.956 GB, free: 10.11 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003285/0.3427, allocations: 0.7762 MB / 0.9568 GB, free: 9.324 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006432/0.3433, allocations: 266 kB / 0.957 GB, free: 9.062 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005531/0.3438, allocations: 160.3 kB / 0.9572 GB, free: 8.906 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.3439, allocations: 46.94 kB / 0.9572 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.134e-06/0.3439, allocations: 0 / 0.9572 GB, free: 8.852 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.005012/0.3489, allocations: 1.26 MB / 0.9584 GB, free: 7.582 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.431e-05/0.3489, allocations: 59.78 kB / 0.9585 GB, free: 7.512 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002506/0.3515, allocations: 1.553 MB / 0.96 GB, free: 5.949 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 8.794e-05/0.3515, allocations: 37.7 kB / 0.96 GB, free: 5.906 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006321/0.3522, allocations: 0.6819 MB / 0.9607 GB, free: 5.219 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.000177/0.3523, allocations: 182.5 kB / 0.9609 GB, free: 5.039 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003149/0.3527, allocations: 174.5 kB / 0.9611 GB, free: 4.863 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001469/0.3528, allocations: 337.9 kB / 0.9614 GB, free: 4.527 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001061/0.3539, allocations: 361.8 kB / 0.9617 GB, free: 4.172 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001306/0.3552, allocations: 0.6584 MB / 0.9624 GB, free: 3.387 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001948/0.3571, allocations: 0.8858 MB / 0.9632 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.33e-06/0.3571, allocations: 0 / 0.9632 GB, free: 2.395 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.00314/0.3603, allocations: 1.197 MB / 0.9644 GB, free: 1.188 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.28e-05/0.3603, allocations: 8 kB / 0.9644 GB, free: 1.18 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.674e-05/0.3603, allocations: 8 kB / 0.9644 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009165/0.3612, allocations: 216.6 kB / 0.9646 GB, free: 0.957 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007786/0.362, allocations: 195.7 kB / 0.9648 GB, free: 0.7656 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009612/0.363, allocations: 0.724 MB / 0.9655 GB, free: 16 kB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001563/0.3645, allocations: 223.2 kB / 0.9657 GB, free: 15.79 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.925e-05/0.3646, allocations: 43.98 kB / 0.9658 GB, free: 15.75 MB / 0.7169 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.0006279/0.3653, allocations: 349.6 kB / 0.9661 GB, free: 15.4 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002814/0.3655, allocations: 155 kB / 0.9662 GB, free: 15.25 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002606/0.3681, allocations: 1.155 MB / 0.9674 GB, free: 14.07 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.081e-05/0.3682, allocations: 11.98 kB / 0.9674 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.933e-06/0.3682, allocations: 3.984 kB / 0.9674 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.202e-05/0.3682, allocations: 3.984 kB / 0.9674 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005606/0.3738, allocations: 2.503 MB / 0.9698 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.374e-06/0.3738, allocations: 0 / 0.9698 GB, free: 11.48 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003948/0.3742, allocations: 87.88 kB / 0.9699 GB, free: 11.4 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008236/0.375, allocations: 208.8 kB / 0.9701 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.159e-05/0.3751, allocations: 16 kB / 0.9701 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001488/0.3766, allocations: 0.7786 MB / 0.9709 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.015e-06/0.3766, allocations: 3.938 kB / 0.9709 GB, free: 10.37 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003788/0.3804, allocations: 1.226 MB / 0.9721 GB, free: 9.098 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007248/0.3811, allocations: 282.6 kB / 0.9724 GB, free: 8.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001909/0.3813, allocations: 12 kB / 0.9724 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008891/0.3822, allocations: 75.91 kB / 0.9725 GB, free: 8.734 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.206e-05/0.3823, allocations: 36.42 kB / 0.9725 GB, free: 8.699 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.91e-05/0.3823, allocations: 27.98 kB / 0.9725 GB, free: 8.672 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001826/0.3841, allocations: 1.09 MB / 0.9736 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.3e-07/0.3841, allocations: 0 / 0.9736 GB, free: 7.586 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001284/0.3854, allocations: 451 kB / 0.974 GB, free: 7.145 MB / 0.7169 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.004561/0.39, allocations: 2.133 MB / 0.9761 GB, free: 4.969 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002268/0.3923, allocations: 0.8286 MB / 0.9769 GB, free: 4.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.636e-06/0.3923, allocations: 3.938 kB / 0.9769 GB, free: 4.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001355/0.3936, allocations: 431.3 kB / 0.9773 GB, free: 3.719 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003308/0.3969, allocations: 0.7415 MB / 0.978 GB, free: 2.984 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3424/0.7393, allocations: 10.51 MB / 0.9883 GB, free: 139.7 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005682/0.7399, allocations: 1.166 MB / 0.9894 GB, free: 139 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001015/0.7409, allocations: 265.5 kB / 0.9897 GB, free: 138.9 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006711/0.7416, allocations: 0.5517 MB / 0.9902 GB, free: 138.5 MB / 0.7169 GB Notification: Performance of SimCode: time 1.062e-06/0.7416, allocations: 0 / 0.9902 GB, free: 138.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07205/0.8136, allocations: 44.56 MB / 1.034 GB, free: 107.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.65/16.46, allocations: 0 / 1.034 GB, free: 107.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 sys.exit(0), Time elapsed: 20.713268068036996] Failed to read output from testmodel.py, exit status != 0: 16.669101179984864 16.68962075 16.37206924 Calling exit ...