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.001238/0.001238, allocations: 101.3 kB / 19.73 MB, free: 2.133 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.001484/0.001484, allocations: 217.8 kB / 23.03 MB, free: 4.945 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.418/1.418, 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.002497/0.002497, allocations: 282.6 kB / 313.5 MB, free: 2.605 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.206/1.206, allocations: 180.6 MB / 0.5377 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.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyEtaCarnot",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.002795/0.002795, allocations: 99.06 kB / 0.7403 GB, free: 28 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1592/0.162, allocations: 95.38 MB / 0.8334 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.1364/0.2984, allocations: 121.5 MB / 0.952 GB, free: 14.43 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.0336/0.332, allocations: 21.57 MB / 0.9731 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003899/0.3359, allocations: 170.5 kB / 0.9732 GB, free: 8.637 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004348/0.3403, allocations: 1.483 MB / 0.9747 GB, free: 7.145 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01193/0.3522, allocations: 4.362 MB / 0.979 GB, free: 2.766 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.00613/0.3583, allocations: 2.226 MB / 0.9811 GB, free: 0.5586 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.3698/0.7282, allocations: 6.602 MB / 0.9876 GB, free: 43.04 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003183/0.7314, allocations: 1.842 MB / 0.9894 GB, free: 42.88 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006077/0.7374, allocations: 2.9 MB / 0.9922 GB, free: 42.88 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004079/0.7415, allocations: 1.981 MB / 0.9941 GB, free: 42.66 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0006821/0.7422, allocations: 248 kB / 0.9944 GB, free: 42.66 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004444/0.7466, allocations: 1.625 MB / 0.996 GB, free: 42.66 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0006735/0.7473, allocations: 0.6224 MB / 0.9966 GB, free: 42.54 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002266/0.7496, allocations: 1.165 MB / 0.9977 GB, free: 42.24 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006493/0.7561, allocations: 4.397 MB / 1.002 GB, free: 41.65 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.029e-06/0.7561, allocations: 0 / 1.002 GB, free: 41.65 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.463e-06/0.7561, allocations: 3.375 kB / 1.002 GB, free: 41.65 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.746e-05/0.7561, allocations: 0 / 1.002 GB, free: 41.65 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.005679/0.7618, allocations: 3.2 MB / 1.005 GB, free: 40.14 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.16e-05/0.7619, allocations: 11.06 kB / 1.005 GB, free: 40.14 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 5.548e-05/0.7619, allocations: 40.36 kB / 1.005 GB, free: 40.14 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002358/0.7621, allocations: 219.4 kB / 1.005 GB, free: 40.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004448/0.7666, allocations: 0.8566 MB / 1.006 GB, free: 39.93 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004388/0.771, allocations: 2.275 MB / 1.008 GB, free: 39.35 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001081/0.7711, allocations: 122.6 kB / 1.009 GB, free: 39.35 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002764/0.7714, allocations: 163.6 kB / 1.009 GB, free: 39.35 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003915/0.7753, allocations: 1.994 MB / 1.011 GB, free: 39.04 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.371e-05/0.7753, allocations: 5.938 kB / 1.011 GB, free: 39.04 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001529/0.7755, allocations: 64.39 kB / 1.011 GB, free: 39.04 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.814e-05/0.7755, allocations: 36.75 kB / 1.011 GB, free: 39.04 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004106/0.7796, allocations: 1.807 MB / 1.013 GB, free: 38.99 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.01011/0.7897, allocations: 6.493 MB / 1.019 GB, free: 36.94 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003823/0.7935, allocations: 1.144 MB / 1.02 GB, free: 36.87 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009196/0.7945, allocations: 429.2 kB / 1.02 GB, free: 36.85 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004323/0.7949, allocations: 166.1 kB / 1.021 GB, free: 36.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.069e-05/0.7949, allocations: 42 kB / 1.021 GB, free: 36.8 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.645e-06/0.7949, allocations: 0 / 1.021 GB, free: 36.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.007827/0.8027, allocations: 2.201 MB / 1.023 GB, free: 36.54 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.015e-05/0.8028, allocations: 83.86 kB / 1.023 GB, free: 36.45 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003396/0.8062, allocations: 2.534 MB / 1.025 GB, free: 36.2 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001196/0.8063, allocations: 47.3 kB / 1.025 GB, free: 36.17 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006525/0.8069, allocations: 1.055 MB / 1.026 GB, free: 35.89 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002255/0.8072, allocations: 279 kB / 1.027 GB, free: 35.71 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0004008/0.8076, allocations: 254.9 kB / 1.027 GB, free: 35.69 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.483e-05/0.8076, allocations: 344.1 kB / 1.027 GB, free: 35.38 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001523/0.8091, allocations: 0.5777 MB / 1.028 GB, free: 35.37 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001787/0.8109, allocations: 1.61 MB / 1.029 GB, free: 34.15 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002516/0.8135, allocations: 1.254 MB / 1.031 GB, free: 33.83 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.843e-06/0.8135, allocations: 3.594 kB / 1.031 GB, free: 33.83 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005609/0.8191, allocations: 2.027 MB / 1.033 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.081e-05/0.8191, allocations: 11.88 kB / 1.033 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.211e-05/0.8191, allocations: 11.06 kB / 1.033 GB, free: 33.59 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001623/0.8207, allocations: 496.8 kB / 1.033 GB, free: 33.53 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001131/0.8219, allocations: 284.3 kB / 1.033 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/0.8236, allocations: 1.516 MB / 1.035 GB, free: 32.47 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002805/0.8264, allocations: 370.2 kB / 1.035 GB, free: 32.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001439/0.8265, allocations: 56.36 kB / 1.035 GB, free: 32.37 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.0007818/0.8273, allocations: 469.5 kB / 1.036 GB, free: 32.24 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004265/0.8277, allocations: 258.3 kB / 1.036 GB, free: 32.11 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003224/0.8309, allocations: 1.511 MB / 1.037 GB, free: 31.95 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.942e-05/0.831, allocations: 16.56 kB / 1.037 GB, free: 31.95 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.52e-06/0.831, allocations: 0 / 1.037 GB, free: 31.95 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.578e-06/0.831, allocations: 4.219 kB / 1.037 GB, free: 31.95 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006833/0.8378, allocations: 3.323 MB / 1.041 GB, free: 31.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.086e-05/0.8378, allocations: 4.859 kB / 1.041 GB, free: 31.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006048/0.8384, allocations: 131.6 kB / 1.041 GB, free: 31.37 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001654/0.8401, allocations: 482 kB / 1.041 GB, free: 31.32 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.661e-05/0.8402, allocations: 30.03 kB / 1.041 GB, free: 31.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002231/0.8424, allocations: 1.583 MB / 1.043 GB, free: 30.26 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.328e-06/0.8424, allocations: 7.156 kB / 1.043 GB, free: 30.26 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005508/0.8479, allocations: 1.959 MB / 1.045 GB, free: 29.63 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001279/0.8492, allocations: 420.6 kB / 1.045 GB, free: 29.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004159/0.8496, allocations: 32.69 kB / 1.045 GB, free: 29.4 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001731/0.8513, allocations: 137.3 kB / 1.045 GB, free: 29.36 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.512e-05/0.8514, allocations: 64.48 kB / 1.045 GB, free: 29.32 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.417e-05/0.8515, allocations: 40.72 kB / 1.045 GB, free: 29.31 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002498/0.854, allocations: 1.783 MB / 1.047 GB, free: 28.5 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.854, allocations: 0 / 1.047 GB, free: 28.5 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001973/0.856, allocations: 0.6918 MB / 1.048 GB, free: 28.35 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.006323/0.8623, allocations: 2.998 MB / 1.051 GB, free: 26.54 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003535/0.8658, allocations: 1.301 MB / 1.052 GB, free: 25.99 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.52e-06/0.8658, allocations: 4 kB / 1.052 GB, free: 25.99 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002051/0.8679, allocations: 0.6578 MB / 1.053 GB, free: 25.7 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005243/0.8731, allocations: 1.327 MB / 1.054 GB, free: 24.41 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0278/0.9009, allocations: 16.75 MB / 1.07 GB, free: 7.43 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006401/0.9016, allocations: 0.9177 MB / 1.071 GB, free: 6.477 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001751/0.9033, allocations: 443 kB / 1.072 GB, free: 6.047 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001014/0.9043, allocations: 0.9047 MB / 1.073 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of SimCode: time 7.82e-07/0.9043, allocations: 0 / 1.073 GB, free: 5.145 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1239/1.028, allocations: 70.15 MB / 1.141 GB, free: 0.6406 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 18.01/19.03, allocations: 3.938 kB / 1.141 GB, free: 0.6367 MB / 0.7794 GB " [Timeout remaining time 641] (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: 23.215238712960854] Failed to read output from testmodel.py, exit status != 0: 19.254561705049127 19.271035158 18.511625136 Calling exit ...