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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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/Modelica 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) Using package IBPSA with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/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 Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") translateModel(IBPSA.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001414/0.001415, allocations: 113.8 kB / 17.08 MB, free: 5.832 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001686/0.001686, allocations: 196.1 kB / 18.02 MB, free: 4.965 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.366/1.366, allocations: 222.9 MB / 241.7 MB, free: 15.16 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/IBPSA 4.0.0-master/package.mo): time 0.7205/0.7205, allocations: 115.3 MB / 407.2 MB, free: 6.191 MB / 318.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001276/0.001276, allocations: 65.94 kB / 0.5583 GB, free: 32.27 MB / 446.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1392/0.1405, allocations: 76.18 MB / 0.6327 GB, free: 4.453 MB / 478.1 MB Notification: Performance of NFInst.instantiate(IBPSA.Fluid.Chillers.Examples.Carnot_TEva): time 0.05453/0.1951, allocations: 61.13 MB / 0.6924 GB, free: 7.098 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.01618/0.2113, allocations: 12 MB / 0.7041 GB, free: 11.06 MB / 0.545 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002595/0.2139, allocations: 55.69 kB / 0.7042 GB, free: 11.01 MB / 0.545 GB Notification: Performance of NFTyping.typeComponents: time 0.002082/0.2161, allocations: 0.6791 MB / 0.7048 GB, free: 10.32 MB / 0.545 GB Notification: Performance of NFTyping.typeBindings: time 0.005787/0.2219, allocations: 1.969 MB / 0.7068 GB, free: 8.348 MB / 0.545 GB Notification: Performance of NFTyping.typeClassSections: time 0.003119/0.225, allocations: 1.197 MB / 0.7079 GB, free: 7.156 MB / 0.545 GB Notification: Performance of NFFlatten.flatten: time 0.004516/0.2296, allocations: 3.089 MB / 0.711 GB, free: 4.059 MB / 0.545 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001904/0.2315, allocations: 1.084 MB / 0.712 GB, free: 2.938 MB / 0.545 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003411/0.2349, allocations: 1.364 MB / 0.7133 GB, free: 1.57 MB / 0.545 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001799/0.2367, allocations: 0.8944 MB / 0.7142 GB, free: 0.6719 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0003829/0.2371, allocations: 120 kB / 0.7143 GB, free: 0.5547 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0033/0.2404, allocations: 1.439 MB / 0.7157 GB, free: 15.11 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.0004734/0.2409, allocations: 290.8 kB / 0.716 GB, free: 14.83 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.001355/0.2423, allocations: 0.6997 MB / 0.7167 GB, free: 14.12 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.004511/0.2468, allocations: 2.287 MB / 0.7189 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 9.188e-06/0.2468, allocations: 4 kB / 0.7189 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of FrontEnd: time 2.274e-06/0.2468, allocations: 0 / 0.7189 GB, free: 11.83 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 6.838e-05/0.2469, allocations: 3.938 kB / 0.7189 GB, free: 11.82 MB / 0.5606 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.004057/0.251, allocations: 1.726 MB / 0.7206 GB, free: 10.04 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.35e-05/0.251, allocations: 8.031 kB / 0.7206 GB, free: 10.03 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002321/0.2534, allocations: 410.8 kB / 0.721 GB, free: 9.629 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002514/0.2559, allocations: 1.16 MB / 0.7222 GB, free: 8.41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.134e-05/0.256, allocations: 58 kB / 0.7222 GB, free: 8.355 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001694/0.2562, allocations: 87.98 kB / 0.7223 GB, free: 8.27 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00223/0.2584, allocations: 0.9976 MB / 0.7233 GB, free: 7.211 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.095e-05/0.2585, allocations: 4 kB / 0.7233 GB, free: 7.207 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.006e-05/0.2586, allocations: 32 kB / 0.7233 GB, free: 7.176 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.605e-05/0.2586, allocations: 16 kB / 0.7233 GB, free: 7.16 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002291/0.2609, allocations: 0.8547 MB / 0.7242 GB, free: 6.309 MB / 0.5606 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.007164/0.268, allocations: 5.222 MB / 0.7293 GB, free: 0.7109 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003552/0.2716, allocations: 0.7914 MB / 0.73 GB, free: 15.91 MB / 0.5762 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.000733/0.2724, allocations: 298.5 kB / 0.7303 GB, free: 15.62 MB / 0.5762 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006818/0.2731, allocations: 0.9102 MB / 0.7312 GB, free: 14.51 MB / 0.5762 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.75e-05/0.2731, allocations: 38.56 kB / 0.7312 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of pre-optimization done (n=43): time 2.485e-06/0.2731, allocations: 4 kB / 0.7312 GB, free: 14.46 MB / 0.5762 GB Notification: Performance of matching and sorting (n=43): time 0.007268/0.2804, allocations: 1.692 MB / 0.7329 GB, free: 12.73 MB / 0.5762 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.726e-05/0.2805, allocations: 59.39 kB / 0.733 GB, free: 12.66 MB / 0.5762 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.002096/0.2826, allocations: 1.076 MB / 0.734 GB, free: 11.57 MB / 0.5762 GB Notification: Performance of collectPreVariables (initialization): time 0.0001129/0.2828, allocations: 41.7 kB / 0.734 GB, free: 11.53 MB / 0.5762 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005031/0.2833, allocations: 0.5234 MB / 0.7346 GB, free: 11 MB / 0.5762 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001825/0.2835, allocations: 157.8 kB / 0.7347 GB, free: 10.84 MB / 0.5762 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002773/0.2837, allocations: 134.1 kB / 0.7348 GB, free: 10.7 MB / 0.5762 GB Notification: Performance of setup shared object (initialization): time 0.0001353/0.2839, allocations: 325.9 kB / 0.7351 GB, free: 10.38 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009122/0.2848, allocations: 315.2 kB / 0.7354 GB, free: 10.07 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001098/0.2859, allocations: 0.5251 MB / 0.736 GB, free: 9.445 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001722/0.2877, allocations: 0.7135 MB / 0.7367 GB, free: 8.66 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.218e-05/0.2877, allocations: 4 kB / 0.7367 GB, free: 8.656 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization): time 0.002949/0.2906, allocations: 1.008 MB / 0.7376 GB, free: 7.637 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.214e-05/0.2907, allocations: 8 kB / 0.7376 GB, free: 7.629 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.661e-05/0.2907, allocations: 4 kB / 0.7377 GB, free: 7.625 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.00132/0.292, allocations: 311.5 kB / 0.7379 GB, free: 7.32 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005765/0.2926, allocations: 135.7 kB / 0.7381 GB, free: 7.188 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00152/0.2941, allocations: 0.8958 MB / 0.739 GB, free: 6.266 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001395/0.2956, allocations: 155.2 kB / 0.7391 GB, free: 6.113 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.701e-05/0.2957, allocations: 31.98 kB / 0.7391 GB, free: 6.082 MB / 0.5762 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.00127/0.2969, allocations: 0.5051 MB / 0.7396 GB, free: 5.574 MB / 0.5762 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.001056/0.298, allocations: 0.5329 MB / 0.7401 GB, free: 4.941 MB / 0.5762 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.001661/0.2997, allocations: 0.7062 MB / 0.7408 GB, free: 4.164 MB / 0.5762 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 4.689e-06/0.2997, allocations: 4 kB / 0.7408 GB, free: 4.16 MB / 0.5762 GB Notification: Performance of matching and sorting (n=71) (initialization_lambda0): time 0.002812/0.3025, allocations: 0.9964 MB / 0.7418 GB, free: 3.152 MB / 0.5762 GB Notification: Performance of prepare postOptimizeDAE: time 2.072e-05/0.3026, allocations: 11.98 kB / 0.7418 GB, free: 3.141 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.31e-05/0.3026, allocations: 4 kB / 0.7418 GB, free: 3.137 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001133/0.3037, allocations: 292.6 kB / 0.7421 GB, free: 2.848 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005459/0.3043, allocations: 127.9 kB / 0.7422 GB, free: 2.723 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0014/0.3057, allocations: 0.9018 MB / 0.7431 GB, free: 1.797 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001341/0.307, allocations: 135.6 kB / 0.7432 GB, free: 1.664 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.374e-05/0.3071, allocations: 31.98 kB / 0.7433 GB, free: 1.633 MB / 0.5762 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 23 * 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 (57): * Single equations (assignments): 56 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,14)} Notification: Performance of prepare postOptimizeDAE: time 0.0002603/0.3074, allocations: 220.1 kB / 0.7435 GB, free: 1.41 MB / 0.5762 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003325/0.3077, allocations: 110.6 kB / 0.7436 GB, free: 1.301 MB / 0.5762 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002471/0.3102, allocations: 0.9145 MB / 0.7445 GB, free: 376 kB / 0.5762 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.7e-05/0.3102, allocations: 11.98 kB / 0.7445 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.3103, allocations: 0 / 0.7445 GB, free: 364 kB / 0.5762 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.352e-06/0.3103, allocations: 4 kB / 0.7445 GB, free: 360 kB / 0.5762 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.349/0.6593, allocations: 2.131 MB / 0.7466 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-05/0.6593, allocations: 3.172 kB / 0.7466 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003046/0.6596, allocations: 63.61 kB / 0.7466 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001054/0.6607, allocations: 291 kB / 0.7469 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.66e-05/0.6607, allocations: 17.41 kB / 0.7469 GB, free: 109 MB / 0.5762 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001394/0.6621, allocations: 0.9272 MB / 0.7478 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.919e-06/0.6622, allocations: 2.859 kB / 0.7478 GB, free: 108.4 MB / 0.5762 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003857/0.666, allocations: 1.142 MB / 0.749 GB, free: 108.1 MB / 0.5762 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005909/0.6666, allocations: 263.7 kB / 0.7492 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001703/0.6668, allocations: 14.91 kB / 0.7492 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000848/0.6677, allocations: 67.25 kB / 0.7493 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001034/0.6678, allocations: 44.2 kB / 0.7493 GB, free: 108 MB / 0.5762 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.611e-05/0.6679, allocations: 22.66 kB / 0.7493 GB, free: 108 MB / 0.5762 GB Notification: Performance of sorting global known variables: time 0.001328/0.6692, allocations: 0.7556 MB / 0.7501 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of sort global known variables: time 1.5e-07/0.6692, allocations: 4.031 kB / 0.7501 GB, free: 107.6 MB / 0.5762 GB Notification: Performance of remove unused functions: time 0.001775/0.671, allocations: 0.5688 MB / 0.7506 GB, free: 107.6 MB / 0.5762 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 10 * 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 (33): * Single equations (assignments): 28 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 4 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,16)} Notification: Performance of Backend phase and start with SimCode phase: time 0.0008951/0.6719, allocations: 376.9 kB / 0.751 GB, free: 107.5 MB / 0.5762 GB Notification: Performance of simCode: created initialization part: time 0.003468/0.6754, allocations: 1.127 MB / 0.7521 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of simCode: created event and clocks part: time 6.663e-06/0.6754, allocations: 1.25 kB / 0.7521 GB, free: 107.2 MB / 0.5762 GB Notification: Performance of simCode: created simulation system equations: time 0.0008584/0.6763, allocations: 341.1 kB / 0.7524 GB, free: 107.1 MB / 0.5762 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002445/0.6787, allocations: 0.5073 MB / 0.7529 GB, free: 107 MB / 0.5762 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005525/0.6843, allocations: 2.056 MB / 0.7549 GB, free: 106 MB / 0.5762 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0008709/0.6852, allocations: 1.067 MB / 0.756 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003991/0.6856, allocations: 82.67 kB / 0.7561 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of SimCode: time 1.352e-06/0.6856, allocations: 0.5312 kB / 0.7561 GB, free: 105.3 MB / 0.5762 GB Notification: Performance of Templates: time 0.03301/0.7186, allocations: 24.06 MB / 0.7796 GB, free: 90.25 MB / 0.5762 GB make -j1 -f IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.makefile (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 & ./IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > IBPSA_latest_IBPSA.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)