Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.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.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva",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.001959/0.001958, allocations: 181.6 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.5366/0.5366, allocations: 91.97 MB / 108.5 MB, free: 13.06 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.544/1.544, allocations: 223.1 MB / 354.3 MB, free: 12.11 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.0009594/0.0009593, allocations: 95.23 kB / 427.3 MB, free: 3.844 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003459/0.000346, allocations: 12 kB / 0.4983 GB, free: 42.18 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1544/0.1548, allocations: 72.3 MB / 0.5689 GB, free: 1.809 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.163/1.318, allocations: 386.7 MB / 0.9466 GB, free: 80.48 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0003283/1.319, allocations: 90.95 kB / 0.9466 GB, free: 80.43 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 2.374/3.693, allocations: 0.6515 GB / 1.598 GB, free: 86.85 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.924e-06/3.693, allocations: 2.406 kB / 1.598 GB, free: 86.85 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001208/3.693, allocations: 37 kB / 1.598 GB, free: 86.84 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: 192 * Number of variables: 192 Notification: Performance of Generate backend data structure: time 0.003812/3.697, allocations: 1.714 MB / 1.6 GB, free: 85.97 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.747e-05/3.697, allocations: 12.09 kB / 1.6 GB, free: 85.97 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001817/3.697, allocations: 124.1 kB / 1.6 GB, free: 85.93 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001998/3.699, allocations: 445.9 kB / 1.6 GB, free: 85.86 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002823/3.702, allocations: 1.317 MB / 1.602 GB, free: 85.51 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003202/3.702, allocations: 131.4 kB / 1.602 GB, free: 85.51 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001058/3.702, allocations: 78.78 kB / 1.602 GB, free: 85.51 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001823/3.704, allocations: 1.002 MB / 1.603 GB, free: 85.34 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.09e-05/3.704, allocations: 2.812 kB / 1.603 GB, free: 85.34 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.729e-05/3.704, allocations: 30.88 kB / 1.603 GB, free: 85.34 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.408e-05/3.704, allocations: 30.66 kB / 1.603 GB, free: 85.34 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001953/3.706, allocations: 0.8919 MB / 1.604 GB, free: 85.33 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.005926/3.712, allocations: 4.718 MB / 1.608 GB, free: 82.83 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003045/3.715, allocations: 0.8728 MB / 1.609 GB, free: 82.8 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005097/3.716, allocations: 0.9069 MB / 1.61 GB, free: 81.77 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.934e-05/3.716, allocations: 39.06 kB / 1.61 GB, free: 81.73 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=42): time 3.076e-06/3.716, allocations: 0.5625 kB / 1.61 GB, free: 81.73 MB / 0.6042 GB Notification: Performance of matching and sorting (n=42): time 0.007995/3.724, allocations: 2.017 MB / 1.612 GB, free: 81.52 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.072e-05/3.724, allocations: 63.8 kB / 1.612 GB, free: 81.46 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001655/3.726, allocations: 0.9487 MB / 1.613 GB, free: 81.32 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001428/3.726, allocations: 38.7 kB / 1.613 GB, free: 81.29 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003976/3.726, allocations: 0.5285 MB / 1.614 GB, free: 81.09 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001323/3.726, allocations: 152.3 kB / 1.614 GB, free: 81 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.211e-05/3.726, allocations: 10.5 kB / 1.614 GB, free: 81 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 9.304e-05/3.727, allocations: 328.4 kB / 1.614 GB, free: 80.69 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007641/3.727, allocations: 301.7 kB / 1.614 GB, free: 80.69 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0009213/3.728, allocations: 0.5347 MB / 1.615 GB, free: 80.42 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008121/3.729, allocations: 352.4 kB / 1.615 GB, free: 80.41 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.35e-06/3.729, allocations: 0 / 1.615 GB, free: 80.41 MB / 0.6042 GB Notification: Performance of matching and sorting (n=62) (initialization): time 0.002528/3.732, allocations: 0.9975 MB / 1.616 GB, free: 80.31 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0004124/3.732, allocations: 1.673 MB / 1.618 GB, free: 78.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.228e-05/3.732, allocations: 3.812 kB / 1.618 GB, free: 78.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001325/3.733, allocations: 359.9 kB / 1.618 GB, free: 78.57 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004926/3.734, allocations: 117.2 kB / 1.618 GB, free: 78.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001367/3.735, allocations: 0.9767 MB / 1.619 GB, free: 78.04 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001491/3.737, allocations: 189.9 kB / 1.62 GB, free: 78.01 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.595e-05/3.737, allocations: 35.09 kB / 1.62 GB, free: 78.01 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.108e-05/3.737, allocations: 3.875 kB / 1.62 GB, free: 78.01 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00212/3.739, allocations: 0.8761 MB / 1.62 GB, free: 77.99 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.945e-06/3.739, allocations: 2.156 kB / 1.62 GB, free: 77.99 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/3.74, allocations: 355.5 kB / 1.621 GB, free: 77.98 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004735/3.741, allocations: 117.9 kB / 1.621 GB, free: 77.98 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001279/3.742, allocations: 0.9808 MB / 1.622 GB, free: 77.45 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001309/3.743, allocations: 164.3 kB / 1.622 GB, free: 77.42 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.921e-05/3.743, allocations: 35.97 kB / 1.622 GB, free: 77.42 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 15} Notification: Performance of prepare postOptimizeDAE: time 0.0006412/3.744, allocations: 349.4 kB / 1.622 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001832/3.744, allocations: 110.6 kB / 1.622 GB, free: 77.17 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002253/3.746, allocations: 0.974 MB / 1.623 GB, free: 77.09 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.361e-05/3.746, allocations: 7.438 kB / 1.623 GB, free: 77.09 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.765e-06/3.746, allocations: 0 / 1.623 GB, free: 77.09 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.406e-06/3.746, allocations: 3.844 kB / 1.623 GB, free: 77.09 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005174/3.752, allocations: 2.225 MB / 1.626 GB, free: 76.65 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.057e-06/3.752, allocations: 3.875 kB / 1.626 GB, free: 76.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002662/3.752, allocations: 63.22 kB / 1.626 GB, free: 76.65 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001124/3.753, allocations: 354.6 kB / 1.626 GB, free: 76.63 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.863e-05/3.753, allocations: 13.95 kB / 1.626 GB, free: 76.63 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001406/3.755, allocations: 1 MB / 1.627 GB, free: 76.08 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.713e-06/3.755, allocations: 13.08 kB / 1.627 GB, free: 76.08 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003966/3.759, allocations: 1.34 MB / 1.628 GB, free: 75.64 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0008404/3.76, allocations: 277.1 kB / 1.629 GB, free: 75.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003216/3.76, allocations: 13.91 kB / 1.629 GB, free: 75.48 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001145/3.761, allocations: 115.6 kB / 1.629 GB, free: 75.46 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.00013/3.761, allocations: 40.08 kB / 1.629 GB, free: 75.46 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.385e-05/3.761, allocations: 28.45 kB / 1.629 GB, free: 75.46 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001377/3.763, allocations: 0.7488 MB / 1.63 GB, free: 75.34 MB / 0.6042 GB Notification: Performance of sort global known variables: time 2.71e-07/3.763, allocations: 3.844 kB / 1.63 GB, free: 75.34 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002371/3.765, allocations: 0.6168 MB / 1.63 GB, free: 75.26 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * 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 (31): * Single equations (assignments): 26 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * 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 Backend phase and start with SimCode phase: time 0.005418/3.77, allocations: 2.995 MB / 1.633 GB, free: 73.6 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.003421/3.774, allocations: 1.142 MB / 1.634 GB, free: 73.55 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 8.406e-06/3.774, allocations: 0 / 1.634 GB, free: 73.55 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001052/3.775, allocations: 380.6 kB / 1.635 GB, free: 73.54 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002921/3.778, allocations: 498.5 kB / 1.635 GB, free: 73.51 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.01426/3.792, allocations: 9.531 MB / 1.644 GB, free: 68.46 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004429/3.793, allocations: 1.081 MB / 1.645 GB, free: 67.75 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001075/3.794, allocations: 212.6 kB / 1.646 GB, free: 67.71 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004436/3.794, allocations: 412 kB / 1.646 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of SimCode: time 6.61e-07/3.794, allocations: 0 / 1.646 GB, free: 67.7 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06387/3.858, allocations: 38.24 MB / 1.683 GB, free: 45.79 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001644/3.858, allocations: 229.6 kB / 1.684 GB, free: 45.55 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.448/7.307, allocations: 3.938 kB / 1.684 GB, free: 45.55 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_TEva.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)