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.001012/0.001012, allocations: 91.84 kB / 15.36 MB, free: 0.7383 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.009488/0.009488, allocations: 170.1 kB / 16.26 MB, free: 6.676 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.545/1.545, allocations: 205.4 MB / 222.4 MB, free: 5.562 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.81/1.81, allocations: 292.7 MB / 0.5502 GB, free: 14.49 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.001043/0.001043, allocations: 23.34 kB / 0.6743 GB, free: 25.87 MB / 0.5294 GB Notification: Performance of FrontEnd - Absyn->SCode: time 0.284/0.285, allocations: 116.3 MB / 0.7879 GB, free: 11.63 MB / 0.6075 GB Notification: Performance of NFInst.instantiate(Buildings.Fluid.Chillers.Examples.Carnot_TEva): time 0.06108/0.3462, allocations: 59.76 MB / 0.8462 GB, free: 15.66 MB / 0.67 GB Notification: Performance of NFInst.instExpressions: time 0.02003/0.3663, allocations: 11.83 MB / 0.8578 GB, free: 3.797 MB / 0.67 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.003448/0.3698, allocations: 51.62 kB / 0.8578 GB, free: 3.746 MB / 0.67 GB Notification: Performance of NFTyping.typeComponents: time 0.002379/0.3722, allocations: 0.5516 MB / 0.8584 GB, free: 3.191 MB / 0.67 GB Notification: Performance of NFTyping.typeBindings: time 0.006164/0.3784, allocations: 1.792 MB / 0.8601 GB, free: 1.395 MB / 0.67 GB Notification: Performance of NFTyping.typeClassSections: time 0.003884/0.3823, allocations: 1.091 MB / 0.8612 GB, free: 320 kB / 0.67 GB Notification: Performance of NFFlatten.flatten: time 0.005432/0.3877, allocations: 3.886 MB / 0.865 GB, free: 12.41 MB / 0.6856 GB Notification: Performance of NFFlatten.resolveConnections: time 0.001773/0.3895, allocations: 0.8941 MB / 0.8658 GB, free: 11.49 MB / 0.6856 GB Notification: Performance of NFEvalConstants.evaluate: time 0.002832/0.3924, allocations: 1.131 MB / 0.867 GB, free: 10.35 MB / 0.6856 GB Notification: Performance of NFSimplifyModel.simplify: time 0.001992/0.3944, allocations: 0.8593 MB / 0.8678 GB, free: 9.488 MB / 0.6856 GB Notification: Performance of NFPackage.collectConstants: time 0.0001823/0.3946, allocations: 44 kB / 0.8678 GB, free: 9.445 MB / 0.6856 GB Notification: Performance of NFFlatten.collectFunctions: time 0.003034/0.3976, allocations: 1.337 MB / 0.8691 GB, free: 8.105 MB / 0.6856 GB Notification: Performance of NFScalarize.scalarize: time 0.0002981/0.3979, allocations: 210.9 kB / 0.8693 GB, free: 7.898 MB / 0.6856 GB Notification: Performance of NFVerifyModel.verify: time 0.000933/0.3989, allocations: 0.635 MB / 0.87 GB, free: 7.254 MB / 0.6856 GB Notification: Performance of NFConvertDAE.convert: time 0.003609/0.4025, allocations: 2.204 MB / 0.8721 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of FrontEnd - DAE generated: time 4.88e-06/0.4025, allocations: 0 / 0.8721 GB, free: 5.043 MB / 0.6856 GB Notification: Performance of FrontEnd: time 1.803e-06/0.4025, allocations: 4 kB / 0.8721 GB, free: 5.039 MB / 0.6856 GB Notification: Performance of Transformations before backend: time 2.187e-05/0.4026, allocations: 0 / 0.8721 GB, free: 5.039 MB / 0.6856 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.002897/0.4055, allocations: 1.501 MB / 0.8736 GB, free: 3.48 MB / 0.6856 GB Notification: Performance of prepare preOptimizeDAE: time 4.344e-05/0.4055, allocations: 12.03 kB / 0.8736 GB, free: 3.469 MB / 0.6856 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002307/0.4078, allocations: 474.8 kB / 0.874 GB, free: 3.004 MB / 0.6856 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002348/0.4102, allocations: 1.132 MB / 0.8752 GB, free: 1.812 MB / 0.6856 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0003785/0.4106, allocations: 129.9 kB / 0.8753 GB, free: 1.688 MB / 0.6856 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001328/0.4107, allocations: 76 kB / 0.8753 GB, free: 1.613 MB / 0.6856 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002223/0.413, allocations: 1.007 MB / 0.8763 GB, free: 0.5664 MB / 0.6856 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.224e-05/0.413, allocations: 4 kB / 0.8763 GB, free: 0.5625 MB / 0.6856 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.338e-05/0.4131, allocations: 35.94 kB / 0.8764 GB, free: 0.5273 MB / 0.6856 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.936e-05/0.4131, allocations: 20 kB / 0.8764 GB, free: 0.5078 MB / 0.6856 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002608/0.4157, allocations: 0.9289 MB / 0.8773 GB, free: 15.58 MB / 0.7012 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.006789/0.4225, allocations: 4.618 MB / 0.8818 GB, free: 10.65 MB / 0.7012 GB Notification: Performance of preOpt comSubExp (simulation): time 0.003704/0.4263, allocations: 0.9383 MB / 0.8827 GB, free: 9.707 MB / 0.7012 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0008059/0.4271, allocations: 344.8 kB / 0.8831 GB, free: 9.367 MB / 0.7012 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0006825/0.4278, allocations: 0.9067 MB / 0.8839 GB, free: 8.258 MB / 0.7012 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.235e-05/0.4278, allocations: 42.98 kB / 0.884 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of pre-optimization done (n=47): time 2.575e-06/0.4278, allocations: 0 / 0.884 GB, free: 8.207 MB / 0.7012 GB Notification: Performance of matching and sorting (n=47): time 0.007806/0.4357, allocations: 2.002 MB / 0.8859 GB, free: 6.176 MB / 0.7012 GB Notification: Performance of inlineWhenForInitialization (initialization): time 3.611e-05/0.4357, allocations: 55.84 kB / 0.886 GB, free: 6.109 MB / 0.7012 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001516/0.4372, allocations: 1.063 MB / 0.887 GB, free: 5.031 MB / 0.7012 GB Notification: Performance of collectPreVariables (initialization): time 7.905e-05/0.4373, allocations: 37.7 kB / 0.8871 GB, free: 4.988 MB / 0.7012 GB Notification: Performance of collectInitialEqns (initialization): time 0.0004221/0.4378, allocations: 0.5235 MB / 0.8876 GB, free: 4.461 MB / 0.7012 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001404/0.4379, allocations: 157.7 kB / 0.8877 GB, free: 4.305 MB / 0.7012 GB Notification: Performance of simplifyInitialFunctions (initialization): time 8.203e-05/0.438, allocations: 53.69 kB / 0.8878 GB, free: 4.246 MB / 0.7012 GB Notification: Performance of setup shared object (initialization): time 0.000108/0.4381, allocations: 333.9 kB / 0.8881 GB, free: 3.914 MB / 0.7012 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0009481/0.4391, allocations: 336.9 kB / 0.8884 GB, free: 3.582 MB / 0.7012 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001126/0.4402, allocations: 0.5313 MB / 0.8889 GB, free: 2.969 MB / 0.7012 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001732/0.4419, allocations: 0.741 MB / 0.8897 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.549e-06/0.442, allocations: 0 / 0.8897 GB, free: 2.176 MB / 0.7012 GB Notification: Performance of matching and sorting (n=69) (initialization): time 0.003002/0.445, allocations: 1.069 MB / 0.8907 GB, free: 1.098 MB / 0.7012 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001326/0.4451, allocations: 201.2 kB / 0.8909 GB, free: 0.8477 MB / 0.7012 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.015e-06/0.4451, allocations: 4 kB / 0.8909 GB, free: 0.8438 MB / 0.7012 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001356/0.4465, allocations: 332.5 kB / 0.8912 GB, free: 0.5156 MB / 0.7012 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005844/0.4471, allocations: 139.7 kB / 0.8913 GB, free: 388 kB / 0.7012 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.00163/0.4487, allocations: 0.9425 MB / 0.8923 GB, free: 15.41 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001542/0.4503, allocations: 191.2 kB / 0.8924 GB, free: 15.22 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.862e-05/0.4504, allocations: 27.98 kB / 0.8925 GB, free: 15.2 MB / 0.7169 GB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.4504, allocations: 4 kB / 0.8925 GB, free: 15.19 MB / 0.7169 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.0027/0.4531, allocations: 0.94 MB / 0.8934 GB, free: 14.25 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.164e-05/0.4531, allocations: 4.375 kB / 0.8934 GB, free: 14.24 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.001213/0.4544, allocations: 330.9 kB / 0.8937 GB, free: 13.92 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005628/0.4549, allocations: 139.8 kB / 0.8939 GB, free: 13.78 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001552/0.4565, allocations: 0.9309 MB / 0.8948 GB, free: 12.82 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001414/0.4579, allocations: 175.2 kB / 0.8949 GB, free: 12.65 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.123e-05/0.458, allocations: 35.97 kB / 0.895 GB, free: 12.62 MB / 0.7169 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 (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.0007882/0.4588, allocations: 356.2 kB / 0.8953 GB, free: 12.26 MB / 0.7169 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000246/0.459, allocations: 114.5 kB / 0.8954 GB, free: 12.15 MB / 0.7169 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002746/0.4618, allocations: 1.042 MB / 0.8964 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.384e-05/0.4618, allocations: 7.984 kB / 0.8964 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.011e-06/0.4618, allocations: 0 / 0.8964 GB, free: 11.09 MB / 0.7169 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.242e-06/0.4619, allocations: 3.938 kB / 0.8964 GB, free: 11.08 MB / 0.7169 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.006436/0.4683, allocations: 2.477 MB / 0.8989 GB, free: 8.52 MB / 0.7169 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.703e-05/0.4683, allocations: 4 kB / 0.8989 GB, free: 8.516 MB / 0.7169 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003444/0.4687, allocations: 79.88 kB / 0.8989 GB, free: 8.438 MB / 0.7169 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.001095/0.4698, allocations: 324.6 kB / 0.8992 GB, free: 8.117 MB / 0.7169 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.718e-05/0.4699, allocations: 23.92 kB / 0.8993 GB, free: 8.094 MB / 0.7169 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001623/0.4715, allocations: 0.966 MB / 0.9002 GB, free: 7.102 MB / 0.7169 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4715, allocations: 4 kB / 0.9002 GB, free: 7.098 MB / 0.7169 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.004124/0.4756, allocations: 1.305 MB / 0.9015 GB, free: 5.742 MB / 0.7169 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0006121/0.4763, allocations: 287.4 kB / 0.9018 GB, free: 5.441 MB / 0.7169 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001295/0.4764, allocations: 12 kB / 0.9018 GB, free: 5.43 MB / 0.7169 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000914/0.4773, allocations: 107.9 kB / 0.9019 GB, free: 5.324 MB / 0.7169 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.413e-05/0.4774, allocations: 39.95 kB / 0.9019 GB, free: 5.285 MB / 0.7169 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.728e-05/0.4775, allocations: 27.92 kB / 0.9019 GB, free: 5.258 MB / 0.7169 GB Notification: Performance of sorting global known variables: time 0.001217/0.4787, allocations: 0.7469 MB / 0.9027 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of sort global known variables: time 1.9e-07/0.4787, allocations: 0 / 0.9027 GB, free: 4.504 MB / 0.7169 GB Notification: Performance of remove unused functions: time 0.001606/0.4803, allocations: 0.5652 MB / 0.9032 GB, free: 3.938 MB / 0.7169 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 (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.0008257/0.4812, allocations: 368.2 kB / 0.9036 GB, free: 3.574 MB / 0.7169 GB Notification: Performance of simCode: created initialization part: time 0.003446/0.4846, allocations: 1.217 MB / 0.9048 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created event and clocks part: time 6.843e-06/0.4847, allocations: 0 / 0.9048 GB, free: 2.359 MB / 0.7169 GB Notification: Performance of simCode: created simulation system equations: time 0.001008/0.4857, allocations: 403.3 kB / 0.9052 GB, free: 1.969 MB / 0.7169 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.003178/0.4889, allocations: 0.5322 MB / 0.9057 GB, free: 1.445 MB / 0.7169 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006393/0.4953, allocations: 2.553 MB / 0.9082 GB, free: 14.83 MB / 0.7325 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0007013/0.496, allocations: 1.07 MB / 0.9092 GB, free: 13.73 MB / 0.7325 GB Notification: Performance of simCode: alias equations: time 0.001226/0.4972, allocations: 236.8 kB / 0.9094 GB, free: 13.5 MB / 0.7325 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002166/0.4975, allocations: 79.41 kB / 0.9095 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of SimCode: time 1.052e-06/0.4975, allocations: 0 / 0.9095 GB, free: 13.42 MB / 0.7325 GB Notification: Performance of Templates: time 0.4921/0.9896, allocations: 24.43 MB / 0.9334 GB, free: 128.8 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: