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_reverseFlow.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_reverseFlow,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="Buildings_maint_7_0_x_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/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.468/1.468, allocations: 251.9 MB / 266.9 MB, free: 11.05 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.001113/0.001113, allocations: 178.3 kB / 326.5 MB, free: 2.25 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.75/1.75, allocations: 205.4 MB / 0.5775 GB, free: 20.23 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.001087/0.001087, allocations: 87.41 kB / 0.6821 GB, free: 12.89 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003873/0.0003876, allocations: 11.88 kB / 0.7963 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.216/0.2164, allocations: 106.3 MB / 0.9001 GB, free: 63.86 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow): time 0.03638/0.2528, allocations: 51.34 MB / 0.9503 GB, free: 12.38 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01159/0.2645, allocations: 10.21 MB / 0.9603 GB, free: 2.148 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002183/0.2667, allocations: 47.62 kB / 0.9603 GB, free: 2.102 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.002025/0.2687, allocations: 0.6257 MB / 0.9609 GB, free: 1.473 MB / 0.6042 GB Notification: Performance of NFTyping.typeBindings: time 0.006646/0.2754, allocations: 1.901 MB / 0.9628 GB, free: 15.57 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.004064/0.2795, allocations: 1.238 MB / 0.964 GB, free: 14.35 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.003853/0.2834, allocations: 1.855 MB / 0.9658 GB, free: 12.49 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001445/0.2848, allocations: 0.8225 MB / 0.9666 GB, free: 11.64 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002409/0.2872, allocations: 0.973 MB / 0.9675 GB, free: 10.66 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001178/0.2884, allocations: 0.6144 MB / 0.9681 GB, free: 10.05 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.000112/0.2886, allocations: 44 kB / 0.9682 GB, free: 10 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002366/0.2909, allocations: 0.9907 MB / 0.9692 GB, free: 9.012 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002344/0.2912, allocations: 199.1 kB / 0.9693 GB, free: 8.816 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0004457/0.2916, allocations: 285 kB / 0.9696 GB, free: 8.531 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002216/0.2939, allocations: 1.586 MB / 0.9712 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of FrontEnd - DAE generated: time 3.567e-06/0.2939, allocations: 0 / 0.9712 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of FrontEnd: time 1.703e-06/0.2939, allocations: 0 / 0.9712 GB, free: 6.938 MB / 0.6198 GB Notification: Performance of Transformations before backend: time 1.496e-05/0.2939, allocations: 0 / 0.9712 GB, free: 6.938 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.002863/0.2968, allocations: 1.501 MB / 0.9726 GB, free: 5.379 MB / 0.6198 GB Notification: Performance of prepare preOptimizeDAE: time 4.435e-05/0.2968, allocations: 8.031 kB / 0.9726 GB, free: 5.371 MB / 0.6198 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001646/0.297, allocations: 126.8 kB / 0.9728 GB, free: 5.238 MB / 0.6198 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002509/0.2995, allocations: 0.5135 MB / 0.9733 GB, free: 4.723 MB / 0.6198 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002048/0.3016, allocations: 1.07 MB / 0.9743 GB, free: 3.594 MB / 0.6198 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003756/0.302, allocations: 133.9 kB / 0.9744 GB, free: 3.465 MB / 0.6198 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001619/0.3021, allocations: 84 kB / 0.9745 GB, free: 3.383 MB / 0.6198 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002426/0.3046, allocations: 1.029 MB / 0.9755 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.966e-05/0.3046, allocations: 0 / 0.9755 GB, free: 2.32 MB / 0.6198 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.077e-05/0.3047, allocations: 32 kB / 0.9755 GB, free: 2.289 MB / 0.6198 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.075e-05/0.3047, allocations: 16 kB / 0.9756 GB, free: 2.273 MB / 0.6198 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002834/0.3076, allocations: 1.003 MB / 0.9765 GB, free: 1.27 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.007529/0.3151, allocations: 4.719 MB / 0.9812 GB, free: 12.2 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004224/0.3194, allocations: 1.13 MB / 0.9823 GB, free: 11.07 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000978/0.3204, allocations: 1.021 MB / 0.9833 GB, free: 9.824 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.856e-05/0.3204, allocations: 42.94 kB / 0.9833 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=53): time 2.434e-06/0.3204, allocations: 0 / 0.9833 GB, free: 9.773 MB / 0.6355 GB Notification: Performance of matching and sorting (n=53): time 0.008056/0.3285, allocations: 2.147 MB / 0.9854 GB, free: 7.598 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.625e-05/0.3286, allocations: 59.78 kB / 0.9854 GB, free: 7.527 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001442/0.33, allocations: 0.9475 MB / 0.9864 GB, free: 6.562 MB / 0.6355 GB Notification: Performance of collectPreVariables (initialization): time 9.255e-05/0.3301, allocations: 37.7 kB / 0.9864 GB, free: 6.52 MB / 0.6355 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004537/0.3306, allocations: 0.5079 MB / 0.9869 GB, free: 6.008 MB / 0.6355 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001986/0.3308, allocations: 185.4 kB / 0.9871 GB, free: 5.824 MB / 0.6355 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.737e-05/0.3308, allocations: 8 kB / 0.9871 GB, free: 5.816 MB / 0.6355 GB Notification: Performance of setup shared object (initialization): time 0.0001503/0.331, allocations: 326 kB / 0.9874 GB, free: 5.492 MB / 0.6355 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001066/0.3321, allocations: 368.9 kB / 0.9878 GB, free: 5.133 MB / 0.6355 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001189/0.3333, allocations: 0.5303 MB / 0.9883 GB, free: 4.539 MB / 0.6355 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001077/0.3344, allocations: 398 kB / 0.9886 GB, free: 4.148 MB / 0.6355 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.373e-06/0.3344, allocations: 4 kB / 0.9887 GB, free: 4.145 MB / 0.6355 GB Notification: Performance of matching and sorting (n=68) (initialization): time 0.002988/0.3374, allocations: 1.119 MB / 0.9897 GB, free: 3.016 MB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004041/0.3378, allocations: 0.9694 MB / 0.9907 GB, free: 1.977 MB / 0.6355 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.096e-05/0.3378, allocations: 4 kB / 0.9907 GB, free: 1.973 MB / 0.6355 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001354/0.3392, allocations: 328.6 kB / 0.991 GB, free: 1.648 MB / 0.6355 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00065/0.3398, allocations: 147.8 kB / 0.9911 GB, free: 1.504 MB / 0.6355 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001484/0.3413, allocations: 0.9288 MB / 0.9921 GB, free: 0.5508 MB / 0.6355 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001285/0.3426, allocations: 187.2 kB / 0.9922 GB, free: 376 kB / 0.6355 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.428e-05/0.3427, allocations: 27.98 kB / 0.9923 GB, free: 348 kB / 0.6355 GB Notification: Performance of prepare postOptimizeDAE: time 1.072e-05/0.3427, allocations: 4 kB / 0.9923 GB, free: 344 kB / 0.6355 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002702/0.3455, allocations: 0.9859 MB / 0.9932 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.97e-06/0.3455, allocations: 0 / 0.9932 GB, free: 15.34 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001126/0.3466, allocations: 320.9 kB / 0.9935 GB, free: 15.03 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006046/0.3472, allocations: 143.8 kB / 0.9937 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001452/0.3487, allocations: 0.9362 MB / 0.9946 GB, free: 13.93 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001266/0.35, allocations: 171.2 kB / 0.9947 GB, free: 13.76 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.848e-05/0.3501, allocations: 31.97 kB / 0.9948 GB, free: 13.73 MB / 0.6511 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 (54): * Single equations (assignments): 53 * 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.0005864/0.3507, allocations: 354.5 kB / 0.9951 GB, free: 13.37 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002692/0.351, allocations: 106.7 kB / 0.9952 GB, free: 13.27 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003237/0.3542, allocations: 1.218 MB / 0.9964 GB, free: 12.04 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.579e-05/0.3542, allocations: 7.953 kB / 0.9964 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.77e-06/0.3542, allocations: 0 / 0.9964 GB, free: 12.03 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.07e-05/0.3543, allocations: 7.984 kB / 0.9964 GB, free: 12.02 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00488/0.3591, allocations: 2.323 MB / 0.9987 GB, free: 9.621 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.837e-06/0.3592, allocations: 4 kB / 0.9987 GB, free: 9.617 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005523/0.3597, allocations: 120 kB / 0.9988 GB, free: 9.5 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001089/0.3608, allocations: 327.1 kB / 0.9991 GB, free: 9.18 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.925e-05/0.3609, allocations: 19.98 kB / 0.9991 GB, free: 9.16 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001615/0.3625, allocations: 0.962 MB / 1 GB, free: 8.172 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.405e-06/0.3625, allocations: 4.031 kB / 1 GB, free: 8.168 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00396/0.3665, allocations: 1.472 MB / 1.002 GB, free: 6.629 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006717/0.3672, allocations: 299.4 kB / 1.002 GB, free: 6.316 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002261/0.3674, allocations: 16 kB / 1.002 GB, free: 6.301 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001087/0.3685, allocations: 131.7 kB / 1.002 GB, free: 6.172 MB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.656e-05/0.3686, allocations: 36.38 kB / 1.002 GB, free: 6.133 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.005e-05/0.3687, allocations: 23.98 kB / 1.002 GB, free: 6.109 MB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001102/0.3698, allocations: 0.6678 MB / 1.003 GB, free: 5.434 MB / 0.6511 GB Notification: Performance of sort global known variables: time 1.6e-07/0.3698, allocations: 4 kB / 1.003 GB, free: 5.43 MB / 0.6511 GB Notification: Performance of remove unused functions: time 0.001757/0.3716, allocations: 0.5613 MB / 1.003 GB, free: 4.867 MB / 0.6511 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 (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.004238/0.3758, allocations: 2.538 MB / 1.006 GB, free: 2.266 MB / 0.6511 GB Notification: Performance of simCode: created initialization part: time 0.00389/0.3797, allocations: 1.366 MB / 1.007 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3798, allocations: 0 / 1.007 GB, free: 0.9023 MB / 0.6511 GB Notification: Performance of simCode: created simulation system equations: time 0.001254/0.381, allocations: 488.8 kB / 1.007 GB, free: 436 kB / 0.6511 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002584/0.3836, allocations: 0.5043 MB / 1.008 GB, free: 15.92 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006669/0.3903, allocations: 4.659 MB / 1.013 GB, free: 11.14 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0009188/0.3913, allocations: 1.097 MB / 1.014 GB, free: 10.02 MB / 0.6667 GB Notification: Performance of simCode: alias equations: time 0.001352/0.3926, allocations: 236.4 kB / 1.014 GB, free: 9.785 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.00068/0.3933, allocations: 415.3 kB / 1.014 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of SimCode: time 1.173e-06/0.3934, allocations: 0 / 1.014 GB, free: 9.379 MB / 0.6667 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06277/0.4561, allocations: 32.97 MB / 1.046 GB, free: 8.809 MB / 0.698 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002259/0.4564, allocations: 268.3 kB / 1.047 GB, free: 8.449 MB / 0.698 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.162/3.618, allocations: 0 / 1.047 GB, free: 8.449 MB / 0.698 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)