Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.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.00131/0.00131, 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.001499/0.001499, allocations: 210.8 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.443/1.443, allocations: 230.6 MB / 256 MB, free: 7.988 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.002616/0.002616, allocations: 292.6 kB / 312.7 MB, free: 2.621 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.294/1.294, allocations: 180.6 MB / 0.5369 GB, free: 14.64 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.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.003062/0.003062, allocations: 95.92 kB / 0.7395 GB, free: 28.04 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1551/0.1581, allocations: 95.39 MB / 0.8327 GB, free: 8.32 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1352/0.2934, allocations: 121.6 MB / 0.9514 GB, free: 14.34 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03333/0.3267, allocations: 21.6 MB / 0.9725 GB, free: 8.684 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003922/0.3306, allocations: 174.5 kB / 0.9726 GB, free: 8.512 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003831/0.3345, allocations: 1.479 MB / 0.9741 GB, free: 7.023 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01123/0.3457, allocations: 4.357 MB / 0.9783 GB, free: 2.648 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005471/0.3512, allocations: 2.204 MB / 0.9805 GB, free: 476 kB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3782/0.7294, allocations: 6.568 MB / 0.9869 GB, free: 43.07 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003134/0.7325, allocations: 1.818 MB / 0.9887 GB, free: 42.91 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006633/0.7392, allocations: 2.901 MB / 0.9915 GB, free: 42.91 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004137/0.7433, allocations: 1.862 MB / 0.9933 GB, free: 42.69 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007593/0.7441, allocations: 246.4 kB / 0.9936 GB, free: 42.69 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005348/0.7494, allocations: 1.596 MB / 0.9951 GB, free: 42.69 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0008824/0.7503, allocations: 0.6188 MB / 0.9957 GB, free: 42.57 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00289/0.7532, allocations: 1.161 MB / 0.9969 GB, free: 42.27 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.007519/0.7607, allocations: 4.384 MB / 1.001 GB, free: 41.68 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 4.319e-06/0.7607, allocations: 0 / 1.001 GB, free: 41.68 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.453e-06/0.7607, allocations: 1.781 kB / 1.001 GB, free: 41.68 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.93e-05/0.7608, allocations: 1.188 kB / 1.001 GB, free: 41.68 MB / 0.7169 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 388 * Number of variables: 388 Notification: Performance of Generate backend data structure: time 0.00715/0.7679, allocations: 3.197 MB / 1.004 GB, free: 40.17 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.121e-05/0.768, allocations: 13.67 kB / 1.004 GB, free: 40.17 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002552/0.7682, allocations: 218.9 kB / 1.004 GB, free: 40.12 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004469/0.7727, allocations: 0.8506 MB / 1.005 GB, free: 39.96 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.005115/0.7778, allocations: 2.274 MB / 1.008 GB, free: 39.38 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000109/0.7779, allocations: 127.8 kB / 1.008 GB, free: 39.38 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/0.7782, allocations: 159.8 kB / 1.008 GB, free: 39.38 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003981/0.7822, allocations: 1.999 MB / 1.01 GB, free: 39.06 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.38e-05/0.7823, allocations: 7.094 kB / 1.01 GB, free: 39.06 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001387/0.7824, allocations: 62.44 kB / 1.01 GB, free: 39.06 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.445e-05/0.7824, allocations: 36.97 kB / 1.01 GB, free: 39.06 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004278/0.7867, allocations: 1.802 MB / 1.012 GB, free: 39.02 MB / 0.7169 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.01096/0.7977, allocations: 6.488 MB / 1.018 GB, free: 36.96 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003945/0.8016, allocations: 1.141 MB / 1.019 GB, free: 36.9 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009703/0.8026, allocations: 436.3 kB / 1.019 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004297/0.803, allocations: 154.5 kB / 1.02 GB, free: 36.88 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.543e-05/0.803, allocations: 42.36 kB / 1.02 GB, free: 36.84 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 3.126e-06/0.803, allocations: 3.938 kB / 1.02 GB, free: 36.83 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.00831/0.8113, allocations: 2.2 MB / 1.022 GB, free: 36.56 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.003e-05/0.8114, allocations: 86.91 kB / 1.022 GB, free: 36.47 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.004/0.8154, allocations: 2.531 MB / 1.024 GB, free: 36.22 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0002024/0.8156, allocations: 47.89 kB / 1.024 GB, free: 36.19 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0007033/0.8163, allocations: 1.056 MB / 1.025 GB, free: 35.91 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002541/0.8165, allocations: 286.8 kB / 1.026 GB, free: 35.72 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003797/0.8169, allocations: 257.9 kB / 1.026 GB, free: 35.7 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.674e-05/0.817, allocations: 346.9 kB / 1.026 GB, free: 35.39 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001619/0.8186, allocations: 0.5707 MB / 1.027 GB, free: 35.38 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001907/0.8205, allocations: 1.608 MB / 1.028 GB, free: 34.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002709/0.8232, allocations: 1.254 MB / 1.03 GB, free: 33.84 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.344e-06/0.8232, allocations: 2.531 kB / 1.03 GB, free: 33.84 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006331/0.8296, allocations: 2.03 MB / 1.032 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.584e-05/0.8296, allocations: 8.406 kB / 1.032 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.618e-05/0.8296, allocations: 8.375 kB / 1.032 GB, free: 33.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001747/0.8314, allocations: 0.4891 MB / 1.032 GB, free: 33.55 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001155/0.8325, allocations: 277.6 kB / 1.032 GB, free: 33.54 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001968/0.8345, allocations: 1.515 MB / 1.034 GB, free: 32.49 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002974/0.8375, allocations: 363.4 kB / 1.034 GB, free: 32.38 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001613/0.8376, allocations: 61.06 kB / 1.034 GB, free: 32.38 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 (111): * Single equations (assignments): 109 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,14), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.000855/0.8385, allocations: 460.6 kB / 1.035 GB, free: 32.26 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004766/0.8389, allocations: 269 kB / 1.035 GB, free: 32.12 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003423/0.8424, allocations: 1.504 MB / 1.036 GB, free: 31.97 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.202e-05/0.8424, allocations: 16.23 kB / 1.036 GB, free: 31.97 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.452e-06/0.8424, allocations: 0 / 1.036 GB, free: 31.97 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.106e-05/0.8424, allocations: 4.922 kB / 1.036 GB, free: 31.97 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007195/0.8496, allocations: 3.304 MB / 1.04 GB, free: 31.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.006e-05/0.8496, allocations: 3.156 kB / 1.04 GB, free: 31.39 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000587/0.8502, allocations: 135 kB / 1.04 GB, free: 31.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001539/0.8517, allocations: 489.8 kB / 1.04 GB, free: 31.34 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.127e-05/0.8518, allocations: 25.45 kB / 1.04 GB, free: 31.34 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002242/0.854, allocations: 1.586 MB / 1.042 GB, free: 30.28 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.35e-06/0.854, allocations: 6.156 kB / 1.042 GB, free: 30.28 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005748/0.8598, allocations: 1.957 MB / 1.044 GB, free: 29.67 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001387/0.8612, allocations: 430 kB / 1.044 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004433/0.8616, allocations: 18.56 kB / 1.044 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001733/0.8634, allocations: 130.5 kB / 1.044 GB, free: 29.41 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.88e-05/0.8635, allocations: 73.67 kB / 1.044 GB, free: 29.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.036e-05/0.8635, allocations: 35.16 kB / 1.044 GB, free: 29.36 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002758/0.8663, allocations: 1.772 MB / 1.046 GB, free: 28.74 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.8663, allocations: 0 / 1.046 GB, free: 28.74 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002016/0.8683, allocations: 0.6986 MB / 1.047 GB, free: 28.59 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 14 * 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 (62): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 8 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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): 2 systems {(1,16), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006671/0.875, allocations: 2.999 MB / 1.05 GB, free: 26.77 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003846/0.8788, allocations: 1.304 MB / 1.051 GB, free: 26.23 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.552e-06/0.8788, allocations: 0 / 1.051 GB, free: 26.23 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002208/0.8811, allocations: 0.6543 MB / 1.052 GB, free: 25.95 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005693/0.8867, allocations: 1.333 MB / 1.053 GB, free: 24.76 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02913/0.9159, allocations: 16.73 MB / 1.069 GB, free: 7.797 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007334/0.9166, allocations: 0.9255 MB / 1.07 GB, free: 6.836 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.002008/0.9186, allocations: 439.8 kB / 1.071 GB, free: 6.41 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001051/0.9197, allocations: 0.8937 MB / 1.072 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of SimCode: time 1.403e-06/0.9197, allocations: 0 / 1.072 GB, free: 5.516 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1323/1.052, allocations: 70.76 MB / 1.141 GB, free: 368 kB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.66/16.72, allocations: 7.922 kB / 1.141 GB, free: 360 kB / 0.7794 GB " [Timeout remaining time 643] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 21.00158628867939] Failed to read output from testmodel.py, exit status != 0: 16.88212129380554 16.899537935 16.135237759 Calling exit ...