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.001781/0.001781, 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.002413/0.002413, allocations: 219 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.453/1.453, allocations: 230.6 MB / 256 MB, free: 7.988 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.002517/0.002517, allocations: 295.9 kB / 312.7 MB, free: 2.801 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.231/1.231, allocations: 180.6 MB / 0.5369 GB, free: 13.05 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.002925/0.002925, allocations: 103.2 kB / 0.7396 GB, free: 27.95 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1564/0.1594, allocations: 95.38 MB / 0.8327 GB, free: 8.617 MB / 0.5762 GB Notification: Performance of NFInst.instantiate(BuildingSystems.Fluid.Chillers.Validation.Carnot_TEva_2ndLaw): time 0.08088/0.2402, allocations: 71.95 MB / 0.903 GB, free: 420 kB / 0.6387 GB Notification: Performance of NFInst.instExpressions: time 0.02673/0.267, allocations: 19.11 MB / 0.9217 GB, free: 13.24 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002207/0.2692, allocations: 95.19 kB / 0.9217 GB, free: 13.15 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002449/0.2716, allocations: 0.854 MB / 0.9226 GB, free: 12.29 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.008272/0.2799, allocations: 3.064 MB / 0.9256 GB, free: 9.211 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004469/0.2844, allocations: 1.72 MB / 0.9272 GB, free: 7.5 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005961/0.2903, allocations: 4.089 MB / 0.9312 GB, free: 3.398 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002173/0.2925, allocations: 1.157 MB / 0.9324 GB, free: 2.207 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004353/0.2968, allocations: 1.859 MB / 0.9342 GB, free: 352 kB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.002405/0.2993, allocations: 1.233 MB / 0.9354 GB, free: 15.11 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0004498/0.2997, allocations: 176 kB / 0.9356 GB, free: 14.93 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003362/0.3031, allocations: 1.49 MB / 0.937 GB, free: 13.44 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0005959/0.3037, allocations: 402.4 kB / 0.9374 GB, free: 13.05 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.001521/0.3052, allocations: 0.9177 MB / 0.9383 GB, free: 12.12 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.005309/0.3105, allocations: 3.15 MB / 0.9414 GB, free: 8.965 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.438e-06/0.3105, allocations: 4 kB / 0.9414 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.243e-06/0.3105, allocations: 0 / 0.9414 GB, free: 8.961 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 6.815e-05/0.3106, allocations: 0 / 0.9414 GB, free: 8.961 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.004608/0.3152, allocations: 2.007 MB / 0.9433 GB, free: 6.906 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3152, allocations: 9.344 kB / 0.9433 GB, free: 6.898 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0002801/0.3155, allocations: 160.5 kB / 0.9435 GB, free: 6.734 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002451/0.318, allocations: 455.2 kB / 0.9439 GB, free: 6.289 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003686/0.3216, allocations: 1.508 MB / 0.9454 GB, free: 4.73 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.864e-05/0.3217, allocations: 82.03 kB / 0.9455 GB, free: 4.648 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002477/0.322, allocations: 111.9 kB / 0.9456 GB, free: 4.539 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003043/0.325, allocations: 1.309 MB / 0.9469 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.386e-05/0.3251, allocations: 7.938 kB / 0.9469 GB, free: 3.113 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001285/0.3252, allocations: 40 kB / 0.9469 GB, free: 3.074 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.46e-05/0.3252, allocations: 28 kB / 0.9469 GB, free: 3.047 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.003151/0.3284, allocations: 1.101 MB / 0.948 GB, free: 1.945 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.01107/0.3394, allocations: 7.373 MB / 0.9552 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003332/0.3428, allocations: 0.7736 MB / 0.956 GB, free: 9.301 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006701/0.3434, allocations: 266 kB / 0.9562 GB, free: 9.039 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006017/0.344, allocations: 164.3 kB / 0.9564 GB, free: 8.879 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.677e-05/0.3441, allocations: 38.94 kB / 0.9564 GB, free: 8.832 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 2.424e-06/0.3441, allocations: 4 kB / 0.9564 GB, free: 8.828 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.005093/0.3492, allocations: 1.264 MB / 0.9577 GB, free: 7.555 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.5e-05/0.3492, allocations: 55.84 kB / 0.9577 GB, free: 7.488 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002853/0.3521, allocations: 1.542 MB / 0.9592 GB, free: 5.938 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 0.0001128/0.3522, allocations: 41.7 kB / 0.9593 GB, free: 5.891 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000701/0.3529, allocations: 0.6779 MB / 0.9599 GB, free: 5.207 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002145/0.3531, allocations: 182.5 kB / 0.9601 GB, free: 5.027 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0003437/0.3534, allocations: 178.5 kB / 0.9603 GB, free: 4.848 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001569/0.3536, allocations: 330 kB / 0.9606 GB, free: 4.52 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001048/0.3546, allocations: 365.8 kB / 0.9609 GB, free: 4.16 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001367/0.356, allocations: 0.6623 MB / 0.9616 GB, free: 3.371 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001996/0.358, allocations: 0.8896 MB / 0.9624 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.077e-05/0.358, allocations: 4 kB / 0.9624 GB, free: 2.371 MB / 0.7012 GB Notification: Performance of matching and sorting (n=92) (initialization): time 0.003306/0.3613, allocations: 1.189 MB / 0.9636 GB, free: 1.172 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 2.504e-05/0.3613, allocations: 8 kB / 0.9636 GB, free: 1.164 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.587e-05/0.3614, allocations: 8 kB / 0.9636 GB, free: 1.156 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0009446/0.3623, allocations: 228.6 kB / 0.9638 GB, free: 0.9297 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008259/0.3631, allocations: 187.7 kB / 0.964 GB, free: 0.7461 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0009949/0.3641, allocations: 0.7317 MB / 0.9647 GB, free: 15.99 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001615/0.3657, allocations: 219 kB / 0.9649 GB, free: 15.77 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001206/0.3659, allocations: 43.97 kB / 0.965 GB, free: 15.73 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.0006468/0.3665, allocations: 357.6 kB / 0.9653 GB, free: 15.37 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003522/0.3669, allocations: 151 kB / 0.9655 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002668/0.3695, allocations: 1.152 MB / 0.9666 GB, free: 14.05 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-05/0.3696, allocations: 12 kB / 0.9666 GB, free: 14.04 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.147e-06/0.3696, allocations: 7.984 kB / 0.9666 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.953e-06/0.3696, allocations: 0 / 0.9666 GB, free: 14.03 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005776/0.3753, allocations: 2.499 MB / 0.969 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.015e-06/0.3754, allocations: 192 / 0.969 GB, free: 11.46 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003936/0.3757, allocations: 79.89 kB / 0.9691 GB, free: 11.39 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0008144/0.3766, allocations: 216.6 kB / 0.9693 GB, free: 11.17 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.106e-05/0.3766, allocations: 19.98 kB / 0.9693 GB, free: 11.15 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001365/0.378, allocations: 0.7669 MB / 0.9701 GB, free: 10.36 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.191e-06/0.378, allocations: 8.016 kB / 0.9701 GB, free: 10.35 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003643/0.3816, allocations: 1.226 MB / 0.9713 GB, free: 9.082 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007205/0.3823, allocations: 282.6 kB / 0.9716 GB, free: 8.805 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002715/0.3826, allocations: 12 kB / 0.9716 GB, free: 8.793 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001034/0.3836, allocations: 75.84 kB / 0.9717 GB, free: 8.719 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001008/0.3838, allocations: 44.42 kB / 0.9717 GB, free: 8.676 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.407e-05/0.3838, allocations: 27.98 kB / 0.9717 GB, free: 8.648 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.002151/0.386, allocations: 1.082 MB / 0.9728 GB, free: 7.57 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.1e-07/0.386, allocations: 4 kB / 0.9728 GB, free: 7.566 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001441/0.3874, allocations: 463.2 kB / 0.9732 GB, free: 7.113 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.004749/0.3922, allocations: 2.119 MB / 0.9753 GB, free: 4.953 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002303/0.3945, allocations: 0.8357 MB / 0.9761 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.098e-06/0.3945, allocations: 1.062 kB / 0.9761 GB, free: 4.121 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001383/0.3959, allocations: 431 kB / 0.9765 GB, free: 3.699 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003517/0.3994, allocations: 0.7428 MB / 0.9773 GB, free: 2.969 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.3512/0.7506, 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.0006363/0.7512, allocations: 1.173 MB / 0.9887 GB, free: 139.1 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.0009796/0.7522, allocations: 264.3 kB / 0.9889 GB, free: 139.1 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006424/0.7528, allocations: 0.5457 MB / 0.9894 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of SimCode: time 1.012e-06/0.7528, allocations: 0 / 0.9894 GB, free: 138.7 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0858/0.8386, allocations: 44.52 MB / 1.033 GB, free: 107.3 MB / 0.7169 GB Notification: Performance of buildModelFMU: Generate platform static: time 15.39/16.23, allocations: 7.5 kB / 1.033 GB, free: 107.3 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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_BuildingSystems_BuildingSystems_Fluid_Chillers_Validation_Carnot_TEva_2ndLaw_fmu --startTime=0 --stopTime=1 --stepSize=0.0004 --timeout=50 --tolerance=1e-06 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: 20.44536666898057] Failed to read output from testmodel.py, exit status != 0: 16.379047751193866 16.395309837 16.081669961 Calling exit ...