Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Buildings_8_Buildings.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo", uses=false) Using package Buildings with version 8.1.4 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/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 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(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva") translateModel(Buildings.Fluid.Chillers.Examples.Carnot_TEva,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="Buildings_8_Buildings.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.001062/0.001062, allocations: 99.62 kB / 15.05 MB, free: 1.105 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.0009431/0.0009431, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.434/1.434, allocations: 205.4 MB / 222.1 MB, free: 5.656 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Buildings 8.1.4-maint.8.1.x/package.mo): time 1.735/1.735, allocations: 292.5 MB / 0.5497 GB, free: 14.61 MB / 462.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005436/0.0005439, allocations: 11.69 kB / 0.6735 GB, free: 26.1 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.257/0.2575, allocations: 116.3 MB / 0.7871 GB, free: 11.99 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.04979/0.3074, allocations: 51.31 MB / 0.8372 GB, free: 8.543 MB / 0.6544 GB Notification: Performance of NFInst.instExpressions: time 0.01462/0.322, allocations: 10.22 MB / 0.8472 GB, free: 14.3 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002047/0.3241, allocations: 55.56 kB / 0.8473 GB, free: 14.25 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002359/0.3265, allocations: 0.618 MB / 0.8479 GB, free: 13.63 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.007277/0.3338, allocations: 1.904 MB / 0.8497 GB, free: 11.72 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.004032/0.3379, allocations: 1.327 MB / 0.851 GB, free: 10.42 MB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.003943/0.3418, allocations: 1.851 MB / 0.8528 GB, free: 8.562 MB / 0.67 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001469/0.3433, allocations: 0.7899 MB / 0.8536 GB, free: 7.746 MB / 0.67 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002575/0.3459, allocations: 1 MB / 0.8546 GB, free: 6.742 MB / 0.67 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001277/0.3472, allocations: 0.6027 MB / 0.8552 GB, free: 6.137 MB / 0.67 GB Notification: Performance of NFPackage.collectConstants: time 0.0001488/0.3473, allocations: 44 kB / 0.8552 GB, free: 6.094 MB / 0.67 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002733/0.3501, allocations: 0.9985 MB / 0.8562 GB, free: 5.094 MB / 0.67 GB Notification: Performance of NFScalarize.scalarize: time 0.0002409/0.3503, allocations: 191.1 kB / 0.8564 GB, free: 4.906 MB / 0.67 GB Notification: Performance of NFVerifyModel.verify: time 0.0004443/0.3508, allocations: 285.1 kB / 0.8566 GB, free: 4.621 MB / 0.67 GB Notification: Performance of NFConvertDAE.convert: time 0.00223/0.353, allocations: 1.594 MB / 0.8582 GB, free: 3.023 MB / 0.67 GB Notification: Performance of FrontEnd - DAE generated: time 3.126e-06/0.353, allocations: 4 kB / 0.8582 GB, free: 3.02 MB / 0.67 GB Notification: Performance of FrontEnd: time 2.976e-06/0.353, allocations: 0 / 0.8582 GB, free: 3.02 MB / 0.67 GB Notification: Performance of Transformations before backend: time 2.149e-05/0.3531, allocations: 0 / 0.8582 GB, free: 3.02 MB / 0.67 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.00288/0.356, allocations: 1.485 MB / 0.8596 GB, free: 1.477 MB / 0.67 GB Notification: Performance of prepare preOptimizeDAE: time 4.236e-05/0.356, allocations: 8.031 kB / 0.8596 GB, free: 1.469 MB / 0.67 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002142/0.3582, allocations: 481.9 kB / 0.8601 GB, free: 0.9961 MB / 0.67 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002035/0.3602, allocations: 1.063 MB / 0.8611 GB, free: 15.87 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003551/0.3606, allocations: 125.9 kB / 0.8613 GB, free: 15.75 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001262/0.3607, allocations: 84 kB / 0.8613 GB, free: 15.67 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002169/0.3629, allocations: 0.9955 MB / 0.8623 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.169e-05/0.3629, allocations: 0 / 0.8623 GB, free: 14.63 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.558e-05/0.363, allocations: 35.98 kB / 0.8623 GB, free: 14.6 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.141e-05/0.3631, allocations: 20 kB / 0.8624 GB, free: 14.58 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002408/0.3655, allocations: 0.9212 MB / 0.8633 GB, free: 13.66 MB / 0.6856 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.006584/0.3721, allocations: 4.634 MB / 0.8678 GB, free: 8.719 MB / 0.6856 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003539/0.3756, allocations: 0.9462 MB / 0.8687 GB, free: 7.766 MB / 0.6856 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0005962/0.3762, allocations: 0.899 MB / 0.8696 GB, free: 6.664 MB / 0.6856 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.98e-05/0.3763, allocations: 35 kB / 0.8696 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of pre-optimization done (n=47): time 2.425e-06/0.3763, allocations: 0 / 0.8696 GB, free: 6.621 MB / 0.6856 GB Notification: Performance of matching and sorting (n=47): time 0.007791/0.3841, allocations: 1.995 MB / 0.8716 GB, free: 4.594 MB / 0.6856 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.982e-05/0.3842, allocations: 55.84 kB / 0.8716 GB, free: 4.527 MB / 0.6856 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001544/0.3857, allocations: 1.067 MB / 0.8727 GB, free: 3.445 MB / 0.6856 GB Notification: Performance of collectPreVariables (initialization): time 7.834e-05/0.3858, allocations: 41.7 kB / 0.8727 GB, free: 3.398 MB / 0.6856 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004238/0.3863, allocations: 0.5197 MB / 0.8732 GB, free: 2.875 MB / 0.6856 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001552/0.3864, allocations: 165.6 kB / 0.8734 GB, free: 2.711 MB / 0.6856 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.69e-05/0.3865, allocations: 16 kB / 0.8734 GB, free: 2.695 MB / 0.6856 GB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3866, allocations: 326 kB / 0.8737 GB, free: 2.371 MB / 0.6856 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0008884/0.3875, allocations: 336.8 kB / 0.874 GB, free: 2.043 MB / 0.6856 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001025/0.3885, allocations: 0.5274 MB / 0.8745 GB, free: 1.434 MB / 0.6856 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0009155/0.3894, allocations: 364.5 kB / 0.8749 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.647e-06/0.3895, allocations: 0 / 0.8749 GB, free: 1.078 MB / 0.6856 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003846/0.3933, allocations: 1.233 MB / 0.8761 GB, free: 15.83 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0007213/0.394, allocations: 1.494 MB / 0.8775 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.501e-05/0.3941, allocations: 4 kB / 0.8776 GB, free: 14.23 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001351/0.3954, allocations: 332.5 kB / 0.8779 GB, free: 13.9 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006202/0.3961, allocations: 139.8 kB / 0.878 GB, free: 13.76 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001714/0.3978, allocations: 0.9301 MB / 0.8789 GB, free: 12.81 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001682/0.3995, allocations: 207.1 kB / 0.8791 GB, free: 12.61 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001049/0.3996, allocations: 27.98 kB / 0.8791 GB, free: 12.58 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 1.561e-05/0.3996, allocations: 4 kB / 0.8791 GB, free: 12.57 MB / 0.7012 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.003518/0.4032, allocations: 1.088 MB / 0.8802 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.606e-06/0.4032, allocations: 4 kB / 0.8802 GB, free: 11.48 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001097/0.4043, allocations: 325 kB / 0.8805 GB, free: 11.16 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005509/0.4048, allocations: 135.8 kB / 0.8806 GB, free: 11.02 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001626/0.4065, allocations: 0.9386 MB / 0.8816 GB, free: 10.06 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001277/0.4078, allocations: 171.3 kB / 0.8817 GB, free: 9.891 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.739e-05/0.4078, allocations: 27.98 kB / 0.8818 GB, free: 9.863 MB / 0.7012 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.0005759/0.4084, allocations: 349 kB / 0.8821 GB, free: 9.512 MB / 0.7012 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001927/0.4086, allocations: 114.6 kB / 0.8822 GB, free: 9.398 MB / 0.7012 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00261/0.4112, allocations: 1.042 MB / 0.8832 GB, free: 8.348 MB / 0.7012 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.753e-05/0.4113, allocations: 4 kB / 0.8832 GB, free: 8.344 MB / 0.7012 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.181e-06/0.4113, allocations: 4 kB / 0.8832 GB, free: 8.34 MB / 0.7012 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.227e-06/0.4113, allocations: 7.938 kB / 0.8832 GB, free: 8.332 MB / 0.7012 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00677/0.4181, allocations: 2.477 MB / 0.8856 GB, free: 5.77 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.595e-05/0.4181, allocations: 15.97 kB / 0.8857 GB, free: 5.754 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003307/0.4185, allocations: 75.89 kB / 0.8857 GB, free: 5.68 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.00115/0.4196, allocations: 316.5 kB / 0.886 GB, free: 5.367 MB / 0.7012 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.28e-05/0.4197, allocations: 23.98 kB / 0.8861 GB, free: 5.344 MB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00153/0.4212, allocations: 0.9611 MB / 0.887 GB, free: 4.359 MB / 0.7012 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.07e-06/0.4213, allocations: 4.031 kB / 0.887 GB, free: 4.355 MB / 0.7012 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.003913/0.4252, allocations: 1.412 MB / 0.8884 GB, free: 2.852 MB / 0.7012 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006816/0.4259, allocations: 295.4 kB / 0.8887 GB, free: 2.543 MB / 0.7012 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001364/0.426, allocations: 15.98 kB / 0.8887 GB, free: 2.527 MB / 0.7012 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008853/0.4269, allocations: 111.8 kB / 0.8888 GB, free: 2.418 MB / 0.7012 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001063/0.427, allocations: 43.89 kB / 0.8888 GB, free: 2.375 MB / 0.7012 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-05/0.4271, allocations: 27.94 kB / 0.8889 GB, free: 2.348 MB / 0.7012 GB Notification: Performance of sorting global known variables: time 0.001206/0.4283, allocations: 0.7469 MB / 0.8896 GB, free: 1.594 MB / 0.7012 GB Notification: Performance of sort global known variables: time 2e-07/0.4283, allocations: 4 kB / 0.8896 GB, free: 1.59 MB / 0.7012 GB Notification: Performance of remove unused functions: time 0.001634/0.43, allocations: 0.5692 MB / 0.8901 GB, free: 1.02 MB / 0.7012 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.0007898/0.4308, allocations: 371.5 kB / 0.8905 GB, free: 0.6523 MB / 0.7012 GB Notification: Performance of simCode: created initialization part: time 0.003333/0.4341, allocations: 1.217 MB / 0.8917 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 4.548e-06/0.4341, allocations: 0 / 0.8917 GB, free: 15.43 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.0009812/0.4351, allocations: 395.3 kB / 0.8921 GB, free: 15.05 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002581/0.4377, allocations: 0.5045 MB / 0.8926 GB, free: 14.55 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005989/0.4437, allocations: 2.508 MB / 0.895 GB, free: 11.98 MB / 0.7169 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006404/0.4444, allocations: 1.089 MB / 0.8961 GB, free: 10.86 MB / 0.7169 GB Notification: Performance of simCode: alias equations: time 0.001068/0.4454, allocations: 240.8 kB / 0.8963 GB, free: 10.62 MB / 0.7169 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002358/0.4457, allocations: 75.42 kB / 0.8964 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of SimCode: time 1.353e-06/0.4457, allocations: 0 / 0.8964 GB, free: 10.55 MB / 0.7169 GB Notification: Performance of Templates: time 0.04121/0.4869, allocations: 23.81 MB / 0.9196 GB, free: 3.035 MB / 0.7325 GB make -j1 -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.makefile Environment - environmentSimulation: (rm -f Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; mkfifo Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe ; head -c 1048576 < Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe >> ../files/Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.sim & ./Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva -abortSlowSimulation -alarm=480 -lv LOG_STATS > Buildings_8_Buildings.Fluid.Chillers.Examples.Carnot_TEva.pipe 2>&1) Environment - environmentSimulation: