Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity,fileNamePrefix="Buildings_8_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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008237/0.0008238, allocations: 91.84 kB / 15.36 MB, free: 0.7383 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.004797/0.004797, allocations: 170 kB / 16.26 MB, free: 6.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.333/1.333, allocations: 205.4 MB / 222.4 MB, free: 5.566 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.598/1.598, allocations: 292.7 MB / 0.5502 GB, free: 14.46 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004766/0.0004766, allocations: 16.75 kB / 0.6744 GB, free: 25.69 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.17/0.1704, allocations: 116.3 MB / 0.788 GB, free: 11.51 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity): time 0.05104/0.2215, allocations: 59.79 MB / 0.8464 GB, free: 15.51 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01348/0.235, allocations: 11.84 MB / 0.8579 GB, free: 3.648 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0012/0.2363, allocations: 51.62 kB / 0.858 GB, free: 3.598 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.00127/0.2375, allocations: 0.5438 MB / 0.8585 GB, free: 3.051 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.00357/0.2411, allocations: 1.792 MB / 0.8603 GB, free: 1.254 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002219/0.2434, allocations: 1.089 MB / 0.8613 GB, free: 176 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003462/0.2468, allocations: 3.89 MB / 0.8651 GB, free: 12.27 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001067/0.2479, allocations: 0.8941 MB / 0.866 GB, free: 11.34 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00162/0.2495, allocations: 1.124 MB / 0.8671 GB, free: 10.21 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009073/0.2505, allocations: 0.8631 MB / 0.8679 GB, free: 9.348 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001025/0.2506, allocations: 44 kB / 0.868 GB, free: 9.305 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002041/0.2526, allocations: 1.353 MB / 0.8693 GB, free: 7.949 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001968/0.2528, allocations: 218.9 kB / 0.8695 GB, free: 7.734 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005186/0.2533, allocations: 0.6272 MB / 0.8701 GB, free: 7.098 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002054/0.2554, allocations: 2.216 MB / 0.8723 GB, free: 4.875 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 5.621e-06/0.2554, allocations: 4 kB / 0.8723 GB, free: 4.871 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.353e-06/0.2554, allocations: 3.938 kB / 0.8723 GB, free: 4.867 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.057e-05/0.2554, allocations: 0 / 0.8723 GB, free: 4.867 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.002361/0.2578, allocations: 1.497 MB / 0.8738 GB, free: 3.312 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.485e-05/0.2579, allocations: 12.03 kB / 0.8738 GB, free: 3.301 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001247/0.258, allocations: 122.9 kB / 0.8739 GB, free: 3.172 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001554/0.2595, allocations: 390.7 kB / 0.8743 GB, free: 2.789 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001738/0.2613, allocations: 1.128 MB / 0.8754 GB, free: 1.602 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.000349/0.2617, allocations: 129.9 kB / 0.8755 GB, free: 1.477 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001107/0.2618, allocations: 83.94 kB / 0.8756 GB, free: 1.395 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00173/0.2635, allocations: 0.9722 MB / 0.8765 GB, free: 392 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.568e-05/0.2635, allocations: 0 / 0.8765 GB, free: 392 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.197e-05/0.2636, allocations: 36 kB / 0.8765 GB, free: 356 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.684e-05/0.2636, allocations: 20 kB / 0.8766 GB, free: 336 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001975/0.2656, allocations: 0.8548 MB / 0.8774 GB, free: 15.48 MB / 0.7012 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.005438/0.2711, allocations: 4.54 MB / 0.8818 GB, free: 10.62 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001602/0.2727, allocations: 0.6409 MB / 0.8825 GB, free: 9.98 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006465/0.2733, allocations: 306 kB / 0.8828 GB, free: 9.676 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001278/0.2746, allocations: 1.389 MB / 0.8841 GB, free: 7.992 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.337e-05/0.2747, allocations: 42.94 kB / 0.8841 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 1.723e-06/0.2747, allocations: 0 / 0.8841 GB, free: 7.941 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.007015/0.2817, allocations: 1.897 MB / 0.886 GB, free: 6.016 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.2817, allocations: 59.84 kB / 0.8861 GB, free: 5.945 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001337/0.2831, allocations: 1.063 MB / 0.8871 GB, free: 4.867 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.987e-05/0.2832, allocations: 37.7 kB / 0.8871 GB, free: 4.824 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003927/0.2836, allocations: 0.5236 MB / 0.8876 GB, free: 4.297 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001234/0.2837, allocations: 161.6 kB / 0.8878 GB, free: 4.137 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 7.634e-05/0.2838, allocations: 57.62 kB / 0.8879 GB, free: 4.074 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001115/0.2839, allocations: 329.9 kB / 0.8882 GB, free: 3.746 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007914/0.2847, allocations: 296.9 kB / 0.8884 GB, free: 3.453 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009242/0.2856, allocations: 0.4984 MB / 0.8889 GB, free: 2.879 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001436/0.2871, allocations: 0.6699 MB / 0.8896 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.166e-06/0.2871, allocations: 0 / 0.8896 GB, free: 2.16 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.002343/0.2894, allocations: 1.007 MB / 0.8906 GB, free: 1.145 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001094/0.2895, allocations: 192.2 kB / 0.8908 GB, free: 0.9062 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.658e-06/0.2896, allocations: 7.938 kB / 0.8908 GB, free: 0.8984 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001221/0.2908, allocations: 336.5 kB / 0.8911 GB, free: 0.5664 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004667/0.2913, allocations: 127.8 kB / 0.8912 GB, free: 452 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001427/0.2927, allocations: 0.9348 MB / 0.8921 GB, free: 15.48 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001109/0.2938, allocations: 183.3 kB / 0.8923 GB, free: 15.3 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.031e-05/0.2939, allocations: 27.98 kB / 0.8923 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 6.543e-06/0.2939, allocations: 4 kB / 0.8923 GB, free: 15.27 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002185/0.2961, allocations: 0.8737 MB / 0.8932 GB, free: 14.39 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.73e-06/0.2961, allocations: 4 kB / 0.8932 GB, free: 14.38 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001031/0.2971, allocations: 324.8 kB / 0.8935 GB, free: 14.06 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004479/0.2976, allocations: 123.7 kB / 0.8936 GB, free: 13.94 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001357/0.299, allocations: 0.9417 MB / 0.8945 GB, free: 12.98 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009254/0.2999, allocations: 158.1 kB / 0.8947 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.848e-05/0.3, allocations: 31.98 kB / 0.8947 GB, free: 12.79 MB / 0.7169 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 (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,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0004058/0.3004, allocations: 349 kB / 0.895 GB, free: 12.44 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000146/0.3005, allocations: 114.6 kB / 0.8952 GB, free: 12.33 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00297/0.3035, allocations: 1.131 MB / 0.8963 GB, free: 11.19 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.038e-05/0.3035, allocations: 4 kB / 0.8963 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.727e-06/0.3036, allocations: 0 / 0.8963 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.296e-06/0.3036, allocations: 3.984 kB / 0.8963 GB, free: 11.18 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004727/0.3083, allocations: 2.22 MB / 0.8984 GB, free: 8.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.414e-06/0.3083, allocations: 8 kB / 0.8984 GB, free: 8.871 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002244/0.3085, allocations: 64.19 kB / 0.8985 GB, free: 8.809 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000966/0.3095, allocations: 328.4 kB / 0.8988 GB, free: 8.484 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.678e-05/0.3096, allocations: 19.98 kB / 0.8988 GB, free: 8.465 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001428/0.311, allocations: 0.9638 MB / 0.8998 GB, free: 7.48 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.997e-06/0.311, allocations: 4.031 kB / 0.8998 GB, free: 7.477 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003427/0.3144, allocations: 1.25 MB / 0.901 GB, free: 6.176 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003454/0.3148, allocations: 283.3 kB / 0.9013 GB, free: 5.879 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001125/0.3149, allocations: 16 kB / 0.9013 GB, free: 5.863 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007899/0.3157, allocations: 99.91 kB / 0.9014 GB, free: 5.766 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.491e-05/0.3158, allocations: 39.83 kB / 0.9014 GB, free: 5.727 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.695e-05/0.3159, allocations: 27.97 kB / 0.9014 GB, free: 5.699 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001045/0.3169, allocations: 0.743 MB / 0.9022 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.41e-07/0.3169, allocations: 0 / 0.9022 GB, free: 4.949 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001296/0.3182, allocations: 0.577 MB / 0.9027 GB, free: 4.371 MB / 0.7169 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 (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,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.00425/0.3225, allocations: 2.072 MB / 0.9048 GB, free: 2.246 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.002692/0.3252, allocations: 1.104 MB / 0.9058 GB, free: 1.145 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.3252, allocations: 3.938 kB / 0.9058 GB, free: 1.141 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0007805/0.326, allocations: 355.3 kB / 0.9062 GB, free: 0.793 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002642/0.3286, allocations: 0.5261 MB / 0.9067 GB, free: 276 kB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01701/0.3457, allocations: 9.19 MB / 0.9157 GB, free: 6.645 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005738/0.3463, allocations: 1.066 MB / 0.9167 GB, free: 5.551 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008979/0.3472, allocations: 227.5 kB / 0.9169 GB, free: 5.328 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004868/0.3477, allocations: 407.3 kB / 0.9173 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of SimCode: time 8.42e-07/0.3477, allocations: 0 / 0.9173 GB, free: 4.93 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.143/1.491, allocations: 32.98 MB / 0.9495 GB, free: 124.2 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001922/1.491, allocations: 282.5 kB / 0.9498 GB, free: 123.9 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.491/3.982, allocations: 0 / 0.9498 GB, free: 123.9 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_LimitedCapacity.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_LimitedCapacity.pipe 2>&1)