Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.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_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(IBPSA.Fluid.Chillers.Examples.Carnot_y,fileNamePrefix="IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y",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.00198/0.00198, allocations: 183.1 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.5517/0.5517, allocations: 91.98 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.575/1.575, allocations: 223.1 MB / 354.3 MB, free: 12.21 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.001038/0.001038, allocations: 96.22 kB / 427.3 MB, free: 3.93 MB / 346.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003458/0.0003458, allocations: 8 kB / 0.4983 GB, free: 42.2 MB / 362.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1674/0.1678, allocations: 72.31 MB / 0.5689 GB, free: 1.828 MB / 394.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.023/1.191, allocations: 377 MB / 0.9371 GB, free: 89.84 MB / 0.5886 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002423/1.191, allocations: 94.7 kB / 0.9372 GB, free: 89.79 MB / 0.5886 GB Notification: Performance of FrontEnd - DAE generated: time 1.736/2.927, allocations: 0.5455 GB / 1.483 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of FrontEnd: time 2.274e-06/2.927, allocations: 0 / 1.483 GB, free: 25.09 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0002391/2.928, allocations: 36 kB / 1.483 GB, free: 25.06 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: 240 * Number of variables: 240 Notification: Performance of Generate backend data structure: time 0.006072/2.934, allocations: 1.995 MB / 1.485 GB, free: 22.99 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 5.095e-05/2.934, allocations: 8.031 kB / 1.485 GB, free: 22.98 MB / 0.6042 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0005074/2.934, allocations: 147.9 kB / 1.485 GB, free: 22.83 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001222/2.936, allocations: 237.9 kB / 1.485 GB, free: 22.6 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.004115/2.94, allocations: 1.732 MB / 1.487 GB, free: 20.82 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.556e-05/2.94, allocations: 78 kB / 1.487 GB, free: 20.74 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0002024/2.94, allocations: 99.95 kB / 1.487 GB, free: 20.64 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00227/2.942, allocations: 1.096 MB / 1.488 GB, free: 19.51 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 3.893e-05/2.942, allocations: 3.906 kB / 1.488 GB, free: 19.51 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001018/2.942, allocations: 43.98 kB / 1.488 GB, free: 19.46 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.177e-05/2.942, allocations: 37.94 kB / 1.488 GB, free: 19.43 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001898/2.944, allocations: 0.9018 MB / 1.489 GB, free: 18.52 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.006905/2.951, allocations: 4.736 MB / 1.494 GB, free: 13.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001155/2.952, allocations: 0.5972 MB / 1.494 GB, free: 12.94 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0004767/2.953, allocations: 0.8238 MB / 1.495 GB, free: 11.93 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.581e-05/2.953, allocations: 51.05 kB / 1.495 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.675e-06/2.953, allocations: 0 / 1.495 GB, free: 11.88 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.00712/2.96, allocations: 1.838 MB / 1.497 GB, free: 10.01 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.574e-05/2.96, allocations: 55.97 kB / 1.497 GB, free: 9.941 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002151/2.962, allocations: 1.114 MB / 1.498 GB, free: 8.816 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001941/2.963, allocations: 37.7 kB / 1.498 GB, free: 8.773 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005636/2.963, allocations: 0.6221 MB / 1.499 GB, free: 8.145 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002957/2.963, allocations: 205 kB / 1.499 GB, free: 7.941 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.485e-05/2.964, allocations: 19.94 kB / 1.499 GB, free: 7.922 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 8.847e-05/2.964, allocations: 329.9 kB / 1.499 GB, free: 7.594 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0006765/2.964, allocations: 285.1 kB / 1.499 GB, free: 7.312 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007239/2.965, allocations: 498.9 kB / 1.5 GB, free: 6.738 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006848/2.966, allocations: 345.9 kB / 1.5 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.368e-06/2.966, allocations: 0 / 1.5 GB, free: 6.398 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.004948/2.971, allocations: 1.329 MB / 1.502 GB, free: 5.059 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002869/2.971, allocations: 1.436 MB / 1.503 GB, free: 3.535 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.303e-05/2.971, allocations: 4 kB / 1.503 GB, free: 3.531 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0006163/2.972, allocations: 136.7 kB / 1.503 GB, free: 3.395 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006478/2.972, allocations: 159.8 kB / 1.503 GB, free: 3.238 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000784/2.973, allocations: 0.7045 MB / 1.504 GB, free: 2.508 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001775/2.975, allocations: 163.1 kB / 1.504 GB, free: 2.348 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001285/2.975, allocations: 35.98 kB / 1.504 GB, free: 2.312 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.517e-05/2.975, allocations: 5.562 kB / 1.504 GB, free: 2.309 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.004421/2.98, allocations: 1.185 MB / 1.505 GB, free: 1.121 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.704e-05/2.98, allocations: 8.062 kB / 1.505 GB, free: 1.113 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005533/2.98, allocations: 148.6 kB / 1.505 GB, free: 0.9648 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006268/2.981, allocations: 159.8 kB / 1.506 GB, free: 0.8086 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0007559/2.982, allocations: 0.7045 MB / 1.506 GB, free: 80 kB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.3817/3.363, allocations: 138.8 kB / 1.506 GB, free: 71.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001406/3.363, allocations: 35.19 kB / 1.506 GB, free: 71.95 MB / 0.6042 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 16 * 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 (73): * Single equations (assignments): 72 * 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 9} Notification: Performance of prepare postOptimizeDAE: time 0.0009586/3.364, allocations: 421.7 kB / 1.507 GB, free: 71.77 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003308/3.365, allocations: 135.1 kB / 1.507 GB, free: 71.77 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.005188/3.37, allocations: 1.321 MB / 1.508 GB, free: 71.71 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.965e-05/3.37, allocations: 7.828 kB / 1.508 GB, free: 71.71 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.836e-06/3.37, allocations: 0 / 1.508 GB, free: 71.71 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.004462/3.374, allocations: 1.217 MB / 1.509 GB, free: 71.54 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.007629/3.382, allocations: 2.672 MB / 1.512 GB, free: 71.12 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.063e-05/3.382, allocations: 4.219 kB / 1.512 GB, free: 71.12 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005703/3.383, allocations: 122.6 kB / 1.512 GB, free: 71.12 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0005251/3.383, allocations: 140.1 kB / 1.512 GB, free: 71.11 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.832e-05/3.383, allocations: 19.31 kB / 1.512 GB, free: 71.11 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.004891/3.388, allocations: 2.507 MB / 1.515 GB, free: 69.73 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.498e-06/3.388, allocations: 7.438 kB / 1.515 GB, free: 69.73 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.006022/3.394, allocations: 1.989 MB / 1.517 GB, free: 69.12 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00105/3.395, allocations: 334.5 kB / 1.517 GB, free: 68.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002399/3.396, allocations: 18.03 kB / 1.517 GB, free: 68.96 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009778/3.397, allocations: 87.39 kB / 1.517 GB, free: 68.95 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001472/3.397, allocations: 52.7 kB / 1.517 GB, free: 68.95 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.762e-05/3.397, allocations: 31.27 kB / 1.517 GB, free: 68.95 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001591/3.398, allocations: 0.8961 MB / 1.518 GB, free: 68.84 MB / 0.6042 GB Notification: Performance of sort global known variables: time 5.61e-07/3.398, allocations: 0 / 1.518 GB, free: 68.84 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.002774/3.401, allocations: 0.7923 MB / 1.519 GB, free: 68.81 MB / 0.6042 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 13 * Number of states: 2 (chi.con.vol.dynBal.U,chi.eva.vol.dynBal.U) * 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 (56): * Single equations (assignments): 51 * 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 {1 9} Notification: Performance of Backend phase and start with SimCode phase: time 0.007195/3.408, allocations: 3.968 MB / 1.523 GB, free: 66.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.002516/3.411, allocations: 1.089 MB / 1.524 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 6.723e-06/3.411, allocations: 0 / 1.524 GB, free: 66.91 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001363/3.412, allocations: 0.5922 MB / 1.524 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003669/3.416, allocations: 0.7623 MB / 1.525 GB, free: 66.79 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.02066/3.437, allocations: 10.59 MB / 1.535 GB, free: 61.81 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001072/3.438, allocations: 1.198 MB / 1.537 GB, free: 61.11 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001936/3.44, allocations: 299.3 kB / 1.537 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0008397/3.441, allocations: 0.5091 MB / 1.537 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of SimCode: time 1.493e-06/3.441, allocations: 0 / 1.537 GB, free: 61.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.08042/3.521, allocations: 46.97 MB / 1.583 GB, free: 59.09 MB / 0.6042 GB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/3.521, allocations: 230.2 kB / 1.583 GB, free: 58.85 MB / 0.6042 GB Notification: Performance of buildModelFMU: Generate platform static: time 3.63/7.152, allocations: 0 / 1.583 GB, free: 58.85 MB / 0.6042 GB (rm -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; mkfifo IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe ; head -c 1048576 < IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe >> ../files/IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator --tempDir=temp_IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y_fmu --startTime=0 --stopTime=3600 --timeout=50 --tolerance=1e-06 IBPSA_latest_IBPSA_Fluid_Chillers_Examples_Carnot_y.fmu > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)