Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+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/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/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 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.461/1.461, allocations: 251.9 MB / 266.9 MB, free: 11.07 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001153/0.001153, allocations: 183.4 kB / 326.5 MB, free: 2.262 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.742/1.742, allocations: 205.4 MB / 0.5775 GB, free: 20.36 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0009096/0.0009093, allocations: 96.64 kB / 0.6821 GB, free: 12.9 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003118/0.0003123, allocations: 9.531 kB / 0.7963 GB, free: 135.3 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2112/0.2115, allocations: 106.3 MB / 0.9001 GB, free: 63.88 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.03689/0.2485, allocations: 51.34 MB / 0.9503 GB, free: 12.4 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01205/0.2606, allocations: 10.21 MB / 0.9602 GB, free: 2.172 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002039/0.2627, allocations: 51.62 kB / 0.9603 GB, free: 2.121 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.001902/0.2646, allocations: 0.6296 MB / 0.9609 GB, free: 1.488 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.005008/0.2696, allocations: 1.893 MB / 0.9628 GB, free: 15.59 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003647/0.2733, allocations: 1.242 MB / 0.964 GB, free: 14.37 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003472/0.2768, allocations: 1.838 MB / 0.9658 GB, free: 12.53 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001326/0.2781, allocations: 0.8017 MB / 0.9665 GB, free: 11.7 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001978/0.2801, allocations: 0.9731 MB / 0.9675 GB, free: 10.72 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009601/0.2811, allocations: 0.6143 MB / 0.9681 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001484/0.2812, allocations: 44 kB / 0.9681 GB, free: 10.06 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002354/0.2836, allocations: 0.9946 MB / 0.9691 GB, free: 9.066 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002304/0.2839, allocations: 199.1 kB / 0.9693 GB, free: 8.871 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0003692/0.2842, allocations: 285 kB / 0.9696 GB, free: 8.586 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002129/0.2864, allocations: 1.59 MB / 0.9711 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.446e-06/0.2864, allocations: 0 / 0.9711 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.894e-06/0.2864, allocations: 0 / 0.9711 GB, free: 6.988 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 2.784e-05/0.2864, allocations: 4 kB / 0.9711 GB, free: 6.984 MB / 0.6198 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003048/0.2895, allocations: 1.489 MB / 0.9726 GB, free: 5.438 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.2e-05/0.2896, allocations: 11.97 kB / 0.9726 GB, free: 5.426 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001827/0.2897, allocations: 122.7 kB / 0.9727 GB, free: 5.297 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001672/0.2914, allocations: 386 kB / 0.9731 GB, free: 4.918 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001932/0.2934, allocations: 1.051 MB / 0.9741 GB, free: 3.809 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003936/0.2938, allocations: 133.9 kB / 0.9742 GB, free: 3.68 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001173/0.2939, allocations: 79.98 kB / 0.9743 GB, free: 3.602 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001945/0.2959, allocations: 0.9605 MB / 0.9752 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.778e-05/0.2959, allocations: 0 / 0.9752 GB, free: 2.602 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-05/0.296, allocations: 32 kB / 0.9753 GB, free: 2.57 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.666e-05/0.296, allocations: 20 kB / 0.9753 GB, free: 2.551 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002131/0.2981, allocations: 0.8586 MB / 0.9761 GB, free: 1.691 MB / 0.6198 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.007023/0.3052, allocations: 4.572 MB / 0.9806 GB, free: 12.8 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001784/0.307, allocations: 0.6418 MB / 0.9812 GB, free: 12.16 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.00156/0.3086, allocations: 1.393 MB / 0.9826 GB, free: 10.47 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.797e-05/0.3086, allocations: 35 kB / 0.9826 GB, free: 10.43 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 3.777e-06/0.3086, allocations: 4 kB / 0.9826 GB, free: 10.42 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.007903/0.3165, allocations: 1.885 MB / 0.9845 GB, free: 8.504 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.84e-05/0.3167, allocations: 63.72 kB / 0.9845 GB, free: 8.43 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001757/0.3184, allocations: 1.071 MB / 0.9856 GB, free: 7.344 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.705e-05/0.3185, allocations: 37.7 kB / 0.9856 GB, free: 7.301 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004835/0.319, allocations: 0.5275 MB / 0.9861 GB, free: 6.77 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001928/0.3192, allocations: 169.7 kB / 0.9863 GB, free: 6.602 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.252e-05/0.3193, allocations: 8 kB / 0.9863 GB, free: 6.594 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001453/0.3194, allocations: 326 kB / 0.9866 GB, free: 6.27 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008101/0.3202, allocations: 296.9 kB / 0.9869 GB, free: 5.98 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009657/0.3212, allocations: 0.4887 MB / 0.9874 GB, free: 5.418 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008848/0.3221, allocations: 332.6 kB / 0.9877 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.3221, allocations: 0 / 0.9877 GB, free: 5.094 MB / 0.6355 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002657/0.3248, allocations: 0.9951 MB / 0.9887 GB, free: 4.086 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.000565/0.3254, allocations: 1.41 MB / 0.99 GB, free: 2.578 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.154e-05/0.3254, allocations: 8 kB / 0.99 GB, free: 2.57 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001336/0.3267, allocations: 324.5 kB / 0.9903 GB, free: 2.25 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000506/0.3273, allocations: 123.9 kB / 0.9905 GB, free: 2.129 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001521/0.3288, allocations: 0.9361 MB / 0.9914 GB, free: 1.168 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001317/0.3301, allocations: 183.3 kB / 0.9916 GB, free: 0.9883 MB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.192e-05/0.3302, allocations: 31.97 kB / 0.9916 GB, free: 0.957 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.008e-05/0.3302, allocations: 4 kB / 0.9916 GB, free: 0.9531 MB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0023/0.3325, allocations: 0.8699 MB / 0.9924 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.082e-06/0.3325, allocations: 0 / 0.9924 GB, free: 80 kB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001184/0.3337, allocations: 328.7 kB / 0.9928 GB, free: 15.75 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004859/0.3342, allocations: 123.9 kB / 0.9929 GB, free: 15.63 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0015/0.3357, allocations: 0.9378 MB / 0.9938 GB, free: 14.67 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001231/0.337, allocations: 159.3 kB / 0.9939 GB, free: 14.51 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.964e-05/0.3371, allocations: 31.98 kB / 0.994 GB, free: 14.48 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (55): * Single equations (assignments): 54 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006698/0.3378, allocations: 352.9 kB / 0.9943 GB, free: 14.12 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001968/0.338, allocations: 110.6 kB / 0.9944 GB, free: 14.02 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003216/0.3412, allocations: 1.115 MB / 0.9955 GB, free: 12.89 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.397e-05/0.3412, allocations: 8 kB / 0.9955 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.479e-06/0.3412, allocations: 0 / 0.9955 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.125e-05/0.3412, allocations: 7.984 kB / 0.9955 GB, free: 12.88 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005192/0.3464, allocations: 2.231 MB / 0.9977 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.805e-06/0.3465, allocations: 4 kB / 0.9977 GB, free: 10.56 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002489/0.3467, allocations: 68.17 kB / 0.9978 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001071/0.3478, allocations: 324.5 kB / 0.9981 GB, free: 10.17 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.717e-05/0.3479, allocations: 19.98 kB / 0.9981 GB, free: 10.15 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001559/0.3494, allocations: 0.9708 MB / 0.999 GB, free: 9.156 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.959e-06/0.3495, allocations: 3.984 kB / 0.999 GB, free: 9.152 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003743/0.3532, allocations: 1.35 MB / 1 GB, free: 7.711 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0007147/0.3539, allocations: 291.4 kB / 1.001 GB, free: 7.406 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001429/0.3541, allocations: 8 kB / 1.001 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008697/0.355, allocations: 103.9 kB / 1.001 GB, free: 7.297 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.665e-05/0.3551, allocations: 39.91 kB / 1.001 GB, free: 7.258 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.594e-05/0.3551, allocations: 23.98 kB / 1.001 GB, free: 7.234 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001239/0.3564, allocations: 0.7547 MB / 1.002 GB, free: 6.473 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.8e-07/0.3564, allocations: 3.938 kB / 1.002 GB, free: 6.469 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001566/0.358, allocations: 0.5692 MB / 1.002 GB, free: 5.898 MB / 0.6511 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (37): * Single equations (assignments): 32 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.004994/0.363, allocations: 2.787 MB / 1.005 GB, free: 3.027 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.003303/0.3663, allocations: 1.1 MB / 1.006 GB, free: 1.934 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 1.022e-05/0.3663, allocations: 4.25 kB / 1.006 GB, free: 1.93 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.0008624/0.3672, allocations: 350.8 kB / 1.006 GB, free: 1.586 MB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002759/0.37, allocations: 0.5155 MB / 1.007 GB, free: 1.066 MB / 0.6511 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00662/0.3766, allocations: 5.369 MB / 1.012 GB, free: 11.55 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008412/0.3775, allocations: 1.082 MB / 1.013 GB, free: 10.44 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.00129/0.3788, allocations: 226.6 kB / 1.013 GB, free: 10.21 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005488/0.3794, allocations: 411.3 kB / 1.014 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of SimCode: time 1.483e-06/0.3794, allocations: 0 / 1.014 GB, free: 9.812 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06262/0.442, allocations: 33.77 MB / 1.047 GB, free: 8.438 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002234/0.4423, allocations: 275.9 kB / 1.047 GB, free: 8.078 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.056/3.498, allocations: 3.938 kB / 1.047 GB, free: 8.074 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)