Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00128/0.00128, allocations: 105.4 kB / 15.7 MB, free: 20 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00112/0.00112, allocations: 196.4 kB / 16.64 MB, free: 6.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.51/1.51, allocations: 205.1 MB / 222.5 MB, free: 4.551 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.72/1.72, allocations: 292.3 MB / 0.549 GB, free: 12.75 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001418/0.001418, allocations: 65.72 kB / 0.6718 GB, free: 26.17 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2322/0.2336, allocations: 114.5 MB / 0.7836 GB, free: 13.28 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.6118/0.8454, allocations: 132.2 MB / 0.9128 GB, free: 45.02 MB / 0.7169 GB Notification: Performance of NFInst.instExpressions: time 0.03108/0.8766, allocations: 23.03 MB / 0.9352 GB, free: 44.67 MB / 0.7169 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.006258/0.8829, allocations: 118.3 kB / 0.9354 GB, free: 44.67 MB / 0.7169 GB Notification: Performance of NFTyping.typeComponents: time 0.005202/0.8881, allocations: 1.495 MB / 0.9368 GB, free: 44.65 MB / 0.7169 GB Notification: Performance of NFTyping.typeBindings: time 0.01249/0.9007, allocations: 4.065 MB / 0.9408 GB, free: 44.5 MB / 0.7169 GB Notification: Performance of NFTyping.typeClassSections: time 0.006428/0.9071, allocations: 2.208 MB / 0.9429 GB, free: 44.44 MB / 0.7169 GB Notification: Performance of NFFlatten.flatten: time 0.01233/0.9195, allocations: 6.495 MB / 0.9493 GB, free: 42.38 MB / 0.7169 GB Notification: Performance of NFFlatten.resolveConnections: time 0.004977/0.9245, allocations: 2.36 MB / 0.9516 GB, free: 41.29 MB / 0.7169 GB Notification: Performance of NFEvalConstants.evaluate: time 0.008933/0.9334, allocations: 2.774 MB / 0.9543 GB, free: 40.08 MB / 0.7169 GB Notification: Performance of NFSimplifyModel.simplify: time 0.005236/0.9387, allocations: 1.892 MB / 0.9561 GB, free: 39.33 MB / 0.7169 GB Notification: Performance of NFPackage.collectConstants: time 0.001076/0.9398, allocations: 247.4 kB / 0.9564 GB, free: 39.33 MB / 0.7169 GB Notification: Performance of NFFlatten.collectFunctions: time 0.006994/0.9468, allocations: 1.931 MB / 0.9583 GB, free: 38.73 MB / 0.7169 GB Notification: Performance of NFScalarize.scalarize: time 0.001134/0.948, allocations: 0.6042 MB / 0.9589 GB, free: 38.34 MB / 0.7169 GB Notification: Performance of NFVerifyModel.verify: time 0.00347/0.9515, allocations: 1.456 MB / 0.9603 GB, free: 37.44 MB / 0.7169 GB Notification: Performance of NFConvertDAE.convert: time 0.009501/0.961, allocations: 4.39 MB / 0.9646 GB, free: 35.93 MB / 0.7169 GB Notification: Performance of FrontEnd - DAE generated: time 9.017e-06/0.9611, allocations: 0 / 0.9646 GB, free: 35.93 MB / 0.7169 GB Notification: Performance of FrontEnd: time 2.675e-06/0.9611, allocations: 0 / 0.9646 GB, free: 35.93 MB / 0.7169 GB Notification: Performance of Transformations before backend: time 0.000148/0.9612, allocations: 0 / 0.9646 GB, free: 35.93 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.008986/0.9702, allocations: 3.192 MB / 0.9677 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of prepare preOptimizeDAE: time 5.213e-05/0.9703, allocations: 9.406 kB / 0.9677 GB, free: 33.68 MB / 0.7169 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002475/0.9705, allocations: 218.5 kB / 0.9679 GB, free: 33.5 MB / 0.7169 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00452/0.9751, allocations: 0.8415 MB / 0.9687 GB, free: 33.12 MB / 0.7169 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004855/0.9799, allocations: 2.342 MB / 0.971 GB, free: 31.39 MB / 0.7169 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001002/0.9801, allocations: 124.8 kB / 0.9711 GB, free: 31.33 MB / 0.7169 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002252/0.9803, allocations: 159.1 kB / 0.9713 GB, free: 31.29 MB / 0.7169 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00381/0.9841, allocations: 1.922 MB / 0.9732 GB, free: 30.11 MB / 0.7169 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.092e-05/0.9842, allocations: 6.469 kB / 0.9732 GB, free: 30.1 MB / 0.7169 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001424/0.9843, allocations: 70.31 kB / 0.9732 GB, free: 30.05 MB / 0.7169 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.514e-05/0.9844, allocations: 38.25 kB / 0.9733 GB, free: 30.05 MB / 0.7169 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.004221/0.9886, allocations: 1.777 MB / 0.975 GB, free: 29.17 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.01235/1.001, allocations: 8.989 MB / 0.9838 GB, free: 21.45 MB / 0.7169 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004101/1.005, allocations: 1.191 MB / 0.9849 GB, free: 20.84 MB / 0.7169 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001018/1.006, allocations: 461.7 kB / 0.9854 GB, free: 20.61 MB / 0.7169 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008221/1.007, allocations: 1.722 MB / 0.9871 GB, free: 18.59 MB / 0.7169 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.095e-05/1.007, allocations: 42.67 kB / 0.9871 GB, free: 18.54 MB / 0.7169 GB Notification: Performance of pre-optimization done (n=76): time 2.495e-06/1.007, allocations: 0 / 0.9871 GB, free: 18.54 MB / 0.7169 GB Notification: Performance of matching and sorting (n=76): time 0.008585/1.016, allocations: 2.331 MB / 0.9894 GB, free: 17.28 MB / 0.7169 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.961e-05/1.016, allocations: 89.36 kB / 0.9895 GB, free: 17.18 MB / 0.7169 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.003745/1.019, allocations: 2.502 MB / 0.9919 GB, free: 15.85 MB / 0.7169 GB Notification: Performance of collectPreVariables (initialization): time 0.0001763/1.02, allocations: 45.77 kB / 0.992 GB, free: 15.81 MB / 0.7169 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006394/1.02, allocations: 1.037 MB / 0.993 GB, free: 14.89 MB / 0.7169 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002421/1.021, allocations: 268.3 kB / 0.9932 GB, free: 14.67 MB / 0.7169 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003822/1.021, allocations: 261 kB / 0.9935 GB, free: 14.51 MB / 0.7169 GB Notification: Performance of setup shared object (initialization): time 6.885e-05/1.021, allocations: 347.8 kB / 0.9938 GB, free: 14.18 MB / 0.7169 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001592/1.023, allocations: 0.5727 MB / 0.9944 GB, free: 13.9 MB / 0.7169 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001883/1.025, allocations: 0.955 MB / 0.9953 GB, free: 13.16 MB / 0.7169 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002672/1.027, allocations: 1.25 MB / 0.9965 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.104e-06/1.027, allocations: 2.094 kB / 0.9965 GB, free: 12.35 MB / 0.7169 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.006187/1.033, allocations: 2.018 MB / 0.9985 GB, free: 10.53 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 2.898e-05/1.033, allocations: 10.81 kB / 0.9985 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.545e-05/1.034, allocations: 8 kB / 0.9985 GB, free: 10.52 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001542/1.035, allocations: 421.9 kB / 0.9989 GB, free: 10.1 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001117/1.036, allocations: 287.5 kB / 0.9992 GB, free: 9.816 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001831/1.038, allocations: 1.498 MB / 1.001 GB, free: 8.27 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00311/1.041, allocations: 374 kB / 1.001 GB, free: 7.902 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001558/1.041, allocations: 56.06 kB / 1.001 GB, free: 7.848 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.0009577/1.042, allocations: 469.2 kB / 1.002 GB, free: 7.383 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004965/1.043, allocations: 252.8 kB / 1.002 GB, free: 7.133 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003232/1.046, allocations: 1.486 MB / 1.003 GB, free: 5.625 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.147e-05/1.046, allocations: 8 kB / 1.003 GB, free: 5.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.136e-06/1.046, allocations: 8 kB / 1.003 GB, free: 5.609 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.178e-05/1.046, allocations: 11.97 kB / 1.003 GB, free: 5.598 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006903/1.053, allocations: 3.609 MB / 1.007 GB, free: 1.895 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.989e-06/1.053, allocations: 8.031 kB / 1.007 GB, free: 1.887 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005573/1.054, allocations: 127.8 kB / 1.007 GB, free: 1.762 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001308/1.055, allocations: 417.1 kB / 1.007 GB, free: 1.348 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.622e-05/1.055, allocations: 27.98 kB / 1.007 GB, free: 1.32 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002377/1.057, allocations: 1.568 MB / 1.009 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.272e-06/1.057, allocations: 4.031 kB / 1.009 GB, free: 15.7 MB / 0.7325 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006281/1.064, allocations: 1.931 MB / 1.011 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001527/1.065, allocations: 493.6 kB / 1.011 GB, free: 13.23 MB / 0.7325 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0004072/1.066, allocations: 16 kB / 1.011 GB, free: 13.21 MB / 0.7325 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001703/1.067, allocations: 135.8 kB / 1.011 GB, free: 13.08 MB / 0.7325 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001066/1.067, allocations: 63.8 kB / 1.011 GB, free: 13.02 MB / 0.7325 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001015/1.068, allocations: 40.06 kB / 1.011 GB, free: 12.98 MB / 0.7325 GB Notification: Performance of sorting global known variables: time 0.003033/1.071, allocations: 1.758 MB / 1.013 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of sort global known variables: time 4.21e-07/1.071, allocations: 0 / 1.013 GB, free: 11.21 MB / 0.7325 GB Notification: Performance of remove unused functions: time 0.002314/1.073, allocations: 0.6905 MB / 1.014 GB, free: 10.52 MB / 0.7325 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.007651/1.081, allocations: 2.99 MB / 1.017 GB, free: 7.535 MB / 0.7325 GB Notification: Performance of simCode: created initialization part: time 0.004425/1.085, allocations: 1.35 MB / 1.018 GB, free: 6.191 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 9.447e-06/1.085, allocations: 8.062 kB / 1.018 GB, free: 6.184 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.002356/1.087, allocations: 0.6662 MB / 1.019 GB, free: 5.52 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.007078/1.095, allocations: 1.347 MB / 1.02 GB, free: 4.188 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.03601/1.131, allocations: 16.53 MB / 1.036 GB, free: 3.238 MB / 0.7481 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001189/1.132, allocations: 1.49 MB / 1.038 GB, free: 1.719 MB / 0.7481 GB Notification: Performance of simCode: alias equations: time 0.002105/1.134, allocations: 432.6 kB / 1.038 GB, free: 1.293 MB / 0.7481 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001293/1.135, allocations: 0.9054 MB / 1.039 GB, free: 396 kB / 0.7481 GB Notification: Performance of SimCode: time 1.643e-06/1.135, allocations: 0 / 1.039 GB, free: 396 kB / 0.7481 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.1253/1.261, allocations: 65.91 MB / 1.103 GB, free: 15.37 MB / 0.8262 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.95/17.21, allocations: 11.94 kB / 1.103 GB, free: 15.36 MB / 0.8262 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1)