Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Using package Buildings with version 7.0.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo) Running command: translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 7.0.3-maint.7.0.x/package.mo): time 1.358/1.358, allocations: 252 MB / 267.6 MB, free: 10.92 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001024/0.001024, allocations: 180.2 kB / 327.3 MB, free: 2.215 MB / 250.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.925/1.925, allocations: 205.4 MB / 0.5783 GB, free: 20.23 MB / 426.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008221/0.0008222, allocations: 96.53 kB / 0.6829 GB, free: 12.88 MB / 0.5105 GB Notification: Performance of FrontEnd - loaded program: time 0.0003317/0.0003318, allocations: 8.594 kB / 0.797 GB, free: 135.1 MB / 0.6042 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2441/0.2444, allocations: 106.3 MB / 0.9008 GB, free: 63.93 MB / 0.6042 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04259/0.2871, allocations: 56.52 MB / 0.956 GB, free: 7.246 MB / 0.6042 GB Notification: Performance of NFInst.instExpressions: time 0.01496/0.3021, allocations: 11.09 MB / 0.9668 GB, free: 12.14 MB / 0.6198 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002829/0.305, allocations: 51.62 kB / 0.9669 GB, free: 12.09 MB / 0.6198 GB Notification: Performance of NFTyping.typeComponents: time 0.002098/0.3071, allocations: 468.8 kB / 0.9673 GB, free: 11.62 MB / 0.6198 GB Notification: Performance of NFTyping.typeBindings: time 0.006048/0.3132, allocations: 1.512 MB / 0.9688 GB, free: 10.11 MB / 0.6198 GB Notification: Performance of NFTyping.typeClassSections: time 0.003405/0.3166, allocations: 0.8764 MB / 0.9697 GB, free: 9.238 MB / 0.6198 GB Notification: Performance of NFFlatten.flatten: time 0.006377/0.323, allocations: 3.38 MB / 0.973 GB, free: 5.844 MB / 0.6198 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002246/0.3253, allocations: 0.7821 MB / 0.9737 GB, free: 5.035 MB / 0.6198 GB Notification: Performance of NFEvalConstants.evaluate: time 0.003584/0.3289, allocations: 1.034 MB / 0.9747 GB, free: 3.996 MB / 0.6198 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001784/0.3307, allocations: 0.8127 MB / 0.9755 GB, free: 3.18 MB / 0.6198 GB Notification: Performance of NFPackage.collectConstants: time 0.0001468/0.3309, allocations: 44 kB / 0.9756 GB, free: 3.137 MB / 0.6198 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003036/0.3339, allocations: 1.091 MB / 0.9766 GB, free: 2.043 MB / 0.6198 GB Notification: Performance of NFScalarize.scalarize: time 0.0002524/0.3342, allocations: 203 kB / 0.9768 GB, free: 1.844 MB / 0.6198 GB Notification: Performance of NFVerifyModel.verify: time 0.0005007/0.3347, allocations: 289 kB / 0.9771 GB, free: 1.555 MB / 0.6198 GB Notification: Performance of NFConvertDAE.convert: time 0.002332/0.337, allocations: 1.629 MB / 0.9787 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of FrontEnd - DAE generated: time 7.694e-06/0.337, allocations: 0 / 0.9787 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of FrontEnd: time 2.615e-06/0.3371, allocations: 0 / 0.9787 GB, free: 15.92 MB / 0.6355 GB Notification: Performance of Transformations before backend: time 1.873e-05/0.3371, allocations: 0 / 0.9787 GB, free: 15.92 MB / 0.6355 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.003026/0.3401, allocations: 1.509 MB / 0.9802 GB, free: 14.36 MB / 0.6355 GB Notification: Performance of prepare preOptimizeDAE: time 4.281e-05/0.3402, allocations: 8.031 kB / 0.9802 GB, free: 14.35 MB / 0.6355 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002227/0.3424, allocations: 481.9 kB / 0.9806 GB, free: 13.88 MB / 0.6355 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.3448, allocations: 1.086 MB / 0.9817 GB, free: 12.73 MB / 0.6355 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003597/0.3451, allocations: 121.9 kB / 0.9818 GB, free: 12.61 MB / 0.6355 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001224/0.3453, allocations: 84 kB / 0.9819 GB, free: 12.53 MB / 0.6355 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002124/0.3474, allocations: 0.9995 MB / 0.9829 GB, free: 11.49 MB / 0.6355 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.698e-05/0.3475, allocations: 11.94 kB / 0.9829 GB, free: 11.48 MB / 0.6355 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.015e-05/0.3475, allocations: 32 kB / 0.9829 GB, free: 11.45 MB / 0.6355 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.64e-05/0.3476, allocations: 16 kB / 0.9829 GB, free: 11.43 MB / 0.6355 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002309/0.3499, allocations: 0.9211 MB / 0.9838 GB, free: 10.51 MB / 0.6355 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.006958/0.3569, allocations: 4.635 MB / 0.9884 GB, free: 5.559 MB / 0.6355 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003626/0.3605, allocations: 0.9403 MB / 0.9893 GB, free: 4.613 MB / 0.6355 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0007838/0.3613, allocations: 338 kB / 0.9896 GB, free: 4.277 MB / 0.6355 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0008692/0.3622, allocations: 0.9106 MB / 0.9905 GB, free: 3.164 MB / 0.6355 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.156e-05/0.3622, allocations: 39 kB / 0.9905 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of pre-optimization done (n=47): time 3.706e-06/0.3623, allocations: 0 / 0.9905 GB, free: 3.117 MB / 0.6355 GB Notification: Performance of matching and sorting (n=47): time 0.00752/0.3698, allocations: 1.99 MB / 0.9925 GB, free: 1.098 MB / 0.6355 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.3699, allocations: 55.84 kB / 0.9925 GB, free: 1.031 MB / 0.6355 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001669/0.3716, allocations: 1.052 MB / 0.9936 GB, free: 15.96 MB / 0.6511 GB Notification: Performance of collectPreVariables (initialization): time 7.804e-05/0.3716, allocations: 37.7 kB / 0.9936 GB, free: 15.92 MB / 0.6511 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004366/0.3721, allocations: 0.5275 MB / 0.9941 GB, free: 15.39 MB / 0.6511 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001641/0.3723, allocations: 165.7 kB / 0.9943 GB, free: 15.23 MB / 0.6511 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.213e-05/0.3723, allocations: 8 kB / 0.9943 GB, free: 15.22 MB / 0.6511 GB Notification: Performance of setup shared object (initialization): time 0.000135/0.3724, allocations: 330 kB / 0.9946 GB, free: 14.89 MB / 0.6511 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000904/0.3734, allocations: 332.9 kB / 0.9949 GB, free: 14.57 MB / 0.6511 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001088/0.3745, allocations: 0.5235 MB / 0.9954 GB, free: 13.96 MB / 0.6511 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009758/0.3754, allocations: 360.6 kB / 0.9958 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.712e-06/0.3755, allocations: 4 kB / 0.9958 GB, free: 13.61 MB / 0.6511 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.00374/0.3792, allocations: 1.233 MB / 0.997 GB, free: 12.36 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001546/0.3794, allocations: 197.1 kB / 0.9972 GB, free: 12.12 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.134e-05/0.3794, allocations: 4 kB / 0.9972 GB, free: 12.11 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001251/0.3807, allocations: 330.7 kB / 0.9975 GB, free: 11.79 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000592/0.3813, allocations: 139.7 kB / 0.9976 GB, free: 11.65 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001564/0.3828, allocations: 0.9425 MB / 0.9985 GB, free: 10.68 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001504/0.3844, allocations: 195.2 kB / 0.9987 GB, free: 10.49 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.453e-05/0.3845, allocations: 27.98 kB / 0.9987 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of prepare postOptimizeDAE: time 1.11e-05/0.3845, allocations: 4 kB / 0.9987 GB, free: 10.46 MB / 0.6511 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.00328/0.3878, allocations: 1.092 MB / 0.9998 GB, free: 9.363 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.367e-05/0.3878, allocations: 4 kB / 0.9998 GB, free: 9.359 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001129/0.3889, allocations: 321 kB / 1 GB, free: 9.043 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005708/0.3895, allocations: 131.8 kB / 1 GB, free: 8.914 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001454/0.391, allocations: 0.936 MB / 1.001 GB, free: 7.953 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001382/0.3924, allocations: 171.3 kB / 1.001 GB, free: 7.785 MB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.179e-05/0.3925, allocations: 27.98 kB / 1.001 GB, free: 7.758 MB / 0.6511 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 17 * 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 (55): * Single equations (assignments): 54 * 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 14} Notification: Performance of prepare postOptimizeDAE: time 0.0006436/0.3931, allocations: 357 kB / 1.002 GB, free: 7.398 MB / 0.6511 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001902/0.3933, allocations: 114.5 kB / 1.002 GB, free: 7.285 MB / 0.6511 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002533/0.3958, allocations: 1.038 MB / 1.003 GB, free: 6.23 MB / 0.6511 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.367e-05/0.3959, allocations: 8 kB / 1.003 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.021e-06/0.3959, allocations: 0 / 1.003 GB, free: 6.223 MB / 0.6511 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.595e-06/0.3959, allocations: 3.984 kB / 1.003 GB, free: 6.219 MB / 0.6511 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006513/0.4024, allocations: 2.481 MB / 1.005 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.239e-05/0.4025, allocations: 0 / 1.005 GB, free: 3.656 MB / 0.6511 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003494/0.4028, allocations: 75.89 kB / 1.005 GB, free: 3.582 MB / 0.6511 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001177/0.404, allocations: 324.9 kB / 1.006 GB, free: 3.262 MB / 0.6511 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.556e-05/0.4041, allocations: 11.98 kB / 1.006 GB, free: 3.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001685/0.4058, allocations: 0.9761 MB / 1.007 GB, free: 2.25 MB / 0.6511 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.322e-06/0.4058, allocations: 4 kB / 1.007 GB, free: 2.246 MB / 0.6511 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004052/0.4099, allocations: 1.29 MB / 1.008 GB, free: 0.9062 MB / 0.6511 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0009226/0.4108, allocations: 283.4 kB / 1.008 GB, free: 0.6094 MB / 0.6511 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001377/0.4109, allocations: 19.98 kB / 1.008 GB, free: 0.5898 MB / 0.6511 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0009868/0.4119, allocations: 119.7 kB / 1.008 GB, free: 484 kB / 0.6511 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001179/0.4121, allocations: 35.89 kB / 1.008 GB, free: 448 kB / 0.6511 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.127e-05/0.4121, allocations: 23.98 kB / 1.008 GB, free: 424 kB / 0.6511 GB Notification: Performance of sorting global known variables: time 0.001465/0.4136, allocations: 0.7352 MB / 1.009 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of sort global known variables: time 2.11e-07/0.4136, allocations: 0 / 1.009 GB, free: 15.67 MB / 0.6667 GB Notification: Performance of remove unused functions: time 0.001938/0.4156, allocations: 0.5536 MB / 1.01 GB, free: 15.12 MB / 0.6667 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 (37): * Single equations (assignments): 32 * 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 16} Notification: Performance of Backend phase and start with SimCode phase: time 0.0009436/0.4165, allocations: 371.5 kB / 1.01 GB, free: 14.75 MB / 0.6667 GB Notification: Performance of simCode: created initialization part: time 0.003484/0.42, allocations: 1.206 MB / 1.011 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of simCode: created event and clocks part: time 5.079e-06/0.42, allocations: 256 / 1.011 GB, free: 13.55 MB / 0.6667 GB Notification: Performance of simCode: created simulation system equations: time 0.0009658/0.421, allocations: 390.7 kB / 1.011 GB, free: 13.16 MB / 0.6667 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002826/0.4239, allocations: 0.526 MB / 1.012 GB, free: 12.64 MB / 0.6667 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006239/0.4301, allocations: 2.549 MB / 1.014 GB, free: 10.03 MB / 0.6667 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000735/0.4309, allocations: 1.054 MB / 1.016 GB, free: 8.945 MB / 0.6667 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003373/0.4312, allocations: 95.34 kB / 1.016 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of SimCode: time 1.092e-06/0.4312, allocations: 0 / 1.016 GB, free: 8.852 MB / 0.6667 GB Notification: Performance of Templates: time 0.03792/0.4692, allocations: 23.9 MB / 1.039 GB, free: 1.082 MB / 0.6823 GB make -j1 -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile (rm -f Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_maint.7.0.x_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1)