Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.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_HighTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature,fileNamePrefix="Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature",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.0009899/0.0009899, allocations: 89.97 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.004961/0.004962, allocations: 175.8 kB / 16.27 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.326/1.326, allocations: 205.4 MB / 222.4 MB, free: 5.559 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.654/1.654, allocations: 292.7 MB / 0.5502 GB, free: 14.45 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.000486/0.0004861, allocations: 12.84 kB / 0.6744 GB, free: 25.75 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1843/0.1848, allocations: 116.3 MB / 0.788 GB, free: 11.46 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature): time 0.05072/0.2356, allocations: 59.82 MB / 0.8464 GB, free: 15.43 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.01389/0.2495, allocations: 11.85 MB / 0.858 GB, free: 3.543 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001415/0.2509, allocations: 51.62 kB / 0.858 GB, free: 3.492 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.001372/0.2523, allocations: 0.5477 MB / 0.8586 GB, free: 2.941 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.003888/0.2562, allocations: 1.791 MB / 0.8603 GB, free: 1.145 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.002307/0.2585, allocations: 1.102 MB / 0.8614 GB, free: 52 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003449/0.262, allocations: 3.905 MB / 0.8652 GB, free: 12.13 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001049/0.263, allocations: 0.8954 MB / 0.8661 GB, free: 11.21 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001618/0.2647, allocations: 1.131 MB / 0.8672 GB, free: 10.07 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0009279/0.2656, allocations: 0.8826 MB / 0.8681 GB, free: 9.184 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 9.834e-05/0.2657, allocations: 44 kB / 0.8681 GB, free: 9.141 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002029/0.2677, allocations: 1.333 MB / 0.8694 GB, free: 7.805 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0001938/0.268, allocations: 218.9 kB / 0.8696 GB, free: 7.59 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.0005236/0.2685, allocations: 0.6349 MB / 0.8702 GB, free: 6.945 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.002058/0.2705, allocations: 2.224 MB / 0.8724 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 3.456e-06/0.2706, allocations: 0 / 0.8724 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.292e-06/0.2706, allocations: 0 / 0.8724 GB, free: 4.715 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 1.078e-05/0.2706, allocations: 0 / 0.8724 GB, free: 4.715 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.002435/0.273, allocations: 1.528 MB / 0.8739 GB, free: 3.129 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 3.516e-05/0.2731, allocations: 8.031 kB / 0.8739 GB, free: 3.121 MB / 0.6856 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001296/0.2732, allocations: 123 kB / 0.874 GB, free: 2.992 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002145/0.2754, allocations: 478.6 kB / 0.8745 GB, free: 2.523 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001779/0.2771, allocations: 1.144 MB / 0.8756 GB, free: 1.32 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003617/0.2775, allocations: 121.9 kB / 0.8757 GB, free: 1.203 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001188/0.2776, allocations: 84 kB / 0.8758 GB, free: 1.121 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002016/0.2797, allocations: 1.035 MB / 0.8768 GB, free: 48 kB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.721e-05/0.2797, allocations: 0 / 0.8768 GB, free: 48 kB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.999e-05/0.2798, allocations: 32 kB / 0.8768 GB, free: 16 kB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.821e-05/0.2798, allocations: 23.98 kB / 0.8768 GB, free: 15.99 MB / 0.7012 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002507/0.2823, allocations: 0.964 MB / 0.8778 GB, free: 15.03 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.005675/0.288, allocations: 4.638 MB / 0.8823 GB, free: 10.08 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003691/0.2917, allocations: 0.9466 MB / 0.8832 GB, free: 9.125 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008577/0.2926, allocations: 357.9 kB / 0.8836 GB, free: 8.773 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005404/0.2931, allocations: 0.9068 MB / 0.8845 GB, free: 7.664 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.617e-05/0.2932, allocations: 46.94 kB / 0.8845 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=48): time 1.713e-06/0.2932, allocations: 0 / 0.8845 GB, free: 7.609 MB / 0.7012 GB Notification: Performance of matching and sorting (n=48): time 0.006666/0.2999, allocations: 1.912 MB / 0.8864 GB, free: 5.668 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.127e-05/0.2999, allocations: 59.78 kB / 0.8864 GB, free: 5.594 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001357/0.3013, allocations: 1.064 MB / 0.8875 GB, free: 4.516 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 5.193e-05/0.3013, allocations: 41.64 kB / 0.8875 GB, free: 4.469 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.000371/0.3017, allocations: 0.5236 MB / 0.888 GB, free: 3.941 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001216/0.3018, allocations: 165.6 kB / 0.8882 GB, free: 3.777 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.005e-05/0.3019, allocations: 49.69 kB / 0.8882 GB, free: 3.723 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 9.379e-05/0.302, allocations: 330 kB / 0.8885 GB, free: 3.395 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001008/0.303, allocations: 360.9 kB / 0.8889 GB, free: 3.043 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001134/0.3042, allocations: 0.5508 MB / 0.8894 GB, free: 2.414 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001847/0.306, allocations: 0.7723 MB / 0.8902 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.498e-06/0.306, allocations: 4 kB / 0.8902 GB, free: 1.586 MB / 0.7012 GB Notification: Performance of matching and sorting (n=70) (initialization): time 0.003708/0.3098, allocations: 1.284 MB / 0.8914 GB, free: 300 kB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001057/0.3099, allocations: 205.3 kB / 0.8916 GB, free: 40 kB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.536e-06/0.3099, allocations: 4 kB / 0.8916 GB, free: 36 kB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00122/0.3111, allocations: 336.6 kB / 0.892 GB, free: 15.7 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005962/0.3117, allocations: 143.8 kB / 0.8921 GB, free: 15.56 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001434/0.3132, allocations: 0.9447 MB / 0.893 GB, free: 14.59 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001252/0.3144, allocations: 199.2 kB / 0.8932 GB, free: 14.4 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.379e-05/0.3145, allocations: 27.98 kB / 0.8932 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 5.971e-06/0.3145, allocations: 4 kB / 0.8932 GB, free: 14.37 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00341/0.3179, allocations: 1.143 MB / 0.8944 GB, free: 13.22 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.57e-06/0.318, allocations: 4 kB / 0.8944 GB, free: 13.21 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001027/0.319, allocations: 332.9 kB / 0.8947 GB, free: 12.89 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005685/0.3196, allocations: 143.8 kB / 0.8948 GB, free: 12.75 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001344/0.3209, allocations: 0.9386 MB / 0.8957 GB, free: 11.78 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001052/0.322, allocations: 178.6 kB / 0.8959 GB, free: 11.61 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.477e-05/0.3221, allocations: 31.98 kB / 0.8959 GB, free: 11.58 MB / 0.7169 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (56): * Single equations (assignments): 55 * 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.0004062/0.3225, allocations: 349 kB / 0.8963 GB, free: 11.23 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001425/0.3226, allocations: 118.5 kB / 0.8964 GB, free: 11.11 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002541/0.3252, allocations: 1.078 MB / 0.8974 GB, free: 10.02 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.243e-05/0.3252, allocations: 8 kB / 0.8974 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.268e-06/0.3252, allocations: 0 / 0.8974 GB, free: 10.01 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.703e-06/0.3252, allocations: 3.984 kB / 0.8974 GB, free: 10 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005068/0.3303, allocations: 2.37 MB / 0.8998 GB, free: 7.555 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.562e-06/0.3303, allocations: 4.266 kB / 0.8998 GB, free: 7.551 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003435/0.3307, allocations: 91.88 kB / 0.8998 GB, free: 7.461 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0009812/0.3316, allocations: 331.7 kB / 0.9002 GB, free: 7.137 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.398e-05/0.3317, allocations: 15.98 kB / 0.9002 GB, free: 7.121 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001427/0.3331, allocations: 0.9776 MB / 0.9011 GB, free: 6.117 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.45e-06/0.3331, allocations: 7.969 kB / 0.9011 GB, free: 6.109 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003834/0.337, allocations: 1.349 MB / 0.9025 GB, free: 4.703 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003254/0.3373, allocations: 287.4 kB / 0.9027 GB, free: 4.402 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001207/0.3374, allocations: 12 kB / 0.9027 GB, free: 4.391 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009156/0.3384, allocations: 127.7 kB / 0.9029 GB, free: 4.266 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.934e-05/0.3385, allocations: 47.2 kB / 0.9029 GB, free: 4.223 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.3385, allocations: 27.98 kB / 0.9029 GB, free: 4.195 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.0009956/0.3395, allocations: 0.7473 MB / 0.9037 GB, free: 3.441 MB / 0.7169 GB Notification: Performance of sort global known variables: time 2.3e-07/0.3395, allocations: 4 kB / 0.9037 GB, free: 3.438 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001275/0.3408, allocations: 0.5692 MB / 0.9042 GB, free: 2.867 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 (38): * Single equations (assignments): 33 * 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 {(2,15)} Notification: Performance of Backend phase and start with SimCode phase: time 0.004603/0.3454, allocations: 2.164 MB / 0.9063 GB, free: 0.6562 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003232/0.3487, allocations: 1.276 MB / 0.9076 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created event and clocks part: time 2.805e-06/0.3487, allocations: 0 / 0.9076 GB, free: 15.39 MB / 0.7325 GB Notification: Performance of simCode: created simulation system equations: time 0.0009956/0.3497, allocations: 429.1 kB / 0.908 GB, free: 14.96 MB / 0.7325 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002647/0.3523, allocations: 0.5325 MB / 0.9085 GB, free: 14.44 MB / 0.7325 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01968/0.372, allocations: 9.837 MB / 0.9181 GB, free: 4.168 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005335/0.3726, allocations: 1.066 MB / 0.9192 GB, free: 3.074 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.0008541/0.3734, allocations: 236.1 kB / 0.9194 GB, free: 2.844 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004979/0.3739, allocations: 423.3 kB / 0.9198 GB, free: 2.43 MB / 0.7325 GB Notification: Performance of SimCode: time 8.01e-07/0.3739, allocations: 4 kB / 0.9198 GB, free: 2.426 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.5297/0.9036, allocations: 33.03 MB / 0.9521 GB, free: 123.4 MB / 0.7325 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002158/0.9039, allocations: 289.2 kB / 0.9523 GB, free: 123 MB / 0.7325 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.873/3.777, allocations: 4 kB / 0.9523 GB, free: 123 MB / 0.7325 GB (rm -f Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_8_Buildings_Fluid_Chillers_Validation_Carnot_TEva_HighTemperature.fmu > Buildings_8_Buildings.Fluid.Chillers.Validation.Carnot_TEva_HighTemperature.pipe 2>&1)