Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.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.0013/0.0013, allocations: 100.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.001482/0.001482, allocations: 216.8 kB / 23.03 MB, free: 4.949 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.43/1.43, 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.002559/0.002559, allocations: 286.3 kB / 313.5 MB, free: 2.602 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.198/1.198, 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.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP",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.002895/0.002895, allocations: 110.5 kB / 0.7403 GB, free: 27.89 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1711/0.174, allocations: 95.39 MB / 0.8334 GB, free: 8.305 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1397/0.3137, allocations: 121.4 MB / 0.952 GB, free: 14.46 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.03433/0.3481, allocations: 21.57 MB / 0.9731 GB, free: 8.84 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004463/0.3525, allocations: 166.6 kB / 0.9732 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.00449/0.357, allocations: 1.483 MB / 0.9747 GB, free: 7.184 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01143/0.3684, allocations: 4.353 MB / 0.9789 GB, free: 2.812 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.005699/0.3741, allocations: 2.23 MB / 0.9811 GB, free: 0.6055 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.407/0.7812, allocations: 6.584 MB / 0.9875 GB, free: 43.03 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.003379/0.7845, allocations: 1.836 MB / 0.9893 GB, free: 42.86 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.006916/0.7914, allocations: 2.896 MB / 0.9921 GB, free: 42.86 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004175/0.7956, allocations: 1.965 MB / 0.9941 GB, free: 42.65 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007401/0.7964, allocations: 246.8 kB / 0.9943 GB, free: 42.65 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005074/0.8014, allocations: 1.629 MB / 0.9959 GB, free: 42.65 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0007517/0.8022, allocations: 0.6174 MB / 0.9965 GB, free: 42.53 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002639/0.8048, allocations: 1.163 MB / 0.9976 GB, free: 42.23 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009018/0.8138, allocations: 4.387 MB / 1.002 GB, free: 41.64 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.502e-06/0.8139, allocations: 0 / 1.002 GB, free: 41.64 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.435e-06/0.8139, allocations: 1.5 kB / 1.002 GB, free: 41.64 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 8.691e-05/0.8139, allocations: 4.625 kB / 1.002 GB, free: 41.64 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.006713/0.8207, allocations: 3.179 MB / 1.005 GB, free: 40.14 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.897e-05/0.8207, allocations: 11.47 kB / 1.005 GB, free: 40.14 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 6.556e-05/0.8208, allocations: 40.42 kB / 1.005 GB, free: 40.14 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002379/0.821, allocations: 222.1 kB / 1.005 GB, free: 40.09 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004574/0.8256, allocations: 0.8612 MB / 1.006 GB, free: 39.91 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004913/0.8305, allocations: 2.257 MB / 1.008 GB, free: 39.33 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001759/0.8307, allocations: 126.7 kB / 1.008 GB, free: 39.33 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003666/0.831, allocations: 160.4 kB / 1.009 GB, free: 39.33 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00445/0.8355, allocations: 2.001 MB / 1.011 GB, free: 39.01 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.542e-05/0.8355, allocations: 6.281 kB / 1.011 GB, free: 39.01 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001515/0.8357, allocations: 63.72 kB / 1.011 GB, free: 39.01 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.657e-05/0.8357, allocations: 38.44 kB / 1.011 GB, free: 39.01 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004036/0.8397, allocations: 1.786 MB / 1.012 GB, free: 38.97 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.01053/0.8503, allocations: 6.487 MB / 1.019 GB, free: 36.92 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003863/0.8541, allocations: 1.144 MB / 1.02 GB, free: 36.85 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009529/0.8551, allocations: 431.2 kB / 1.02 GB, free: 36.82 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004262/0.8555, allocations: 157 kB / 1.02 GB, free: 36.82 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.179e-05/0.8555, allocations: 44.38 kB / 1.02 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.745e-06/0.8555, allocations: 0 / 1.02 GB, free: 36.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.007868/0.8634, allocations: 2.182 MB / 1.023 GB, free: 36.52 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.322e-05/0.8634, allocations: 89.83 kB / 1.023 GB, free: 36.43 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003337/0.8668, allocations: 2.497 MB / 1.025 GB, free: 36.18 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001244/0.8669, allocations: 49.17 kB / 1.025 GB, free: 36.15 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006245/0.8675, allocations: 1.048 MB / 1.026 GB, free: 35.88 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002076/0.8677, allocations: 282.9 kB / 1.026 GB, free: 35.7 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000385/0.8681, allocations: 262.4 kB / 1.027 GB, free: 35.66 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.893e-05/0.8682, allocations: 348.8 kB / 1.027 GB, free: 35.36 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001491/0.8697, allocations: 0.5702 MB / 1.028 GB, free: 35.34 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00184/0.8715, allocations: 1.611 MB / 1.029 GB, free: 34.13 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002522/0.874, allocations: 1.255 MB / 1.03 GB, free: 33.81 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.253e-06/0.874, allocations: 6.594 kB / 1.03 GB, free: 33.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.005759/0.8798, allocations: 2.018 MB / 1.032 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.966e-05/0.8798, allocations: 8.75 kB / 1.032 GB, free: 33.57 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.264e-05/0.8798, allocations: 16.38 kB / 1.032 GB, free: 33.56 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001461/0.8813, allocations: 423.9 kB / 1.033 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001162/0.8824, allocations: 280.4 kB / 1.033 GB, free: 33.52 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001701/0.8841, allocations: 1.504 MB / 1.035 GB, free: 32.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002744/0.8869, allocations: 376.8 kB / 1.035 GB, free: 32.36 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001259/0.887, allocations: 60.09 kB / 1.035 GB, free: 32.36 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 (112): * Single equations (assignments): 110 * 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,13), (1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0007476/0.8878, allocations: 459.8 kB / 1.035 GB, free: 32.24 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003606/0.8881, allocations: 257.2 kB / 1.036 GB, free: 32.1 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003174/0.8913, allocations: 1.507 MB / 1.037 GB, free: 31.94 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.154e-05/0.8913, allocations: 13.42 kB / 1.037 GB, free: 31.94 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.551e-06/0.8913, allocations: 0 / 1.037 GB, free: 31.94 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.031e-05/0.8913, allocations: 8.031 kB / 1.037 GB, free: 31.94 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0065/0.8978, allocations: 3.303 MB / 1.04 GB, free: 31.37 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.456e-06/0.8978, allocations: 3.156 kB / 1.04 GB, free: 31.37 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006084/0.8985, allocations: 128.2 kB / 1.04 GB, free: 31.37 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001331/0.8998, allocations: 413.6 kB / 1.041 GB, free: 31.33 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.585e-05/0.8998, allocations: 28.98 kB / 1.041 GB, free: 31.33 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002112/0.902, allocations: 1.567 MB / 1.042 GB, free: 30.27 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.577e-06/0.902, allocations: 3.594 kB / 1.042 GB, free: 30.27 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005466/0.9074, allocations: 1.96 MB / 1.044 GB, free: 29.76 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001269/0.9087, allocations: 419.2 kB / 1.045 GB, free: 29.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003677/0.9091, allocations: 19.62 kB / 1.045 GB, free: 29.55 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001627/0.9107, allocations: 144.5 kB / 1.045 GB, free: 29.49 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.906e-05/0.9108, allocations: 63.12 kB / 1.045 GB, free: 29.46 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.257e-05/0.9109, allocations: 48.61 kB / 1.045 GB, free: 29.45 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002733/0.9136, allocations: 1.746 MB / 1.047 GB, free: 28.73 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.2e-07/0.9136, allocations: 4 kB / 1.047 GB, free: 28.73 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.002529/0.9161, allocations: 0.6984 MB / 1.047 GB, free: 28.57 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 (63): * Single equations (assignments): 53 * 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,15), (1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.006759/0.9229, allocations: 2.993 MB / 1.05 GB, free: 26.76 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003732/0.9266, allocations: 1.296 MB / 1.052 GB, free: 26.22 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 1.131e-05/0.9266, allocations: 3.094 kB / 1.052 GB, free: 26.22 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002052/0.9287, allocations: 0.6516 MB / 1.052 GB, free: 25.94 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.005636/0.9343, allocations: 1.324 MB / 1.054 GB, free: 24.84 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02871/0.963, allocations: 16.75 MB / 1.07 GB, free: 7.844 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006517/0.9637, allocations: 0.9242 MB / 1.071 GB, free: 6.883 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001764/0.9654, allocations: 424.5 kB / 1.071 GB, free: 6.469 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00101/0.9665, allocations: 0.8976 MB / 1.072 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of SimCode: time 1.593e-06/0.9665, allocations: 0 / 1.072 GB, free: 5.574 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1259/1.092, allocations: 69.8 MB / 1.14 GB, free: 1.426 MB / 0.7794 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.88/18.97, allocations: 6.719 kB / 1.14 GB, free: 1.422 MB / 0.7794 GB " [Timeout remaining time 641] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP_fmu --startTime=0 --stopTime=3600 --stepSize=1.44 --timeout=50 --tolerance=1e-06 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 23.283705599955283] Failed to read output from testmodel.py, exit status != 0: 19.19363103096839 19.218171988 18.399622808 Calling exit ...