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.0007703/0.0007703, allocations: 68.47 kB / 19.17 MB, free: 0.7344 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.00082/0.00082, allocations: 173.9 kB / 22.46 MB, free: 2.09 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.8391/0.8391, allocations: 177.1 MB / 202.8 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] 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.001347/0.001347, allocations: 240.4 kB / 259.4 MB, free: 13.01 MB / 250.7 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 0.6469/0.6469, allocations: 138.4 MB / 454.3 MB, free: 29.96 MB / 410.7 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: Performance of FrontEnd - loaded program: time 1.593e-06/1.593e-06, allocations: 0 / 0.6463 GB, free: 1.906 MB / 0.5573 GB Notification: Performance of FrontEnd - Absyn->SCode: time 1.135e-05/1.295e-05, allocations: 9.312 kB / 0.6463 GB, free: 1.898 MB / 0.5573 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.248/0.248, allocations: 64.49 MB / 0.7092 GB, free: 15.13 MB / 0.5573 GB Notification: Performance of NFInst.instExpressions: time 0.01582/0.2639, allocations: 17.53 MB / 0.7264 GB, free: 2.629 MB / 0.5573 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002017/0.2659, allocations: 95.91 kB / 0.7265 GB, free: 2.578 MB / 0.5573 GB Notification: Performance of NFTyping.typeComponents: time 0.001509/0.2674, allocations: 0.8302 MB / 0.7273 GB, free: 1.867 MB / 0.5573 GB Notification: Performance of NFTyping.typeBindings: time 0.004869/0.2723, allocations: 3.113 MB / 0.7303 GB, free: 15.42 MB / 0.573 GB Notification: Performance of NFTyping.typeClassSections: time 0.002646/0.2749, allocations: 1.774 MB / 0.732 GB, free: 14.02 MB / 0.573 GB Notification: Performance of NFFlatten.flatten: time 0.003331/0.2782, allocations: 4.087 MB / 0.736 GB, free: 11.51 MB / 0.573 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001135/0.2794, allocations: 1.133 MB / 0.7371 GB, free: 10.67 MB / 0.573 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002901/0.2823, allocations: 2.431 MB / 0.7395 GB, free: 9.027 MB / 0.573 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001137/0.2834, allocations: 1.025 MB / 0.7405 GB, free: 8.469 MB / 0.573 GB Notification: Performance of NFPackage.collectConstants: time 0.000167/0.2836, allocations: 178.8 kB / 0.7407 GB, free: 8.469 MB / 0.573 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001597/0.2852, allocations: 1.176 MB / 0.7418 GB, free: 7.906 MB / 0.573 GB Notification: Performance of NFScalarize.scalarize: time 0.0002429/0.2854, allocations: 408.9 kB / 0.7422 GB, free: 7.566 MB / 0.573 GB Notification: Performance of NFVerifyModel.verify: time 0.0004851/0.2859, allocations: 0.599 MB / 0.7428 GB, free: 7.246 MB / 0.573 GB Notification: Performance of NFConvertDAE.convert: time 0.002429/0.2883, allocations: 3.141 MB / 0.7459 GB, free: 5.094 MB / 0.573 GB Notification: Performance of FrontEnd - DAE generated: time 5.06e-06/0.2883, allocations: 0 / 0.7459 GB, free: 5.094 MB / 0.573 GB Notification: Performance of FrontEnd: time 2.615e-06/0.2883, allocations: 1.375 kB / 0.7459 GB, free: 5.094 MB / 0.573 GB Notification: Performance of Transformations before backend: time 1.997e-05/0.2884, allocations: 0 / 0.7459 GB, free: 5.094 MB / 0.573 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.002123/0.2905, allocations: 1.993 MB / 0.7478 GB, free: 3.25 MB / 0.573 GB Notification: Performance of prepare preOptimizeDAE: time 3.791e-05/0.2905, allocations: 9.938 kB / 0.7478 GB, free: 3.242 MB / 0.573 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001283/0.2907, allocations: 160.6 kB / 0.748 GB, free: 3.078 MB / 0.573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001035/0.2917, allocations: 455.1 kB / 0.7484 GB, free: 2.633 MB / 0.573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00162/0.2933, allocations: 1.508 MB / 0.7499 GB, free: 1.078 MB / 0.573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.739e-05/0.2934, allocations: 82.03 kB / 0.75 GB, free: 0.9961 MB / 0.573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001016/0.2935, allocations: 105.1 kB / 0.7501 GB, free: 0.8945 MB / 0.573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001477/0.2949, allocations: 1.413 MB / 0.7515 GB, free: 15.35 MB / 0.5886 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.857e-05/0.295, allocations: 7.938 kB / 0.7515 GB, free: 15.34 MB / 0.5886 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.358e-05/0.295, allocations: 40 kB / 0.7515 GB, free: 15.3 MB / 0.5886 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.545e-05/0.295, allocations: 28 kB / 0.7515 GB, free: 15.27 MB / 0.5886 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001468/0.2965, allocations: 1.097 MB / 0.7526 GB, free: 14.18 MB / 0.5886 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.004536/0.301, allocations: 5.606 MB / 0.7581 GB, free: 8.422 MB / 0.5886 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001677/0.3027, allocations: 0.7766 MB / 0.7588 GB, free: 7.637 MB / 0.5886 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003278/0.303, allocations: 258.2 kB / 0.7591 GB, free: 7.383 MB / 0.5886 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0002838/0.3033, allocations: 164.4 kB / 0.7592 GB, free: 7.223 MB / 0.5886 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.3034, allocations: 39.06 kB / 0.7593 GB, free: 7.176 MB / 0.5886 GB Notification: Performance of pre-optimization done (n=48): time 1.562e-06/0.3034, allocations: 3.938 kB / 0.7593 GB, free: 7.172 MB / 0.5886 GB Notification: Performance of matching and sorting (n=48): time 0.002424/0.3058, allocations: 1.27 MB / 0.7605 GB, free: 5.895 MB / 0.5886 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.473e-05/0.3058, allocations: 55.91 kB / 0.7606 GB, free: 5.828 MB / 0.5886 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001363/0.3072, allocations: 1.561 MB / 0.7621 GB, free: 4.258 MB / 0.5886 GB Notification: Performance of collectPreVariables (initialization): time 3.496e-05/0.3072, allocations: 37.7 kB / 0.7621 GB, free: 4.215 MB / 0.5886 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003773/0.3076, allocations: 0.6779 MB / 0.7628 GB, free: 3.531 MB / 0.5886 GB Notification: Performance of collectInitialBindings (initialization): time 9.973e-05/0.3077, allocations: 174.5 kB / 0.763 GB, free: 3.359 MB / 0.5886 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001781/0.3079, allocations: 178.5 kB / 0.7631 GB, free: 3.18 MB / 0.5886 GB Notification: Performance of setup shared object (initialization): time 8.08e-05/0.3079, allocations: 330 kB / 0.7634 GB, free: 2.852 MB / 0.5886 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0005874/0.3085, allocations: 369.8 kB / 0.7638 GB, free: 2.488 MB / 0.5886 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007472/0.3093, allocations: 0.9839 MB / 0.7648 GB, free: 1.301 MB / 0.5886 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009821/0.3103, allocations: 0.8925 MB / 0.7656 GB, free: 312 kB / 0.5886 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.499e-06/0.3103, allocations: 4 kB / 0.7656 GB, free: 308 kB / 0.5886 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.001546/0.3118, allocations: 1.197 MB / 0.7668 GB, free: 15.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.3118, allocations: 12.03 kB / 0.7668 GB, free: 15.08 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.307e-06/0.3118, allocations: 8 kB / 0.7668 GB, free: 15.07 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005006/0.3123, allocations: 220.6 kB / 0.767 GB, free: 14.86 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003679/0.3127, allocations: 191.7 kB / 0.7672 GB, free: 14.67 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000489/0.3132, allocations: 0.7279 MB / 0.7679 GB, free: 13.91 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000681/0.3139, allocations: 211 kB / 0.7681 GB, free: 13.71 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.815e-05/0.3139, allocations: 39.98 kB / 0.7682 GB, free: 13.67 MB / 0.6042 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.0003235/0.3143, allocations: 362.2 kB / 0.7685 GB, free: 13.3 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001307/0.3144, allocations: 155 kB / 0.7687 GB, free: 13.15 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001406/0.3158, allocations: 1.154 MB / 0.7698 GB, free: 12.02 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.137e-05/0.3158, allocations: 8 kB / 0.7698 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.238e-06/0.3158, allocations: 0 / 0.7698 GB, free: 12.01 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.674e-06/0.3158, allocations: 4.547 kB / 0.7698 GB, free: 12 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002764/0.3186, allocations: 2.293 MB / 0.772 GB, free: 9.633 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.811e-06/0.3186, allocations: 4.188 kB / 0.772 GB, free: 9.629 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001757/0.3188, allocations: 87.88 kB / 0.7721 GB, free: 9.543 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003994/0.3192, allocations: 213.8 kB / 0.7723 GB, free: 9.332 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.674e-05/0.3192, allocations: 15.98 kB / 0.7723 GB, free: 9.316 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0006437/0.3198, allocations: 0.7786 MB / 0.7731 GB, free: 8.512 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.214e-06/0.3198, allocations: 4.031 kB / 0.7731 GB, free: 8.508 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001647/0.3215, allocations: 1.212 MB / 0.7743 GB, free: 7.258 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003149/0.3218, allocations: 286.6 kB / 0.7746 GB, free: 6.977 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.587e-05/0.3219, allocations: 12 kB / 0.7746 GB, free: 6.965 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004099/0.3223, allocations: 79.84 kB / 0.7746 GB, free: 6.887 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.095e-05/0.3224, allocations: 44.36 kB / 0.7747 GB, free: 6.844 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.398e-05/0.3224, allocations: 23.98 kB / 0.7747 GB, free: 6.82 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.0009815/0.3234, allocations: 1.086 MB / 0.7758 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of sort global known variables: time 7.1e-08/0.3234, allocations: 0 / 0.7758 GB, free: 5.738 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.0008567/0.3242, allocations: 451 kB / 0.7762 GB, free: 5.297 MB / 0.6042 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.002476/0.3267, allocations: 2.14 MB / 0.7783 GB, free: 3.105 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001142/0.3279, allocations: 0.8255 MB / 0.7791 GB, free: 2.281 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3279, allocations: 0 / 0.7791 GB, free: 2.281 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.0006277/0.3285, allocations: 423.4 kB / 0.7795 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001625/0.3301, allocations: 0.7424 MB / 0.7802 GB, free: 1.164 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01075/0.3409, allocations: 10.51 MB / 0.7905 GB, free: 6.277 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003636/0.3412, allocations: 0.5875 MB / 0.7911 GB, free: 5.656 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0005795/0.3418, allocations: 266.2 kB / 0.7913 GB, free: 5.395 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004804/0.3423, allocations: 0.551 MB / 0.7919 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of SimCode: time 5.81e-07/0.3423, allocations: 0 / 0.7919 GB, free: 4.844 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04948/0.3918, allocations: 47.04 MB / 0.8378 GB, free: 6.68 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.522/8.914, allocations: 2.922 kB / 0.8378 GB, free: 6.68 MB / 0.6667 GB " [Timeout remaining time 651] (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 os._exit(0), Time elapsed: 12.492918382398784] Failed to read output from testmodel.py, exit status != 0: 9.025966574437916 9.035440583 8.74512621 Calling exit ...