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.001298/0.001298, allocations: 101.5 kB / 19.73 MB, free: 2.23 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.00144/0.00144, allocations: 215.1 kB / 23.04 MB, free: 5.07 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.442/1.442, allocations: 230.6 MB / 256.8 MB, free: 8.012 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.002593/0.002593, allocations: 278 kB / 313.5 MB, free: 2.812 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.252/1.252, allocations: 180.6 MB / 0.5377 GB, free: 13 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.002842/0.002842, allocations: 94.89 kB / 0.7403 GB, free: 28.55 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1669/0.1698, allocations: 95.38 MB / 0.8335 GB, free: 8.684 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.1407/0.3105, allocations: 134.9 MB / 0.9653 GB, free: 1.289 MB / 0.7012 GB Notification: Performance of NFInst.instExpressions: time 0.4518/0.7623, allocations: 23.33 MB / 0.988 GB, free: 42.43 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.004341/0.7666, allocations: 172.2 kB / 0.9882 GB, free: 42.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.004083/0.7707, allocations: 1.544 MB / 0.9897 GB, free: 42.43 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01296/0.7837, allocations: 4.399 MB / 0.994 GB, free: 42.32 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006509/0.7902, allocations: 2.256 MB / 0.9962 GB, free: 42.26 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01153/0.8017, allocations: 6.59 MB / 1.003 GB, free: 42.25 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004195/0.8059, allocations: 1.841 MB / 1.004 GB, free: 42.08 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008148/0.814, allocations: 2.876 MB / 1.007 GB, free: 41.98 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.004511/0.8186, allocations: 1.964 MB / 1.009 GB, free: 41.62 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.0007608/0.8193, allocations: 246.9 kB / 1.009 GB, free: 41.62 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.005674/0.825, allocations: 2.068 MB / 1.011 GB, free: 41.59 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.0009344/0.8259, allocations: 0.6191 MB / 1.012 GB, free: 41.46 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.002796/0.8287, allocations: 1.456 MB / 1.013 GB, free: 41.06 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.008738/0.8375, allocations: 4.452 MB / 1.018 GB, free: 40.46 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 6.993e-06/0.8375, allocations: 2.672 kB / 1.018 GB, free: 40.46 MB / 0.7169 GB Notification: Performance of FrontEnd: time 1.743e-06/0.8375, allocations: 4 kB / 1.018 GB, free: 40.46 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.0001055/0.8376, allocations: 3.938 kB / 1.018 GB, free: 40.46 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.006754/0.8443, allocations: 3.178 MB / 1.021 GB, free: 38.95 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 4.046e-05/0.8444, allocations: 13.91 kB / 1.021 GB, free: 38.95 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.832e-05/0.8444, allocations: 40.55 kB / 1.021 GB, free: 38.94 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002226/0.8446, allocations: 223.6 kB / 1.021 GB, free: 38.89 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004312/0.8489, allocations: 0.8508 MB / 1.022 GB, free: 38.71 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00464/0.8536, allocations: 2.265 MB / 1.024 GB, free: 38.13 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.496e-05/0.8537, allocations: 126 kB / 1.024 GB, free: 38.12 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002399/0.8539, allocations: 161.7 kB / 1.024 GB, free: 38.12 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003858/0.8578, allocations: 1.924 MB / 1.026 GB, free: 37.9 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.212e-05/0.8578, allocations: 3.375 kB / 1.026 GB, free: 37.9 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001596/0.858, allocations: 66.97 kB / 1.026 GB, free: 37.9 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.586e-05/0.858, allocations: 38.97 kB / 1.026 GB, free: 37.9 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004372/0.8624, allocations: 1.785 MB / 1.028 GB, free: 37.86 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.01228/0.8746, allocations: 8.847 MB / 1.037 GB, free: 32.68 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003971/0.8786, allocations: 1.142 MB / 1.038 GB, free: 32.1 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0009783/0.8796, allocations: 435.2 kB / 1.038 GB, free: 31.89 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004336/0.88, allocations: 149.6 kB / 1.039 GB, free: 31.84 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.373e-05/0.88, allocations: 48.19 kB / 1.039 GB, free: 31.79 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.765e-06/0.88, allocations: 0 / 1.039 GB, free: 31.79 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008387/0.8884, allocations: 2.183 MB / 1.041 GB, free: 30.71 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.253e-05/0.8885, allocations: 85.45 kB / 1.041 GB, free: 30.61 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003537/0.892, allocations: 2.5 MB / 1.043 GB, free: 29.29 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001667/0.8922, allocations: 44.55 kB / 1.043 GB, free: 29.25 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006107/0.8928, allocations: 1.052 MB / 1.044 GB, free: 28.32 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002177/0.893, allocations: 280.7 kB / 1.045 GB, free: 28.08 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003747/0.8934, allocations: 257.8 kB / 1.045 GB, free: 27.93 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 5.423e-05/0.8934, allocations: 348.8 kB / 1.045 GB, free: 27.59 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001587/0.895, allocations: 0.5764 MB / 1.046 GB, free: 27.32 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001801/0.8968, allocations: 0.95 MB / 1.047 GB, free: 26.59 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002701/0.8995, allocations: 1.257 MB / 1.048 GB, free: 25.8 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.161e-06/0.8995, allocations: 2.906 kB / 1.048 GB, free: 25.8 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006304/0.9058, allocations: 2.024 MB / 1.05 GB, free: 24.84 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.534e-05/0.9058, allocations: 14.47 kB / 1.05 GB, free: 24.84 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.356e-05/0.9059, allocations: 5.688 kB / 1.05 GB, free: 24.84 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001507/0.9074, allocations: 424.4 kB / 1.05 GB, free: 24.63 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001189/0.9086, allocations: 285.2 kB / 1.051 GB, free: 24.56 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001872/0.9104, allocations: 1.495 MB / 1.052 GB, free: 23.28 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002868/0.9133, allocations: 377 kB / 1.052 GB, free: 23.07 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.000157/0.9134, allocations: 58.38 kB / 1.052 GB, free: 23.06 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.0007868/0.9142, allocations: 458.4 kB / 1.053 GB, free: 22.75 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004458/0.9147, allocations: 261.5 kB / 1.053 GB, free: 22.61 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003253/0.9179, allocations: 1.506 MB / 1.055 GB, free: 21.46 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.841e-05/0.918, allocations: 11.98 kB / 1.055 GB, free: 21.45 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.991e-06/0.918, allocations: 4 kB / 1.055 GB, free: 21.44 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.09e-05/0.918, allocations: 7.969 kB / 1.055 GB, free: 21.43 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006909/0.9249, allocations: 3.574 MB / 1.058 GB, free: 17.8 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.477e-06/0.9249, allocations: 4 kB / 1.058 GB, free: 17.8 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005853/0.9255, allocations: 129.7 kB / 1.058 GB, free: 17.68 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001394/0.9269, allocations: 410.7 kB / 1.059 GB, free: 17.28 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.946e-05/0.9269, allocations: 35.92 kB / 1.059 GB, free: 17.24 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002263/0.9292, allocations: 1.559 MB / 1.06 GB, free: 15.64 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.789e-06/0.9292, allocations: 10.66 kB / 1.06 GB, free: 15.63 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.009104/0.9383, allocations: 1.961 MB / 1.062 GB, free: 13.64 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001383/0.9397, allocations: 417.2 kB / 1.062 GB, free: 13.24 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003815/0.9401, allocations: 23.94 kB / 1.063 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001725/0.9418, allocations: 143.8 kB / 1.063 GB, free: 13.07 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.485e-05/0.9419, allocations: 58.52 kB / 1.063 GB, free: 13.02 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.429e-05/0.942, allocations: 39.97 kB / 1.063 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002456/0.9444, allocations: 1.753 MB / 1.064 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1e-07/0.9444, allocations: 0 / 1.064 GB, free: 11.22 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001918/0.9463, allocations: 0.6979 MB / 1.065 GB, free: 10.52 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.006478/0.9528, allocations: 3.002 MB / 1.068 GB, free: 7.543 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003867/0.9567, allocations: 1.298 MB / 1.069 GB, free: 6.281 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.452e-06/0.9567, allocations: 7.094 kB / 1.069 GB, free: 6.277 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.002154/0.9588, allocations: 0.6381 MB / 1.07 GB, free: 5.656 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.006282/0.9651, allocations: 1.331 MB / 1.071 GB, free: 4.348 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03848/1.004, allocations: 16.75 MB / 1.088 GB, free: 3.359 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001199/1.005, allocations: 1.489 MB / 1.089 GB, free: 1.844 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001819/1.007, allocations: 440.2 kB / 1.09 GB, free: 1.414 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00134/1.008, allocations: 0.9015 MB / 1.09 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of SimCode: time 6.21e-07/1.008, allocations: 0 / 1.09 GB, free: 0.5117 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1229/1.131, allocations: 66.96 MB / 1.156 GB, free: 14.62 MB / 0.8106 GB Notification: Performance of buildModelFMU: Generate platform static: time 17.62/18.75, allocations: 8 kB / 1.156 GB, free: 14.62 MB / 0.8106 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 sys.exit(0), Time elapsed: 23.2184720869991] Failed to read output from testmodel.py, exit status != 0: 18.974133030045778 19.001773853 18.159065964 Calling exit ...