Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.conf.json 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/IBPSA 4.0.0-master/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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) Running command: "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001993/0.001993, allocations: 181.8 kB / 15.76 MB, free: 6.363 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.5717/0.5717, allocations: 91.97 MB / 108.5 MB, free: 13.07 MB / 90.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.549/1.549, allocations: 223.1 MB / 354.3 MB, free: 12.23 MB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001047/0.001047, allocations: 96.28 kB / 427.4 MB, free: 3.949 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003511/0.0003512, allocations: 8 kB / 0.4983 GB, free: 42.23 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1771/0.1775, allocations: 72.31 MB / 0.5689 GB, free: 1.859 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.181/1.358, allocations: 386.9 MB / 0.9467 GB, free: 80.4 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002577/1.359, allocations: 94.33 kB / 0.9468 GB, free: 80.35 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.719/4.078, allocations: 0.6519 GB / 1.599 GB, free: 86.34 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.134e-06/4.078, allocations: 0 / 1.599 GB, free: 86.34 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002616/4.078, allocations: 31.31 kB / 1.599 GB, free: 86.33 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: 194 * Number of variables: 194 Notification: Performance of Generate backend data structure: time 0.006011/4.084, allocations: 1.734 MB / 1.6 GB, free: 85.44 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.461e-05/4.084, allocations: 12.09 kB / 1.6 GB, free: 85.44 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0004947/4.085, allocations: 125.7 kB / 1.601 GB, free: 85.4 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0029/4.087, allocations: 491.4 kB / 1.601 GB, free: 85.33 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004337/4.092, allocations: 1.326 MB / 1.602 GB, free: 84.98 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0004089/4.092, allocations: 132.6 kB / 1.602 GB, free: 84.98 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003084/4.093, allocations: 80.53 kB / 1.603 GB, free: 84.98 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002666/4.095, allocations: 1.027 MB / 1.604 GB, free: 84.85 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.126e-05/4.095, allocations: 6.688 kB / 1.604 GB, free: 84.85 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001121/4.095, allocations: 33.75 kB / 1.604 GB, free: 84.85 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.021e-05/4.096, allocations: 27.41 kB / 1.604 GB, free: 84.84 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.00283/4.098, allocations: 0.9836 MB / 1.605 GB, free: 84.84 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.007943/4.106, allocations: 4.546 MB / 1.609 GB, free: 82.62 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004017/4.11, allocations: 1.118 MB / 1.61 GB, free: 82.59 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008309/4.111, allocations: 1.017 MB / 1.611 GB, free: 81.47 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.21e-05/4.111, allocations: 42.48 kB / 1.611 GB, free: 81.43 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=54): time 3.517e-06/4.111, allocations: 0 / 1.611 GB, free: 81.43 MB / 0.6042 GB Notification: Performance of matching and sorting (n=54): time 0.01011/4.121, allocations: 2.574 MB / 1.614 GB, free: 81.22 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.248e-05/4.122, allocations: 64.83 kB / 1.614 GB, free: 81.15 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001939/4.123, allocations: 0.8248 MB / 1.614 GB, free: 81.02 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001579/4.124, allocations: 35.73 kB / 1.615 GB, free: 80.98 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005465/4.124, allocations: 0.51 MB / 1.615 GB, free: 80.8 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002433/4.124, allocations: 182.8 kB / 1.615 GB, free: 80.68 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.884e-05/4.125, allocations: 10.12 kB / 1.615 GB, free: 80.68 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.362e-05/4.125, allocations: 329.5 kB / 1.616 GB, free: 80.38 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001017/4.126, allocations: 356.5 kB / 1.616 GB, free: 80.38 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001172/4.127, allocations: 0.5457 MB / 1.616 GB, free: 80.17 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009976/4.128, allocations: 383.7 kB / 1.617 GB, free: 80.17 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.749e-06/4.128, allocations: 1.812 kB / 1.617 GB, free: 80.17 MB / 0.6042 GB Notification: Performance of matching and sorting (n=64) (initialization): time 0.003177/4.131, allocations: 1.112 MB / 1.618 GB, free: 80.06 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003566/4.131, allocations: 0.9706 MB / 1.619 GB, free: 79.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.698e-05/4.131, allocations: 3.969 kB / 1.619 GB, free: 79.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001802/4.133, allocations: 464.4 kB / 1.619 GB, free: 79.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006088/4.134, allocations: 122.3 kB / 1.619 GB, free: 79.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002116/4.136, allocations: 1.085 MB / 1.62 GB, free: 78.52 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.002046/4.138, allocations: 175 kB / 1.621 GB, free: 78.49 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001643/4.138, allocations: 30.39 kB / 1.621 GB, free: 78.49 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 2.842e-05/4.138, allocations: 7.078 kB / 1.621 GB, free: 78.48 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002992/4.141, allocations: 0.9858 MB / 1.622 GB, free: 78.46 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.174e-05/4.141, allocations: 0 / 1.622 GB, free: 78.46 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001838/4.143, allocations: 461.3 kB / 1.622 GB, free: 78.45 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006134/4.144, allocations: 118.4 kB / 1.622 GB, free: 78.45 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002108/4.146, allocations: 1.089 MB / 1.623 GB, free: 77.9 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001914/4.148, allocations: 168.8 kB / 1.623 GB, free: 77.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001608/4.148, allocations: 33.84 kB / 1.623 GB, free: 77.86 MB / 0.6042 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 (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 {2 17} Notification: Performance of prepare postOptimizeDAE: time 0.001289/4.149, allocations: 347.1 kB / 1.624 GB, free: 77.67 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0005441/4.15, allocations: 109.2 kB / 1.624 GB, free: 77.62 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005479/4.155, allocations: 1.478 MB / 1.625 GB, free: 77.48 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.308e-05/4.155, allocations: 11.52 kB / 1.625 GB, free: 77.48 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.28e-05/4.155, allocations: 4 kB / 1.625 GB, free: 77.48 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.737e-06/4.156, allocations: 1.125 kB / 1.625 GB, free: 77.48 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007156/4.163, allocations: 2.527 MB / 1.628 GB, free: 77.05 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.02e-05/4.163, allocations: 4.031 kB / 1.628 GB, free: 77.04 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004529/4.163, allocations: 109.5 kB / 1.628 GB, free: 77.04 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001416/4.165, allocations: 463.3 kB / 1.628 GB, free: 77.01 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.13e-05/4.165, allocations: 17.48 kB / 1.628 GB, free: 77.01 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001751/4.166, allocations: 1.12 MB / 1.629 GB, free: 76.46 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.16e-06/4.166, allocations: 5.266 kB / 1.629 GB, free: 76.46 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.005169/4.172, allocations: 1.694 MB / 1.631 GB, free: 76.04 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008727/4.173, allocations: 290 kB / 1.631 GB, free: 75.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003376/4.173, allocations: 16.8 kB / 1.631 GB, free: 75.88 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001251/4.174, allocations: 132.6 kB / 1.632 GB, free: 75.86 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001057/4.174, allocations: 34.67 kB / 1.632 GB, free: 75.86 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.745e-05/4.174, allocations: 28.94 kB / 1.632 GB, free: 75.86 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001352/4.176, allocations: 0.6676 MB / 1.632 GB, free: 75.75 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.9e-07/4.176, allocations: 0 / 1.632 GB, free: 75.75 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002751/4.178, allocations: 0.6197 MB / 1.633 GB, free: 75.66 MB / 0.6042 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 (39): * Single equations (assignments): 35 * 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 {2 19} Notification: Performance of Backend phase and start with SimCode phase: time 0.006359/4.185, allocations: 3.08 MB / 1.636 GB, free: 74.18 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003717/4.189, allocations: 1.35 MB / 1.637 GB, free: 74.12 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.623e-06/4.189, allocations: 4.484 kB / 1.637 GB, free: 74.12 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001227/4.19, allocations: 499.3 kB / 1.638 GB, free: 74.11 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002898/4.193, allocations: 0.4909 MB / 1.638 GB, free: 74.07 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01717/4.21, allocations: 8.251 MB / 1.646 GB, free: 69.88 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008944/4.211, allocations: 1.094 MB / 1.647 GB, free: 69.15 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001342/4.212, allocations: 222.4 kB / 1.647 GB, free: 69.11 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0006785/4.213, allocations: 417.5 kB / 1.648 GB, free: 68.79 MB / 0.6042 GB Notification: Performance of SimCode: time 1.042e-06/4.213, allocations: 4 kB / 1.648 GB, free: 68.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07192/4.285, allocations: 39.24 MB / 1.686 GB, free: 43.39 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001959/4.285, allocations: 256 kB / 1.686 GB, free: 43.05 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.537/7.822, allocations: 0 / 1.686 GB, free: 43.05 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Validation_Carnot_TEva_reverseFlow.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Validation.Carnot_TEva_reverseFlow.pipe 2>&1)