Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.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.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser,fileNamePrefix="Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser",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.449/1.449, allocations: 252 MB / 267 MB, free: 10.97 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.001077/0.001078, allocations: 181.4 kB / 326.6 MB, free: 2.215 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.809/1.809, allocations: 205.4 MB / 0.5777 GB, free: 20.28 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.0009164/0.0009165, allocations: 87.69 kB / 0.6822 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003633/0.0003633, allocations: 10.25 kB / 0.7965 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2454/0.2458, allocations: 106.3 MB / 0.9003 GB, free: 63.81 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser): time 0.02512/0.271, allocations: 33.03 MB / 0.9326 GB, free: 30.68 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.009026/0.2801, allocations: 7.433 MB / 0.9398 GB, free: 23.23 MB / 0.6042 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.001281/0.2814, allocations: 27.88 kB / 0.9398 GB, free: 23.21 MB / 0.6042 GB Notification: Performance of NFTyping.typeComponents: time 0.0009726/0.2824, allocations: 306.1 kB / 0.9401 GB, free: 22.91 MB / 0.6042 GB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:788:36-789:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:786:36-787:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:734:36-735:54:writable] Warning: 'each' used when modifying non-array element m_flow. [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Fluid/Sources.mo:732:36-733:54:writable] Warning: 'each' used when modifying non-array element m_flow. Notification: Performance of NFTyping.typeBindings: time 0.003365/0.2858, allocations: 1.123 MB / 0.9412 GB, free: 21.78 MB / 0.6042 GB Notification: Performance of NFTyping.typeClassSections: time 0.002478/0.2882, allocations: 0.804 MB / 0.942 GB, free: 20.99 MB / 0.6042 GB Notification: Performance of NFFlatten.flatten: time 0.002823/0.2911, allocations: 2.404 MB / 0.9444 GB, free: 18.57 MB / 0.6042 GB Notification: Performance of NFFlatten.resolveConnections: time 0.0008533/0.2919, allocations: 0.531 MB / 0.9449 GB, free: 18.04 MB / 0.6042 GB Notification: Performance of NFEvalConstants.evaluate: time 0.001507/0.2935, allocations: 0.7116 MB / 0.9456 GB, free: 17.32 MB / 0.6042 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0007646/0.2942, allocations: 0.56 MB / 0.9461 GB, free: 16.76 MB / 0.6042 GB Notification: Performance of NFPackage.collectConstants: time 8.819e-05/0.2943, allocations: 32 kB / 0.9462 GB, free: 16.73 MB / 0.6042 GB Notification: Performance of NFFlatten.collectFunctions: time 0.001579/0.2959, allocations: 0.5762 MB / 0.9467 GB, free: 16.15 MB / 0.6042 GB Notification: Performance of NFScalarize.scalarize: time 0.0001533/0.2961, allocations: 139.4 kB / 0.9468 GB, free: 16.02 MB / 0.6042 GB Notification: Performance of NFVerifyModel.verify: time 0.0002231/0.2963, allocations: 197.3 kB / 0.947 GB, free: 15.82 MB / 0.6042 GB Notification: Performance of NFConvertDAE.convert: time 0.001108/0.2974, allocations: 1.084 MB / 0.9481 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 8.205e-06/0.2975, allocations: 0 / 0.9481 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.084e-06/0.2975, allocations: 0 / 0.9481 GB, free: 14.73 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 1.116e-05/0.2975, allocations: 0 / 0.9481 GB, free: 14.73 MB / 0.6042 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 145 * Number of variables: 145 Notification: Performance of Generate backend data structure: time 0.001833/0.2993, allocations: 1.061 MB / 0.9491 GB, free: 13.61 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.983e-05/0.2994, allocations: 8.031 kB / 0.9491 GB, free: 13.6 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001262/0.2995, allocations: 102.5 kB / 0.9492 GB, free: 13.49 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002369/0.3019, allocations: 306.7 kB / 0.9495 GB, free: 13.19 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.001308/0.3032, allocations: 0.7221 MB / 0.9502 GB, free: 12.43 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.006e-05/0.3033, allocations: 41.31 kB / 0.9503 GB, free: 12.39 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.565e-05/0.3034, allocations: 59.98 kB / 0.9503 GB, free: 12.33 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001682/0.3051, allocations: 0.7953 MB / 0.9511 GB, free: 11.48 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.761e-05/0.3051, allocations: 7.938 kB / 0.9511 GB, free: 11.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.883e-05/0.3052, allocations: 28 kB / 0.9511 GB, free: 11.45 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.187e-05/0.3052, allocations: 16 kB / 0.9512 GB, free: 11.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001879/0.3071, allocations: 0.6295 MB / 0.9518 GB, free: 10.8 MB / 0.6042 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.004006/0.3111, allocations: 3.95 MB / 0.9556 GB, free: 6.559 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001721/0.3129, allocations: 466.7 kB / 0.9561 GB, free: 6.094 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000749/0.3136, allocations: 216.7 kB / 0.9563 GB, free: 5.879 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005877/0.3142, allocations: 0.5299 MB / 0.9568 GB, free: 5.238 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.861e-05/0.3143, allocations: 46.44 kB / 0.9568 GB, free: 5.184 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=26): time 3.066e-06/0.3143, allocations: 0 / 0.9568 GB, free: 5.184 MB / 0.6042 GB Notification: Performance of matching and sorting (n=26): time 0.002845/0.3171, allocations: 0.8097 MB / 0.9576 GB, free: 4.348 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.284e-05/0.3172, allocations: 106.8 kB / 0.9577 GB, free: 4.219 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006065/0.3178, allocations: 0.5665 MB / 0.9583 GB, free: 3.641 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 4.668e-05/0.3178, allocations: 33.7 kB / 0.9583 GB, free: 3.602 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002067/0.3181, allocations: 387.6 kB / 0.9587 GB, free: 3.219 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 9.333e-05/0.3182, allocations: 90.66 kB / 0.9588 GB, free: 3.129 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.523e-05/0.3182, allocations: 11.94 kB / 0.9588 GB, free: 3.117 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 0.0001041/0.3183, allocations: 374.8 kB / 0.9591 GB, free: 2.742 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000756/0.3191, allocations: 216.6 kB / 0.9594 GB, free: 2.531 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008185/0.3199, allocations: 367.9 kB / 0.9597 GB, free: 2.105 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0007907/0.3207, allocations: 241.2 kB / 0.9599 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.017e-06/0.3207, allocations: 0 / 0.9599 GB, free: 1.871 MB / 0.6042 GB Notification: Performance of matching and sorting (n=51) (initialization): time 0.001914/0.3226, allocations: 0.6774 MB / 0.9606 GB, free: 1.184 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.329e-05/0.3227, allocations: 10.03 kB / 0.9606 GB, free: 1.176 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.205e-05/0.3227, allocations: 7.984 kB / 0.9606 GB, free: 1.168 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002606/0.323, allocations: 61.17 kB / 0.9607 GB, free: 1.105 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00069/0.3237, allocations: 139.8 kB / 0.9608 GB, free: 0.9688 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003721/0.324, allocations: 0.6225 MB / 0.9614 GB, free: 328 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0009054/0.325, allocations: 115.5 kB / 0.9615 GB, free: 212 kB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.669e-05/0.325, allocations: 27.97 kB / 0.9615 GB, free: 184 kB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * 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 (46): * Single equations (assignments): 45 * 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 5} Notification: Performance of prepare postOptimizeDAE: time 0.0003754/0.3254, allocations: 217.7 kB / 0.9618 GB, free: 15.96 MB / 0.6198 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001164/0.3255, allocations: 59.25 kB / 0.9618 GB, free: 15.9 MB / 0.6198 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002167/0.3277, allocations: 0.648 MB / 0.9624 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.127e-06/0.3277, allocations: 4 kB / 0.9624 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.3277, allocations: 0 / 0.9624 GB, free: 15.23 MB / 0.6198 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.001819/0.3296, allocations: 0.7161 MB / 0.9631 GB, free: 14.45 MB / 0.6198 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002898/0.3325, allocations: 1.301 MB / 0.9644 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.608e-06/0.3325, allocations: 0 / 0.9644 GB, free: 13.07 MB / 0.6198 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005747/0.3331, allocations: 83.84 kB / 0.9645 GB, free: 12.99 MB / 0.6198 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002226/0.3333, allocations: 64.92 kB / 0.9646 GB, free: 12.93 MB / 0.6198 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.08e-05/0.3333, allocations: 11.98 kB / 0.9646 GB, free: 12.91 MB / 0.6198 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0004381/0.3338, allocations: 0.6109 MB / 0.9652 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.776e-06/0.3338, allocations: 0 / 0.9652 GB, free: 12.28 MB / 0.6198 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002796/0.3366, allocations: 0.9095 MB / 0.9661 GB, free: 11.33 MB / 0.6198 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003573/0.337, allocations: 204.2 kB / 0.9663 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.000103/0.3371, allocations: 4 kB / 0.9663 GB, free: 11.11 MB / 0.6198 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008543/0.338, allocations: 83.91 kB / 0.9663 GB, free: 11.03 MB / 0.6198 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.204e-05/0.338, allocations: 19.97 kB / 0.9664 GB, free: 11.01 MB / 0.6198 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.789e-05/0.3381, allocations: 23.97 kB / 0.9664 GB, free: 10.98 MB / 0.6198 GB Notification: Performance of sorting global known variables: time 0.0005671/0.3387, allocations: 415.1 kB / 0.9668 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of sort global known variables: time 1.703e-06/0.3387, allocations: 0 / 0.9668 GB, free: 10.58 MB / 0.6198 GB Notification: Performance of remove unused functions: time 0.0009773/0.3397, allocations: 279.2 kB / 0.967 GB, free: 10.31 MB / 0.6198 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 1 (senTem.T) * 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 (21): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.003686/0.3433, allocations: 1.65 MB / 0.9687 GB, free: 8.621 MB / 0.6198 GB Notification: Performance of simCode: created initialization part: time 0.001961/0.3453, allocations: 0.5058 MB / 0.9691 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of simCode: created event and clocks part: time 3.586e-06/0.3453, allocations: 0 / 0.9691 GB, free: 8.117 MB / 0.6198 GB Notification: Performance of simCode: created simulation system equations: time 0.000917/0.3463, allocations: 250.9 kB / 0.9694 GB, free: 7.875 MB / 0.6198 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001727/0.348, allocations: 327.3 kB / 0.9697 GB, free: 7.562 MB / 0.6198 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.008393/0.3564, allocations: 3.954 MB / 0.9736 GB, free: 3.488 MB / 0.6198 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000496/0.357, allocations: 0.9214 MB / 0.9745 GB, free: 2.539 MB / 0.6198 GB Notification: Performance of simCode: alias equations: time 0.0007498/0.3577, allocations: 141.1 kB / 0.9746 GB, free: 2.398 MB / 0.6198 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003639/0.3581, allocations: 259.3 kB / 0.9748 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of SimCode: time 1.272e-06/0.3581, allocations: 0 / 0.9748 GB, free: 2.145 MB / 0.6198 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03855/0.3967, allocations: 19.4 MB / 0.9938 GB, free: 15.05 MB / 0.6511 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002168/0.3969, allocations: 279 kB / 0.9941 GB, free: 14.69 MB / 0.6511 GB Notification: Performance of buildModelFMU: Generate platform static: time 2.541/2.938, allocations: 0 / 0.9941 GB, free: 14.69 MB / 0.6511 GB (rm -f Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 Buildings_maint_7_0_x_Buildings_Fluid_HeatExchangers_Validation_EvaporatorCondenser.fmu > Buildings_maint.7.0.x_Buildings.Fluid.HeatExchangers.Validation.EvaporatorCondenser.pipe 2>&1)