Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.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.001302/0.001302, allocations: 110.4 kB / 18.94 MB, free: 2.949 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.001453/0.001453, allocations: 220.2 kB / 22.26 MB, free: 5.125 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.37/1.37, allocations: 230.6 MB / 256 MB, free: 7.961 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.002502/0.002502, allocations: 284.1 kB / 312.7 MB, free: 2.773 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.166/1.166, allocations: 180.6 MB / 0.5369 GB, free: 12.96 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.Carnot_TEva_2ndLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw,fileNamePrefix="BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw",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.00278/0.00278, allocations: 100.3 kB / 0.7396 GB, free: 28.11 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1806/0.1833, allocations: 95.39 MB / 0.8327 GB, free: 8.613 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.07567/0.259, allocations: 71.93 MB / 0.903 GB, free: 436 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02572/0.2847, allocations: 19.13 MB / 0.9216 GB, free: 13.24 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003091/0.2878, allocations: 95.19 kB / 0.9217 GB, free: 13.15 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002798/0.2906, allocations: 0.8501 MB / 0.9226 GB, free: 12.29 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.009427/0.3001, allocations: 3.067 MB / 0.9256 GB, free: 9.215 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004552/0.3046, allocations: 1.715 MB / 0.9272 GB, free: 7.504 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.006478/0.3111, allocations: 4.094 MB / 0.9312 GB, free: 3.398 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002124/0.3132, allocations: 1.153 MB / 0.9324 GB, free: 2.211 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004773/0.318, allocations: 1.853 MB / 0.9342 GB, free: 364 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002483/0.3205, allocations: 1.237 MB / 0.9354 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0002674/0.3207, allocations: 183.9 kB / 0.9356 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003366/0.3241, allocations: 1.497 MB / 0.937 GB, free: 13.43 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0004227/0.3245, allocations: 398.4 kB / 0.9374 GB, free: 13.04 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001188/0.3257, allocations: 0.9177 MB / 0.9383 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005364/0.3311, allocations: 3.142 MB / 0.9414 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.3311, allocations: 0 / 0.9414 GB, free: 8.969 MB / 0.6856 GB Notification: Performance of FrontEnd: time 2.244e-06/0.3311, allocations: 4 kB / 0.9414 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 3.268e-05/0.3311, allocations: 0 / 0.9414 GB, free: 8.965 MB / 0.6856 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 257 * Number of variables: 257 Notification: Performance of Generate backend data structure: time 0.004162/0.3353, allocations: 2.011 MB / 0.9433 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 5.481e-05/0.3353, allocations: 9.938 kB / 0.9433 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000216/0.3355, allocations: 156.6 kB / 0.9435 GB, free: 6.738 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002318/0.3379, allocations: 459.1 kB / 0.9439 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003231/0.3411, allocations: 1.504 MB / 0.9454 GB, free: 4.734 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.546e-05/0.3412, allocations: 78.03 kB / 0.9455 GB, free: 4.656 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001465/0.3413, allocations: 104 kB / 0.9456 GB, free: 4.555 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002658/0.344, allocations: 1.313 MB / 0.9469 GB, free: 3.133 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/0.344, allocations: 3.938 kB / 0.9469 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.955e-05/0.3441, allocations: 44 kB / 0.9469 GB, free: 3.086 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.307e-05/0.3441, allocations: 28 kB / 0.9469 GB, free: 3.059 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002615/0.3468, allocations: 1.101 MB / 0.948 GB, free: 1.957 MB / 0.6856 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.01071/0.3575, allocations: 7.377 MB / 0.9552 GB, free: 10.09 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003294/0.3608, allocations: 0.775 MB / 0.956 GB, free: 9.305 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006053/0.3614, allocations: 270 kB / 0.9562 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005722/0.3619, allocations: 156.3 kB / 0.9564 GB, free: 8.887 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.233e-05/0.362, allocations: 42.94 kB / 0.9564 GB, free: 8.836 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.254e-06/0.362, allocations: 7.938 kB / 0.9564 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.004772/0.3668, allocations: 1.26 MB / 0.9576 GB, free: 7.559 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.494e-05/0.3668, allocations: 55.84 kB / 0.9577 GB, free: 7.492 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002465/0.3693, allocations: 1.549 MB / 0.9592 GB, free: 5.934 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 9.03e-05/0.3694, allocations: 37.7 kB / 0.9592 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0006222/0.37, allocations: 0.678 MB / 0.9599 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001801/0.3702, allocations: 182.5 kB / 0.9601 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002866/0.3704, allocations: 170.5 kB / 0.9602 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001587/0.3706, allocations: 341.9 kB / 0.9606 GB, free: 4.516 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009644/0.3716, allocations: 361.8 kB / 0.9609 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.00122/0.3728, allocations: 0.6584 MB / 0.9616 GB, free: 3.375 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001775/0.3746, allocations: 0.8896 MB / 0.9624 GB, free: 2.379 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.827e-06/0.3746, allocations: 4 kB / 0.9624 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003099/0.3777, allocations: 1.193 MB / 0.9636 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.491e-05/0.3777, allocations: 8 kB / 0.9636 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.766e-05/0.3777, allocations: 8 kB / 0.9636 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.000947/0.3787, allocations: 224.7 kB / 0.9638 GB, free: 0.9336 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007825/0.3794, allocations: 187.7 kB / 0.964 GB, free: 0.75 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009325/0.3804, allocations: 0.724 MB / 0.9647 GB, free: 0 / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001692/0.3821, allocations: 219.1 kB / 0.9649 GB, free: 15.78 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.729e-05/0.3822, allocations: 39.98 kB / 0.965 GB, free: 15.74 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 (84): * Single equations (assignments): 83 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,8)} Notification: Performance of prepare postOptimizeDAE: time 0.0006904/0.3829, allocations: 361.6 kB / 0.9653 GB, free: 15.38 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002802/0.3831, allocations: 159 kB / 0.9655 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002462/0.3856, allocations: 1.152 MB / 0.9666 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.195e-05/0.3856, allocations: 12.09 kB / 0.9666 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.771e-06/0.3856, allocations: 3.938 kB / 0.9666 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.428e-06/0.3856, allocations: 3.984 kB / 0.9666 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005307/0.3909, allocations: 2.499 MB / 0.969 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.518e-06/0.391, allocations: 4 kB / 0.969 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003758/0.3913, allocations: 79.88 kB / 0.9691 GB, free: 11.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008054/0.3921, allocations: 220.8 kB / 0.9693 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.748e-05/0.3922, allocations: 8 kB / 0.9693 GB, free: 11.16 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001323/0.3935, allocations: 0.7786 MB / 0.9701 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.3935, allocations: 0 / 0.9701 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003477/0.397, allocations: 1.226 MB / 0.9713 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007261/0.3977, allocations: 278.6 kB / 0.9716 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001844/0.3979, allocations: 19.98 kB / 0.9716 GB, free: 8.789 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008508/0.3987, allocations: 67.92 kB / 0.9716 GB, free: 8.723 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.761e-05/0.3988, allocations: 48.36 kB / 0.9717 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.068e-05/0.3989, allocations: 27.98 kB / 0.9717 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001824/0.4007, allocations: 1.086 MB / 0.9728 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.4e-07/0.4007, allocations: 0 / 0.9728 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001308/0.402, allocations: 459 kB / 0.9732 GB, free: 7.117 MB / 0.7169 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * 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 (52): * Single equations (assignments): 41 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 10 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,9)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00442/0.4064, allocations: 2.118 MB / 0.9753 GB, free: 4.957 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002194/0.4086, allocations: 0.8364 MB / 0.9761 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.338e-06/0.4086, allocations: 0 / 0.9761 GB, free: 4.125 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001265/0.4099, allocations: 427.3 kB / 0.9765 GB, free: 3.707 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003142/0.4131, allocations: 0.7439 MB / 0.9772 GB, free: 2.977 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3584/0.7714, allocations: 10.51 MB / 0.9875 GB, free: 139.8 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000567/0.772, allocations: 1.172 MB / 0.9886 GB, free: 139.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009054/0.7729, allocations: 263.3 kB / 0.9889 GB, free: 139.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005899/0.7735, allocations: 0.5506 MB / 0.9894 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of SimCode: time 9.21e-07/0.7735, allocations: 0 / 0.9894 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.09697/0.8705, allocations: 44.53 MB / 1.033 GB, free: 107.5 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 14.59/15.46, allocations: 9.844 kB / 1.033 GB, free: 107.5 MB / 0.7169 GB " [Timeout remaining time 644] (rm -f BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; mkfifo BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe ; head -c 1048576 < BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe >> ../files/BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.sim & python3 -m fmpy simulate --output-file BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.0004 BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw.fmu > BuildingSystems_BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw.pipe 2>&1) [Timeout 52.5] [Calling sys.exit(0), Time elapsed: 19.525871973000903] Failed to read output from testmodel.py, exit status != 0: 15.600073809000605 15.610496173 15.277050061 Calling exit ...