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: translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_y,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001067/0.001067, allocations: 179.4 kB / 13.19 MB, free: 2.133 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.4813/0.4813, allocations: 90.81 MB / 104.5 MB, free: 9.793 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.472/1.472, allocations: 221.3 MB / 348.3 MB, free: 436 kB / 282.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009654/0.0009655, allocations: 110.8 kB / 421.2 MB, free: 5.48 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 3.452e-05/3.464e-05, allocations: 4 kB / 0.4896 GB, free: 5.367 MB / 394.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4191/0.4192, allocations: 72.3 MB / 0.5602 GB, free: 40.45 MB / 410.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.7309/1.15, allocations: 377 MB / 0.9284 GB, free: 6.027 MB / 0.6042 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002263/1.15, allocations: 87.86 kB / 0.9284 GB, free: 5.984 MB / 0.6042 GB Notification: Performance of FrontEnd - DAE generated: time 2.086/3.237, allocations: 0.5438 GB / 1.472 GB, free: 88.78 MB / 0.6042 GB Notification: Performance of FrontEnd: time 1.193e-06/3.237, allocations: 0 / 1.472 GB, free: 88.78 MB / 0.6042 GB Notification: Performance of Transformations before backend: time 0.0001461/3.237, allocations: 41.56 kB / 1.472 GB, free: 88.78 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.003571/3.241, allocations: 1.707 MB / 1.474 GB, free: 88.01 MB / 0.6042 GB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/3.241, allocations: 17.48 kB / 1.474 GB, free: 88.01 MB / 0.6042 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000858/3.241, allocations: 238.6 kB / 1.474 GB, free: 87.92 MB / 0.6042 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003078/3.245, allocations: 1.706 MB / 1.476 GB, free: 87.61 MB / 0.6042 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.293e-05/3.245, allocations: 74 kB / 1.476 GB, free: 87.61 MB / 0.6042 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001396/3.245, allocations: 111.6 kB / 1.476 GB, free: 87.61 MB / 0.6042 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001539/3.246, allocations: 1.017 MB / 1.477 GB, free: 87.47 MB / 0.6042 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.575e-05/3.246, allocations: 7.625 kB / 1.477 GB, free: 87.47 MB / 0.6042 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.253e-05/3.246, allocations: 41.62 kB / 1.477 GB, free: 87.47 MB / 0.6042 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.048e-05/3.246, allocations: 37.41 kB / 1.477 GB, free: 87.47 MB / 0.6042 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001131/3.248, allocations: 0.7536 MB / 1.478 GB, free: 87.46 MB / 0.6042 GB Warning: The model contains alias variables with conflicting start and/or 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.005155/3.253, allocations: 4.722 MB / 1.482 GB, free: 85.55 MB / 0.6042 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0007703/3.254, allocations: 0.515 MB / 1.483 GB, free: 85.51 MB / 0.6042 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003274/3.254, allocations: 268.9 kB / 1.483 GB, free: 85.5 MB / 0.6042 GB Notification: Performance of preOpt evalFunc (simulation): time 0.000449/3.254, allocations: 0.8331 MB / 1.484 GB, free: 84.56 MB / 0.6042 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.446e-05/3.254, allocations: 38.62 kB / 1.484 GB, free: 84.52 MB / 0.6042 GB Notification: Performance of pre-optimization done (n=59): time 2.184e-06/3.254, allocations: 0 / 1.484 GB, free: 84.52 MB / 0.6042 GB Notification: Performance of matching and sorting (n=59): time 0.00362/3.258, allocations: 1.024 MB / 1.485 GB, free: 84.4 MB / 0.6042 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.702e-05/3.258, allocations: 58.72 kB / 1.485 GB, free: 84.34 MB / 0.6042 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00141/3.26, allocations: 1.102 MB / 1.486 GB, free: 84.18 MB / 0.6042 GB Notification: Performance of collectPreVariables (initialization): time 0.0001079/3.26, allocations: 43.23 kB / 1.486 GB, free: 84.14 MB / 0.6042 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003732/3.26, allocations: 0.6223 MB / 1.487 GB, free: 83.93 MB / 0.6042 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001568/3.26, allocations: 204.8 kB / 1.487 GB, free: 83.8 MB / 0.6042 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.155e-05/3.26, allocations: 14.31 kB / 1.487 GB, free: 83.8 MB / 0.6042 GB Notification: Performance of setup shared object (initialization): time 6.407e-05/3.26, allocations: 333.7 kB / 1.487 GB, free: 83.5 MB / 0.6042 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002984/3.261, allocations: 200.5 kB / 1.488 GB, free: 83.49 MB / 0.6042 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004169/3.261, allocations: 428.7 kB / 1.488 GB, free: 83.25 MB / 0.6042 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003815/3.261, allocations: 282.6 kB / 1.488 GB, free: 83.23 MB / 0.6042 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.587e-06/3.261, allocations: 0 / 1.488 GB, free: 83.23 MB / 0.6042 GB Notification: Performance of matching and sorting (n=82) (initialization): time 0.00364/3.265, allocations: 1.17 MB / 1.489 GB, free: 83.11 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 0.0003343/3.265, allocations: 1.427 MB / 1.491 GB, free: 81.66 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.295e-05/3.265, allocations: 3.875 kB / 1.491 GB, free: 81.66 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0004383/3.266, allocations: 111.4 kB / 1.491 GB, free: 81.65 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006442/3.267, allocations: 164.1 kB / 1.491 GB, free: 81.65 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0005851/3.267, allocations: 0.6499 MB / 1.492 GB, free: 81.13 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/3.269, allocations: 160.4 kB / 1.492 GB, free: 81.09 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.648e-05/3.269, allocations: 35.97 kB / 1.492 GB, free: 81.09 MB / 0.6042 GB Notification: Performance of prepare postOptimizeDAE: time 1.133e-05/3.269, allocations: 6.281 kB / 1.492 GB, free: 81.09 MB / 0.6042 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003495/3.272, allocations: 1.031 MB / 1.493 GB, free: 81.06 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.085e-06/3.272, allocations: 3.5 kB / 1.493 GB, free: 81.06 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0003058/3.273, allocations: 111.8 kB / 1.493 GB, free: 81.05 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005543/3.273, allocations: 165.7 kB / 1.493 GB, free: 81.05 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004674/3.274, allocations: 0.6518 MB / 1.494 GB, free: 80.53 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00149/3.275, allocations: 152.7 kB / 1.494 GB, free: 80.48 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.717e-05/3.275, allocations: 36.39 kB / 1.494 GB, free: 80.48 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 () * 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.0002166/3.276, allocations: 151.6 kB / 1.494 GB, free: 80.38 MB / 0.6042 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002001/3.276, allocations: 135.7 kB / 1.494 GB, free: 80.31 MB / 0.6042 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003799/3.28, allocations: 1.166 MB / 1.495 GB, free: 80.23 MB / 0.6042 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.311e-05/3.28, allocations: 7.781 kB / 1.495 GB, free: 80.23 MB / 0.6042 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.871e-06/3.28, allocations: 0 / 1.495 GB, free: 80.23 MB / 0.6042 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.003164/3.283, allocations: 1.054 MB / 1.496 GB, free: 80.05 MB / 0.6042 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005443/3.288, allocations: 2.508 MB / 1.499 GB, free: 79.58 MB / 0.6042 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.544e-06/3.288, allocations: 3.438 kB / 1.499 GB, free: 79.58 MB / 0.6042 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004661/3.289, allocations: 125.5 kB / 1.499 GB, free: 79.58 MB / 0.6042 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002771/3.289, allocations: 100.3 kB / 1.499 GB, free: 79.57 MB / 0.6042 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.091e-05/3.289, allocations: 20.38 kB / 1.499 GB, free: 79.57 MB / 0.6042 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002933/3.292, allocations: 2.197 MB / 1.501 GB, free: 78.16 MB / 0.6042 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.586e-06/3.292, allocations: 7.109 kB / 1.501 GB, free: 78.16 MB / 0.6042 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004026/3.296, allocations: 1.761 MB / 1.503 GB, free: 77.53 MB / 0.6042 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006636/3.297, allocations: 328.2 kB / 1.503 GB, free: 77.36 MB / 0.6042 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001458/3.297, allocations: 18.77 kB / 1.503 GB, free: 77.35 MB / 0.6042 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0007862/3.298, allocations: 90.27 kB / 1.503 GB, free: 77.34 MB / 0.6042 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001055/3.298, allocations: 52.75 kB / 1.503 GB, free: 77.34 MB / 0.6042 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.315e-05/3.298, allocations: 28.73 kB / 1.503 GB, free: 77.34 MB / 0.6042 GB Notification: Performance of sorting global known variables: time 0.001095/3.299, allocations: 0.8853 MB / 1.504 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of sort global known variables: time 1.61e-07/3.299, allocations: 0 / 1.504 GB, free: 77.23 MB / 0.6042 GB Notification: Performance of remove unused functions: time 0.001917/3.301, allocations: 0.7884 MB / 1.505 GB, free: 77.12 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 () * 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.001075/3.302, allocations: 0.7526 MB / 1.506 GB, free: 76.92 MB / 0.6042 GB Notification: Performance of simCode: created initialization part: time 0.001418/3.303, allocations: 0.9297 MB / 1.507 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of simCode: created event and clocks part: time 3.467e-06/3.303, allocations: 1.406 kB / 1.507 GB, free: 76.89 MB / 0.6042 GB Notification: Performance of simCode: created simulation system equations: time 0.001037/3.304, allocations: 0.5112 MB / 1.507 GB, free: 76.78 MB / 0.6042 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003087/3.308, allocations: 0.7472 MB / 1.508 GB, free: 76.78 MB / 0.6042 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003063/3.311, allocations: 1.772 MB / 1.51 GB, free: 76.21 MB / 0.6042 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006203/3.311, allocations: 1.2 MB / 1.511 GB, free: 75.5 MB / 0.6042 GB Notification: Performance of simCode: alias equations: time 0.001457/3.313, allocations: 390.9 kB / 1.511 GB, free: 75.48 MB / 0.6042 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001546/3.313, allocations: 80.72 kB / 1.511 GB, free: 75.47 MB / 0.6042 GB Notification: Performance of SimCode: time 7.51e-07/3.313, allocations: 2.812 kB / 1.511 GB, free: 75.47 MB / 0.6042 GB Notification: Performance of Templates: time 0.04735/3.36, allocations: 35.98 MB / 1.546 GB, free: 72.99 MB / 0.6042 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_y.pipe 2>&1)