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.001604/0.001604, allocations: 99.64 kB / 18.94 MB, free: 2.551 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.002038/0.002038, allocations: 212.9 kB / 22.24 MB, free: 4.855 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.489/1.489, allocations: 230.6 MB / 256 MB, free: 7.789 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.002541/0.002541, allocations: 294.1 kB / 312.7 MB, free: 2.582 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.25/1.25, allocations: 180.6 MB / 0.5369 GB, free: 14.48 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="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",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.002996/0.002996, allocations: 102.6 kB / 0.7395 GB, free: 28.03 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.154/0.157, allocations: 95.38 MB / 0.8326 GB, free: 8.355 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.0771/0.2341, allocations: 65.02 MB / 0.8961 GB, free: 7.105 MB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02625/0.2603, allocations: 17.57 MB / 0.9133 GB, free: 5.484 MB / 0.6544 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002063/0.2624, allocations: 95.19 kB / 0.9134 GB, free: 5.391 MB / 0.6544 GB Notification: Performance of NFTyping.typeComponents: time 0.002347/0.2647, allocations: 0.8268 MB / 0.9142 GB, free: 4.559 MB / 0.6544 GB Notification: Performance of NFTyping.typeBindings: time 0.008284/0.273, allocations: 3.031 MB / 0.9171 GB, free: 1.516 MB / 0.6544 GB Notification: Performance of NFTyping.typeClassSections: time 0.00417/0.2772, allocations: 1.683 MB / 0.9188 GB, free: 15.84 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005807/0.283, allocations: 4.075 MB / 0.9228 GB, free: 11.75 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002022/0.285, allocations: 1.138 MB / 0.9239 GB, free: 10.58 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004252/0.2893, allocations: 1.866 MB / 0.9257 GB, free: 8.711 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.00231/0.2916, allocations: 1.167 MB / 0.9268 GB, free: 7.539 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0004517/0.292, allocations: 176 kB / 0.927 GB, free: 7.367 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002924/0.295, allocations: 1.158 MB / 0.9281 GB, free: 6.207 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0005878/0.2955, allocations: 394.5 kB / 0.9285 GB, free: 5.82 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.001327/0.2969, allocations: 0.7194 MB / 0.9292 GB, free: 5.098 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.005101/0.302, allocations: 3.099 MB / 0.9322 GB, free: 1.988 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 6.312e-06/0.302, allocations: 0 / 0.9322 GB, free: 1.988 MB / 0.67 GB Notification: Performance of FrontEnd: time 1.894e-06/0.302, allocations: 0 / 0.9322 GB, free: 1.988 MB / 0.67 GB Notification: Performance of Transformations before backend: time 7.669e-05/0.3021, allocations: 0 / 0.9322 GB, free: 1.988 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.004854/0.3069, allocations: 2.008 MB / 0.9342 GB, free: 15.93 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.711e-05/0.307, allocations: 9.344 kB / 0.9342 GB, free: 15.92 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002989/0.3073, allocations: 160.6 kB / 0.9344 GB, free: 15.76 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00246/0.3097, allocations: 451.2 kB / 0.9348 GB, free: 15.32 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003628/0.3133, allocations: 1.511 MB / 0.9363 GB, free: 13.76 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001001/0.3134, allocations: 78.03 kB / 0.9364 GB, free: 13.68 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002688/0.3137, allocations: 108 kB / 0.9365 GB, free: 13.57 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003212/0.3169, allocations: 1.417 MB / 0.9378 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.96e-05/0.317, allocations: 8 kB / 0.9378 GB, free: 12.02 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001211/0.3171, allocations: 44 kB / 0.9379 GB, free: 11.97 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.877e-05/0.3171, allocations: 27.94 kB / 0.9379 GB, free: 11.95 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003018/0.3201, allocations: 1.097 MB / 0.939 GB, free: 10.85 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.009237/0.3294, allocations: 5.601 MB / 0.9445 GB, free: 5.086 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003316/0.3327, allocations: 0.7751 MB / 0.9452 GB, free: 4.309 MB / 0.6856 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000642/0.3333, allocations: 266 kB / 0.9455 GB, free: 4.047 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005448/0.3339, allocations: 160.3 kB / 0.9456 GB, free: 3.891 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.108e-05/0.3339, allocations: 50.88 kB / 0.9457 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=48): time 2.614e-06/0.3339, allocations: 0 / 0.9457 GB, free: 3.832 MB / 0.6856 GB Notification: Performance of matching and sorting (n=48): time 0.004991/0.3389, allocations: 1.264 MB / 0.9469 GB, free: 2.559 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.352e-05/0.3389, allocations: 59.78 kB / 0.947 GB, free: 2.488 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0027/0.3416, allocations: 1.557 MB / 0.9485 GB, free: 0.9219 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 8.099e-05/0.3417, allocations: 37.7 kB / 0.9485 GB, free: 0.8789 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007106/0.3424, allocations: 0.6896 MB / 0.9492 GB, free: 188 kB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001946/0.3426, allocations: 182.5 kB / 0.9494 GB, free: 4 kB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003369/0.343, allocations: 174.5 kB / 0.9495 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001504/0.3431, allocations: 330 kB / 0.9498 GB, free: 15.5 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.00104/0.3442, allocations: 365.8 kB / 0.9502 GB, free: 15.14 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001635/0.3458, allocations: 0.9847 MB / 0.9512 GB, free: 13.95 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002061/0.3478, allocations: 0.8858 MB / 0.952 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.045e-05/0.3479, allocations: 8 kB / 0.952 GB, free: 12.95 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003337/0.3512, allocations: 1.197 MB / 0.9532 GB, free: 11.74 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.41e-05/0.3512, allocations: 8 kB / 0.9532 GB, free: 11.73 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.741e-05/0.3512, allocations: 11.94 kB / 0.9532 GB, free: 11.72 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009339/0.3522, allocations: 220.7 kB / 0.9534 GB, free: 11.5 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007997/0.353, allocations: 187.7 kB / 0.9536 GB, free: 11.32 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009685/0.3539, allocations: 0.724 MB / 0.9543 GB, free: 10.57 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001668/0.3556, allocations: 215.1 kB / 0.9545 GB, free: 10.36 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001255/0.3557, allocations: 43.92 kB / 0.9546 GB, free: 10.31 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.0008356/0.3566, allocations: 353.6 kB / 0.9549 GB, free: 9.957 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004832/0.3571, allocations: 155 kB / 0.955 GB, free: 9.805 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003075/0.3601, allocations: 1.152 MB / 0.9562 GB, free: 8.633 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.774e-05/0.3602, allocations: 19.97 kB / 0.9562 GB, free: 8.613 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.292e-05/0.3602, allocations: 4 kB / 0.9562 GB, free: 8.609 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.019e-05/0.3602, allocations: 3.984 kB / 0.9562 GB, free: 8.605 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006092/0.3663, allocations: 2.288 MB / 0.9584 GB, free: 6.25 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.454e-05/0.3663, allocations: 4 kB / 0.9584 GB, free: 6.246 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004078/0.3667, allocations: 88.06 kB / 0.9585 GB, free: 6.16 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008452/0.3675, allocations: 208.6 kB / 0.9587 GB, free: 5.953 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.594e-05/0.3676, allocations: 19.98 kB / 0.9587 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001421/0.369, allocations: 0.7708 MB / 0.9595 GB, free: 5.137 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.873e-06/0.369, allocations: 7.969 kB / 0.9595 GB, free: 5.129 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003752/0.3728, allocations: 1.215 MB / 0.9607 GB, free: 3.871 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008328/0.3736, allocations: 286.6 kB / 0.961 GB, free: 3.59 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003395/0.374, allocations: 15.98 kB / 0.961 GB, free: 3.574 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001018/0.375, allocations: 67.92 kB / 0.961 GB, free: 3.508 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001021/0.3751, allocations: 44.42 kB / 0.9611 GB, free: 3.465 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.562e-05/0.3751, allocations: 23.98 kB / 0.9611 GB, free: 3.441 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.002132/0.3773, allocations: 1.086 MB / 0.9622 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of sort global known variables: time 1.1e-07/0.3773, allocations: 0 / 0.9622 GB, free: 2.359 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001485/0.3788, allocations: 451.1 kB / 0.9626 GB, free: 1.918 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.00493/0.3837, allocations: 2.138 MB / 0.9647 GB, free: 15.73 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002346/0.386, allocations: 0.8286 MB / 0.9655 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.901e-06/0.386, allocations: 4 kB / 0.9655 GB, free: 14.91 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001373/0.3874, allocations: 423.3 kB / 0.9659 GB, free: 14.49 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003402/0.3908, allocations: 0.7409 MB / 0.9666 GB, free: 13.76 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01963/0.4104, allocations: 10.5 MB / 0.9769 GB, free: 2.883 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006912/0.4111, allocations: 0.5836 MB / 0.9774 GB, free: 2.27 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001071/0.4122, allocations: 275.9 kB / 0.9777 GB, free: 2 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008525/0.4131, allocations: 0.5461 MB / 0.9782 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of SimCode: time 9.02e-07/0.4131, allocations: 0 / 0.9782 GB, free: 1.453 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.39/0.8031, allocations: 46.96 MB / 1.024 GB, free: 116.2 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14/14.8, allocations: 0 / 1.024 GB, free: 116.2 MB / 0.7169 GB " [Timeout remaining time 645] (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: 19.044042360968888] Failed to read output from testmodel.py, exit status != 0: 14.948690677061677 14.968515987 14.662905093 Calling exit ...