Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr IDEAS_IDEAS.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.001092/0.001092, allocations: 80.44 kB / 19.17 MB, free: 0.7422 MB / 13.93 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.0008603/0.0008603, allocations: 169.9 kB / 22.46 MB, free: 2.105 MB / 18.57 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 0.8805/0.8805, allocations: 177.1 MB / 202.8 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo", uses=false) [Timeout 180] "[/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:686:writable] Warning: Lexer treating \\ as \\\\, since \\e is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Examples/PPD12/Structure.mo:531:21-531:694:writable] Warning: Lexer treating \\ as \\\\, since \\< is not a valid Modelica escape sequence. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.order:0:0-0:0:readonly] Warning: Found duplicate names in package.order file: A, B, C. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Media/Refrigerants/R410A/package.mo:2:1-70:10:writable] Warning: C was referenced in the package.order file, but was not found in package.mo, C/package.mo or C.mo. Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/package.mo): time 0.6971/0.6971, allocations: 154.6 MB / 413.7 MB, free: 0.8203 MB / 378.7 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/Cryptographics/BaseClasses/sha.mo:2:1-19:8:writable] Warning: External function annotation should occur on the external-clause, not on the function. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/Utilities/File/sha2.mo:2:1-9:9:writable] Warning: External function annotation should occur on the external-clause, not on the function. " [Timeout remaining time 179] Using package IDEAS with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IDEAS 4.0.0/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(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP,fileNamePrefix="IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 0.6181 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.472e-05/1.615e-05, allocations: 2.281 kB / 0.6181 GB, free: 12.61 MB / 0.5417 GB Notification: Performance of NFInst.instantiate(IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP): time 0.3425/0.3425, allocations: 120.8 MB / 0.736 GB, free: 8.629 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.02397/0.3665, allocations: 21.64 MB / 0.7571 GB, free: 2.941 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003404/0.3699, allocations: 174.4 kB / 0.7573 GB, free: 2.77 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002795/0.3727, allocations: 1.498 MB / 0.7588 GB, free: 1.262 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.008001/0.3807, allocations: 4.461 MB / 0.7631 GB, free: 12.78 MB / 0.6355 GB Notification: Performance of NFTyping.typeClassSections: time 0.004312/0.385, allocations: 2.372 MB / 0.7655 GB, free: 10.44 MB / 0.6355 GB Notification: Performance of NFFlatten.flatten: time 0.005684/0.3907, allocations: 6.676 MB / 0.772 GB, free: 3.742 MB / 0.6355 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001593/0.3923, allocations: 1.828 MB / 0.7738 GB, free: 1.852 MB / 0.6355 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004324/0.3966, allocations: 4.06 MB / 0.7777 GB, free: 13.79 MB / 0.6511 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001591/0.3982, allocations: 1.596 MB / 0.7793 GB, free: 12.19 MB / 0.6511 GB Notification: Performance of NFPackage.collectConstants: time 0.0002048/0.3984, allocations: 248 kB / 0.7795 GB, free: 11.95 MB / 0.6511 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002337/0.4007, allocations: 1.602 MB / 0.7811 GB, free: 10.34 MB / 0.6511 GB Notification: Performance of NFScalarize.scalarize: time 0.0003858/0.4011, allocations: 0.6301 MB / 0.7817 GB, free: 9.711 MB / 0.6511 GB Notification: Performance of NFVerifyModel.verify: time 0.0007366/0.4018, allocations: 0.9702 MB / 0.7826 GB, free: 8.738 MB / 0.6511 GB Notification: Performance of NFConvertDAE.convert: time 0.003539/0.4054, allocations: 4.409 MB / 0.7869 GB, free: 4.316 MB / 0.6511 GB Notification: Performance of FrontEnd - DAE generated: time 3.627e-06/0.4054, allocations: 4 kB / 0.787 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of FrontEnd: time 1.583e-06/0.4054, allocations: 0 / 0.787 GB, free: 4.312 MB / 0.6511 GB Notification: Performance of Transformations before backend: time 1.894e-05/0.4054, allocations: 0 / 0.787 GB, free: 4.312 MB / 0.6511 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.003328/0.4087, allocations: 3.156 MB / 0.79 GB, free: 1.086 MB / 0.6511 GB Notification: Performance of prepare preOptimizeDAE: time 4.187e-05/0.4088, allocations: 12.03 kB / 0.79 GB, free: 1.074 MB / 0.6511 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001874/0.409, allocations: 224 kB / 0.7903 GB, free: 0.8438 MB / 0.6511 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002095/0.4111, allocations: 0.8493 MB / 0.7911 GB, free: 15.99 MB / 0.6667 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003001/0.4141, allocations: 2.3 MB / 0.7933 GB, free: 13.61 MB / 0.6667 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.904e-05/0.4141, allocations: 123 kB / 0.7935 GB, free: 13.49 MB / 0.6667 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001532/0.4143, allocations: 168 kB / 0.7936 GB, free: 13.33 MB / 0.6667 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002363/0.4166, allocations: 1.998 MB / 0.7956 GB, free: 11.25 MB / 0.6667 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.228e-05/0.4167, allocations: 3.938 kB / 0.7956 GB, free: 11.24 MB / 0.6667 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.867e-05/0.4168, allocations: 64 kB / 0.7956 GB, free: 11.18 MB / 0.6667 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.965e-05/0.4168, allocations: 36 kB / 0.7957 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002554/0.4193, allocations: 1.784 MB / 0.7974 GB, free: 9.359 MB / 0.6667 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.006652/0.426, allocations: 6.47 MB / 0.8037 GB, free: 2.73 MB / 0.6667 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002158/0.4282, allocations: 1.15 MB / 0.8048 GB, free: 1.57 MB / 0.6667 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000587/0.4287, allocations: 435.1 kB / 0.8053 GB, free: 1.141 MB / 0.6667 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000275/0.429, allocations: 151.9 kB / 0.8054 GB, free: 0.9922 MB / 0.6667 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.49e-05/0.429, allocations: 42.56 kB / 0.8054 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of pre-optimization done (n=76): time 2.474e-06/0.429, allocations: 0 / 0.8054 GB, free: 0.9414 MB / 0.6667 GB Notification: Performance of matching and sorting (n=76): time 0.004675/0.4337, allocations: 2.19 MB / 0.8076 GB, free: 14.73 MB / 0.6823 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.619e-05/0.4338, allocations: 85.11 kB / 0.8077 GB, free: 14.63 MB / 0.6823 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002356/0.4361, allocations: 2.517 MB / 0.8101 GB, free: 12.1 MB / 0.6823 GB Notification: Performance of collectPreVariables (initialization): time 5.931e-05/0.4362, allocations: 45.7 kB / 0.8102 GB, free: 12.05 MB / 0.6823 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006436/0.4368, allocations: 1.047 MB / 0.8112 GB, free: 10.99 MB / 0.6823 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001944/0.437, allocations: 281.6 kB / 0.8115 GB, free: 10.71 MB / 0.6823 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002744/0.4373, allocations: 250.8 kB / 0.8117 GB, free: 10.46 MB / 0.6823 GB Notification: Performance of setup shared object (initialization): time 9.695e-05/0.4374, allocations: 345.9 kB / 0.812 GB, free: 10.12 MB / 0.6823 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009134/0.4383, allocations: 0.5725 MB / 0.8126 GB, free: 9.547 MB / 0.6823 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001926/0.4402, allocations: 1.611 MB / 0.8142 GB, free: 7.629 MB / 0.6823 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001608/0.4418, allocations: 1.249 MB / 0.8154 GB, free: 6.277 MB / 0.6823 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.378e-06/0.4418, allocations: 4 kB / 0.8154 GB, free: 6.273 MB / 0.6823 GB Notification: Performance of matching and sorting (n=133) (initialization): time 0.003218/0.4451, allocations: 2.035 MB / 0.8174 GB, free: 4.223 MB / 0.6823 GB Notification: Performance of prepare postOptimizeDAE: time 2.101e-05/0.4451, allocations: 11.94 kB / 0.8174 GB, free: 4.211 MB / 0.6823 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.013e-05/0.4451, allocations: 8 kB / 0.8174 GB, free: 4.203 MB / 0.6823 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008665/0.446, allocations: 413.7 kB / 0.8178 GB, free: 3.793 MB / 0.6823 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005817/0.4465, allocations: 283.5 kB / 0.8181 GB, free: 3.516 MB / 0.6823 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001169/0.4477, allocations: 1.509 MB / 0.8195 GB, free: 1.957 MB / 0.6823 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001162/0.4489, allocations: 354.5 kB / 0.8199 GB, free: 1.609 MB / 0.6823 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.372e-05/0.449, allocations: 67.95 kB / 0.8199 GB, free: 1.543 MB / 0.6823 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.0007178/0.4497, allocations: 457.5 kB / 0.8204 GB, free: 1.086 MB / 0.6823 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002423/0.4499, allocations: 262.3 kB / 0.8206 GB, free: 0.8281 MB / 0.6823 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002011/0.4519, allocations: 1.495 MB / 0.8221 GB, free: 15.32 MB / 0.698 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.299e-05/0.4519, allocations: 11.98 kB / 0.8221 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.159e-06/0.4519, allocations: 0 / 0.8221 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.885e-06/0.4519, allocations: 7.984 kB / 0.8221 GB, free: 15.3 MB / 0.698 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.003984/0.4559, allocations: 3.299 MB / 0.8253 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.5e-06/0.4559, allocations: 384 / 0.8253 GB, free: 11.89 MB / 0.698 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002916/0.4562, allocations: 127.8 kB / 0.8254 GB, free: 11.77 MB / 0.698 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0007445/0.457, allocations: 425.1 kB / 0.8258 GB, free: 11.35 MB / 0.698 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.07e-05/0.457, allocations: 27.92 kB / 0.8259 GB, free: 11.32 MB / 0.698 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001545/0.4586, allocations: 1.569 MB / 0.8274 GB, free: 9.703 MB / 0.698 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.347e-06/0.4586, allocations: 7.938 kB / 0.8274 GB, free: 9.695 MB / 0.698 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002926/0.4615, allocations: 1.941 MB / 0.8293 GB, free: 7.699 MB / 0.698 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005052/0.462, allocations: 415.9 kB / 0.8297 GB, free: 7.289 MB / 0.698 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001576/0.4622, allocations: 19.98 kB / 0.8297 GB, free: 7.27 MB / 0.698 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007695/0.4629, allocations: 131.8 kB / 0.8298 GB, free: 7.141 MB / 0.698 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.002e-05/0.463, allocations: 67.77 kB / 0.8299 GB, free: 7.074 MB / 0.698 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.015e-05/0.463, allocations: 39.97 kB / 0.83 GB, free: 7.035 MB / 0.698 GB Notification: Performance of sorting global known variables: time 0.001674/0.4647, allocations: 1.754 MB / 0.8317 GB, free: 5.277 MB / 0.698 GB Notification: Performance of sort global known variables: time 1.7e-07/0.4647, allocations: 0 / 0.8317 GB, free: 5.277 MB / 0.698 GB Notification: Performance of remove unused functions: time 0.001228/0.4659, allocations: 0.694 MB / 0.8323 GB, free: 4.582 MB / 0.698 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.004104/0.47, allocations: 3.002 MB / 0.8353 GB, free: 1.512 MB / 0.698 GB Notification: Performance of simCode: created initialization part: time 0.002106/0.4721, allocations: 1.308 MB / 0.8365 GB, free: 212 kB / 0.698 GB Notification: Performance of simCode: created event and clocks part: time 3.046e-06/0.4721, allocations: 3.938 kB / 0.8366 GB, free: 208 kB / 0.698 GB Notification: Performance of simCode: created simulation system equations: time 0.001129/0.4733, allocations: 0.6413 MB / 0.8372 GB, free: 15.56 MB / 0.7136 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003049/0.4763, allocations: 1.324 MB / 0.8385 GB, free: 14.3 MB / 0.7136 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01964/0.496, allocations: 16.6 MB / 0.8547 GB, free: 13.21 MB / 0.7292 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008402/0.4968, allocations: 0.9255 MB / 0.8556 GB, free: 12.25 MB / 0.7292 GB Notification: Performance of simCode: alias equations: time 0.001088/0.4979, allocations: 431.8 kB / 0.856 GB, free: 11.83 MB / 0.7292 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0007737/0.4987, allocations: 0.9064 MB / 0.8569 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of SimCode: time 8.92e-07/0.4987, allocations: 0 / 0.8569 GB, free: 10.93 MB / 0.7292 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.073/0.5717, allocations: 70.31 MB / 0.9255 GB, free: 5.801 MB / 0.7917 GB Notification: Performance of buildModelFMU: Generate platform static: time 9.935/10.51, allocations: 4 kB / 0.9256 GB, free: 5.797 MB / 0.7917 GB " [Timeout remaining time 649] (rm -f IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; mkfifo IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe ; head -c 1048576 < IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe >> ../files/IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.sim & python3 -m fmpy simulate --output-file IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP_res.csv --start-time 0 --stop-time 3600 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 1.44 IDEAS_IDEAS_Fluid_Chillers_Validation_CarnotVerifyCOP.fmu > IDEAS_IDEAS.Fluid.Chillers.Validation.CarnotVerifyCOP.pipe 2>&1) [Timeout 52.5] [Calling os._exit(0), Time elapsed: 14.213605159893632] Failed to read output from testmodel.py, exit status != 0: 10.63324576895684 10.642772822 10.23558993 Calling exit ...