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.001777/0.001777, allocations: 114.3 kB / 18.94 MB, free: 2.934 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.002227/0.002227, allocations: 214.8 kB / 22.25 MB, free: 5.078 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.438/1.438, allocations: 230.6 MB / 256 MB, free: 8 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.002769/0.002769, allocations: 287.5 kB / 312.7 MB, free: 2.793 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.236/1.236, allocations: 180.6 MB / 0.5369 GB, free: 12.99 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.002919/0.002919, allocations: 118.8 kB / 0.7396 GB, free: 28.19 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1663/0.1692, allocations: 95.38 MB / 0.8327 GB, free: 8.621 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyEtaCarnot): time 0.156/0.3252, allocations: 135 MB / 0.9645 GB, free: 1.207 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.4005/0.7257, allocations: 23.34 MB / 0.9873 GB, free: 42.03 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00384/0.7295, allocations: 172.8 kB / 0.9875 GB, free: 42.03 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.003497/0.733, allocations: 1.549 MB / 0.989 GB, free: 42.03 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01053/0.7436, allocations: 4.396 MB / 0.9933 GB, free: 41.91 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.004786/0.7483, allocations: 2.262 MB / 0.9955 GB, free: 41.84 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.008722/0.7571, allocations: 6.611 MB / 1.002 GB, free: 41.83 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003163/0.7602, allocations: 1.847 MB / 1.004 GB, free: 41.66 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006563/0.7668, allocations: 2.884 MB / 1.007 GB, free: 41.54 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.003703/0.7705, allocations: 1.971 MB / 1.008 GB, free: 41.19 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0004888/0.771, allocations: 249.2 kB / 1.009 GB, free: 41.19 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.004714/0.7757, allocations: 2.063 MB / 1.011 GB, free: 41.16 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0005118/0.7762, allocations: 0.6246 MB / 1.011 GB, free: 41.04 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.001925/0.7781, allocations: 1.46 MB / 1.013 GB, free: 40.63 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.006384/0.7845, allocations: 4.461 MB / 1.017 GB, free: 40.03 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 5.049e-06/0.7845, allocations: 0 / 1.017 GB, free: 40.03 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.863e-06/0.7845, allocations: 0 / 1.017 GB, free: 40.03 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 5.147e-05/0.7846, allocations: 0 / 1.017 GB, free: 40.03 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.005496/0.7901, allocations: 3.197 MB / 1.02 GB, free: 38.52 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.491e-05/0.7901, allocations: 10.38 kB / 1.02 GB, free: 38.52 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002266/0.7903, allocations: 222.5 kB / 1.02 GB, free: 38.47 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004213/0.7946, allocations: 0.8549 MB / 1.021 GB, free: 38.29 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004574/0.7991, allocations: 2.266 MB / 1.024 GB, free: 37.7 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.959e-05/0.7992, allocations: 128.4 kB / 1.024 GB, free: 37.7 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002378/0.7995, allocations: 156.8 kB / 1.024 GB, free: 37.7 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00369/0.8031, allocations: 1.928 MB / 1.026 GB, free: 37.47 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.198e-05/0.8032, allocations: 0 / 1.026 GB, free: 37.47 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001415/0.8033, allocations: 64.81 kB / 1.026 GB, free: 37.47 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.463e-05/0.8033, allocations: 37.06 kB / 1.026 GB, free: 37.47 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004069/0.8074, allocations: 1.807 MB / 1.028 GB, free: 37.43 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.0113/0.8187, allocations: 8.874 MB / 1.036 GB, free: 32.47 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003851/0.8226, allocations: 1.15 MB / 1.037 GB, free: 31.88 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009075/0.8235, allocations: 437.5 kB / 1.038 GB, free: 31.66 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004337/0.8239, allocations: 151.5 kB / 1.038 GB, free: 31.61 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.108e-05/0.8239, allocations: 43.97 kB / 1.038 GB, free: 31.56 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.695e-06/0.8239, allocations: 3.188 kB / 1.038 GB, free: 31.56 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.007847/0.8318, allocations: 2.196 MB / 1.04 GB, free: 30.48 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.084e-05/0.8318, allocations: 92.2 kB / 1.04 GB, free: 30.38 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003288/0.8351, allocations: 2.531 MB / 1.043 GB, free: 29.04 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/0.8352, allocations: 46.05 kB / 1.043 GB, free: 29 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005947/0.8358, allocations: 1.051 MB / 1.044 GB, free: 28.07 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001912/0.836, allocations: 279.4 kB / 1.044 GB, free: 27.83 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003451/0.8364, allocations: 260.3 kB / 1.044 GB, free: 27.68 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.625e-05/0.8364, allocations: 342.2 kB / 1.045 GB, free: 27.35 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001461/0.8379, allocations: 0.5736 MB / 1.045 GB, free: 27.07 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001641/0.8395, allocations: 0.9562 MB / 1.046 GB, free: 26.35 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002437/0.8419, allocations: 1.25 MB / 1.047 GB, free: 25.56 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.221e-06/0.842, allocations: 6.844 kB / 1.047 GB, free: 25.56 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005608/0.8476, allocations: 2.03 MB / 1.049 GB, free: 24.6 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.829e-05/0.8476, allocations: 7.469 kB / 1.049 GB, free: 24.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.127e-05/0.8476, allocations: 7.656 kB / 1.049 GB, free: 24.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001596/0.8492, allocations: 0.4922 MB / 1.05 GB, free: 24.34 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001091/0.8503, allocations: 282.1 kB / 1.05 GB, free: 24.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001674/0.852, allocations: 1.509 MB / 1.052 GB, free: 22.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002517/0.8545, allocations: 376.9 kB / 1.052 GB, free: 22.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001114/0.8546, allocations: 58.91 kB / 1.052 GB, free: 22.77 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.0007402/0.8553, allocations: 471.7 kB / 1.052 GB, free: 22.45 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003478/0.8557, allocations: 257.1 kB / 1.053 GB, free: 22.31 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003028/0.8587, allocations: 1.51 MB / 1.054 GB, free: 21.04 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.648e-05/0.8587, allocations: 15.92 kB / 1.054 GB, free: 21.02 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.8587, allocations: 0 / 1.054 GB, free: 21.02 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.698e-06/0.8587, allocations: 7.984 kB / 1.054 GB, free: 21.01 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006198/0.8649, allocations: 3.591 MB / 1.058 GB, free: 17.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.488e-06/0.8649, allocations: 4 kB / 1.058 GB, free: 17.36 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005479/0.8655, allocations: 130.7 kB / 1.058 GB, free: 17.24 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001405/0.8669, allocations: 493.4 kB / 1.058 GB, free: 16.76 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.502e-05/0.8669, allocations: 31.97 kB / 1.058 GB, free: 16.73 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002008/0.869, allocations: 1.574 MB / 1.06 GB, free: 15.11 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.797e-06/0.869, allocations: 7.281 kB / 1.06 GB, free: 15.1 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005127/0.8741, allocations: 1.965 MB / 1.062 GB, free: 13.11 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009462/0.875, allocations: 421.2 kB / 1.062 GB, free: 12.7 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003212/0.8754, allocations: 31.88 kB / 1.062 GB, free: 12.67 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001573/0.8769, allocations: 135.8 kB / 1.062 GB, free: 12.54 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.804e-05/0.877, allocations: 58.73 kB / 1.062 GB, free: 12.48 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.271e-05/0.8771, allocations: 43.97 kB / 1.062 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002299/0.8794, allocations: 1.777 MB / 1.064 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of sort global known variables: time 7e-08/0.8794, allocations: 0 / 1.064 GB, free: 10.66 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001771/0.8811, allocations: 0.698 MB / 1.065 GB, free: 9.957 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.006012/0.8872, allocations: 3.005 MB / 1.068 GB, free: 6.977 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.00346/0.8906, allocations: 1.299 MB / 1.069 GB, free: 5.715 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 5.741e-06/0.8906, allocations: 4 kB / 1.069 GB, free: 5.711 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002004/0.8926, allocations: 0.6544 MB / 1.07 GB, free: 5.074 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005172/0.8978, allocations: 1.32 MB / 1.071 GB, free: 3.773 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03295/0.9307, allocations: 16.74 MB / 1.087 GB, free: 2.797 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001228/0.932, allocations: 1.49 MB / 1.089 GB, free: 1.277 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001879/0.9339, allocations: 444 kB / 1.089 GB, free: 0.8477 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001326/0.9352, allocations: 0.8976 MB / 1.09 GB, free: 15.95 MB / 0.7481 GB Notification: Performance of SimCode: time 8.32e-07/0.9352, allocations: 3.938 kB / 1.09 GB, free: 15.94 MB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1313/1.066, allocations: 67.3 MB / 1.156 GB, free: 13.72 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.67/18.73, allocations: 10.84 kB / 1.156 GB, free: 13.71 MB / 0.8106 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 sys.exit(0), Time elapsed: 22.978706152178347] Failed to read output from testmodel.py, exit status != 0: 18.896175815956667 18.922288397 18.132688118 Calling exit ...