Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.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_reverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",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.000889/0.0008891, 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.005/0.005, 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.266/1.266, allocations: 205.4 MB / 222.5 MB, free: 5.551 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.669/1.669, allocations: 292.7 MB / 0.5502 GB, free: 14.44 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.0004678/0.0004679, allocations: 14.12 kB / 0.6744 GB, free: 25.7 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1738/0.1743, allocations: 116.3 MB / 0.788 GB, free: 11.47 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.05294/0.2273, allocations: 59.79 MB / 0.8464 GB, free: 15.47 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01432/0.2416, allocations: 11.86 MB / 0.858 GB, free: 3.586 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.0009188/0.2426, allocations: 51.62 kB / 0.858 GB, free: 3.535 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001194/0.2438, allocations: 0.5399 MB / 0.8585 GB, free: 2.992 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003342/0.2471, allocations: 1.796 MB / 0.8603 GB, free: 1.188 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002094/0.2492, allocations: 1.083 MB / 0.8613 GB, free: 116 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.0034/0.2526, allocations: 3.893 MB / 0.8651 GB, free: 12.21 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001095/0.2538, allocations: 0.9148 MB / 0.866 GB, free: 11.27 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001576/0.2553, allocations: 1.12 MB / 0.8671 GB, free: 10.14 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009416/0.2563, allocations: 0.871 MB / 0.868 GB, free: 9.266 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 9.967e-05/0.2564, allocations: 47.94 kB / 0.868 GB, free: 9.219 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001948/0.2584, allocations: 1.341 MB / 0.8693 GB, free: 7.875 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002015/0.2586, allocations: 214.9 kB / 0.8695 GB, free: 7.664 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005386/0.2591, allocations: 0.6466 MB / 0.8702 GB, free: 7.008 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002113/0.2612, allocations: 2.212 MB / 0.8723 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 2.595e-06/0.2613, allocations: 0 / 0.8723 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.132e-06/0.2613, allocations: 0 / 0.8723 GB, free: 4.789 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.054e-05/0.2613, allocations: 0 / 0.8723 GB, free: 4.789 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002472/0.2638, allocations: 1.505 MB / 0.8738 GB, free: 3.227 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.2638, allocations: 12.03 kB / 0.8738 GB, free: 3.215 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.000134/0.2639, allocations: 126.9 kB / 0.8739 GB, free: 3.082 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002653/0.2666, allocations: 0.5142 MB / 0.8744 GB, free: 2.566 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001921/0.2685, allocations: 1.144 MB / 0.8756 GB, free: 1.363 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003639/0.2689, allocations: 129.9 kB / 0.8757 GB, free: 1.238 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001228/0.269, allocations: 80 kB / 0.8758 GB, free: 1.16 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002163/0.2712, allocations: 1.033 MB / 0.8768 GB, free: 96 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.864e-05/0.2712, allocations: 4 kB / 0.8768 GB, free: 92 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.239e-05/0.2713, allocations: 28 kB / 0.8768 GB, free: 64 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.613e-05/0.2713, allocations: 20 kB / 0.8768 GB, free: 44 kB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00272/0.2741, allocations: 1.011 MB / 0.8778 GB, free: 15.04 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.005846/0.2799, allocations: 4.699 MB / 0.8824 GB, free: 9.988 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004485/0.2844, allocations: 1.121 MB / 0.8835 GB, free: 8.855 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001168/0.2856, allocations: 449.9 kB / 0.8839 GB, free: 8.414 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0009646/0.2866, allocations: 1.029 MB / 0.8849 GB, free: 7.164 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.316e-05/0.2866, allocations: 42.94 kB / 0.885 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=53): time 1.934e-06/0.2866, allocations: 0 / 0.885 GB, free: 7.113 MB / 0.7012 GB Notification: Performance of matching and sorting (n=53): time 0.008351/0.295, allocations: 2.151 MB / 0.8871 GB, free: 4.934 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.315e-05/0.295, allocations: 63.78 kB / 0.8871 GB, free: 4.855 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001099/0.2961, allocations: 0.9397 MB / 0.888 GB, free: 3.898 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 6.241e-05/0.2962, allocations: 37.7 kB / 0.8881 GB, free: 3.855 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000459/0.2967, allocations: 0.5118 MB / 0.8886 GB, free: 3.34 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001505/0.2968, allocations: 181.4 kB / 0.8887 GB, free: 3.16 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.161e-05/0.2969, allocations: 49.69 kB / 0.8888 GB, free: 3.105 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.0001294/0.2971, allocations: 330 kB / 0.8891 GB, free: 2.777 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001091/0.2982, allocations: 376.9 kB / 0.8895 GB, free: 2.41 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0013/0.2995, allocations: 0.5421 MB / 0.89 GB, free: 1.809 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.002171/0.3016, allocations: 0.8165 MB / 0.8908 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.725e-06/0.3017, allocations: 0 / 0.8908 GB, free: 0.9531 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003139/0.3048, allocations: 1.142 MB / 0.8919 GB, free: 15.8 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 9.924e-05/0.3049, allocations: 168.5 kB / 0.8921 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.021e-06/0.3049, allocations: 0 / 0.8921 GB, free: 15.6 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00127/0.3062, allocations: 327.5 kB / 0.8924 GB, free: 15.28 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007524/0.307, allocations: 147.8 kB / 0.8925 GB, free: 15.13 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001535/0.3085, allocations: 0.9463 MB / 0.8935 GB, free: 14.16 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001054/0.3096, allocations: 167.4 kB / 0.8936 GB, free: 14 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.884e-05/0.3097, allocations: 31.97 kB / 0.8936 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 8.185e-06/0.3097, allocations: 8 kB / 0.8936 GB, free: 13.96 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002976/0.3127, allocations: 1.002 MB / 0.8946 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.567e-06/0.3127, allocations: 4.031 kB / 0.8946 GB, free: 12.95 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001137/0.3138, allocations: 320.5 kB / 0.8949 GB, free: 12.63 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006376/0.3145, allocations: 143.8 kB / 0.8951 GB, free: 12.49 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001539/0.316, allocations: 0.9378 MB / 0.896 GB, free: 11.53 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001001/0.317, allocations: 170.7 kB / 0.8962 GB, free: 11.37 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.988e-05/0.3171, allocations: 27.98 kB / 0.8962 GB, free: 11.34 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 11 * 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.0004927/0.3176, allocations: 357 kB / 0.8965 GB, free: 10.98 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001524/0.3178, allocations: 110.6 kB / 0.8966 GB, free: 10.87 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003255/0.321, allocations: 1.225 MB / 0.8978 GB, free: 9.629 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.381e-05/0.3211, allocations: 11.98 kB / 0.8978 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.568e-06/0.3211, allocations: 0 / 0.8978 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.582e-06/0.3211, allocations: 0 / 0.8978 GB, free: 9.617 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.004476/0.3256, allocations: 2.319 MB / 0.9001 GB, free: 7.227 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.237e-06/0.3256, allocations: 11.98 kB / 0.9001 GB, free: 7.215 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005796/0.3262, allocations: 112 kB / 0.9002 GB, free: 7.105 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001025/0.3272, allocations: 320.5 kB / 0.9005 GB, free: 6.789 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.627e-05/0.3273, allocations: 23.98 kB / 0.9005 GB, free: 6.766 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001463/0.3287, allocations: 0.9691 MB / 0.9015 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.824e-06/0.3287, allocations: 0 / 0.9015 GB, free: 5.773 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003826/0.3326, allocations: 1.406 MB / 0.9029 GB, free: 4.328 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003668/0.333, allocations: 291.4 kB / 0.9031 GB, free: 4.023 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001246/0.3331, allocations: 19.92 kB / 0.9032 GB, free: 4.004 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009692/0.3341, allocations: 119.9 kB / 0.9033 GB, free: 3.887 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.253e-05/0.3342, allocations: 44.25 kB / 0.9033 GB, free: 3.844 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.468e-05/0.3342, allocations: 27.98 kB / 0.9033 GB, free: 3.816 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0008596/0.3351, allocations: 0.6638 MB / 0.904 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.5e-07/0.3351, allocations: 0 / 0.904 GB, free: 3.145 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001263/0.3364, allocations: 0.573 MB / 0.9046 GB, free: 2.57 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 (42): * Single equations (assignments): 38 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 3 * 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.003743/0.3401, allocations: 2.069 MB / 0.9066 GB, free: 464 kB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003758/0.3439, allocations: 1.397 MB / 0.9079 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.615e-06/0.3439, allocations: 0 / 0.9079 GB, free: 15.06 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.001263/0.3452, allocations: 492.8 kB / 0.9084 GB, free: 14.58 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002658/0.3478, allocations: 0.5016 MB / 0.9089 GB, free: 14.08 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01712/0.365, allocations: 9.191 MB / 0.9179 GB, free: 4.52 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005847/0.3656, allocations: 1.074 MB / 0.9189 GB, free: 3.418 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0009167/0.3665, allocations: 235.9 kB / 0.9191 GB, free: 3.188 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0005513/0.367, allocations: 419.3 kB / 0.9195 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of SimCode: time 3.41e-07/0.3671, allocations: 0 / 0.9195 GB, free: 2.777 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.07/1.437, allocations: 31.83 MB / 0.9506 GB, free: 124.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002161/1.437, allocations: 282.8 kB / 0.9509 GB, free: 124.1 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.488/3.925, allocations: 0 / 0.9509 GB, free: 124.1 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)